Allows management of Third Party Application Permissions. API Reference

Allows the management of application permission that are used for 3rd party API access.

API Endpoint
https://app.memberzone.org
Request Content-Types: application/json
Response Content-Types: application/json
Schemes: https
Version: v1.0

Paths

Returns a list of all applications.

GET /api/applications

Returns a list of all applications.

The list of applications.

401 Unauthorized

The user is not authorized to access this operation.

Response Example (200 OK)
[
  {
    "ApplicationId": "integer",
    "Name": "string",
    "VendorName": "string",
    "SupportedAuthentication": "string",
    "IsApiKeySupported": "boolean",
    "IsOAuthSupported": "boolean",
    "Description": "string",
    "Actions": "string"
  }
]

Save an Application.

POST /api/applications

Saves a new Application with the model information provided.

The application to save.

Request Example
{
  "ApplicationId": "integer",
  "Name": "string",
  "VendorId": "string",
  "VendorName": "string",
  "Description": "string",
  "WebsiteUrl": "string",
  "IsApiKeySupported": "boolean",
  "DisableIPAddressWhitelistChecking": "boolean",
  "IsGlobalApiKeySupported": "boolean",
  "GlobalApiKey": "string",
  "GlobalApiKeyIPAddressWhitelist": "string",
  "IsOAuthSupported": "boolean",
  "DisableOAuthRedirectUrlChecking": "boolean",
  "DisableOAuthConsent": "boolean",
  "IsGlobalOAuthSupported": "boolean",
  "GlobalOAuthClientId": "string",
  "GlobalOAuthClientSecret": "string",
  "GlobalOAuthRedirectUrls": "string",
  "ApiKeyInfoJson": "string",
  "GlobalPermissionApiKeyInfoJson": "string",
  "OAuthClientInfoJson": "string",
  "GlobalPermissionOAuthClientInfoJson": "string"
}

The application model that was saved.

Response Example (200 OK)
{
  "ApplicationId": "integer",
  "Name": "string",
  "VendorName": "string",
  "SupportedAuthentication": "string",
  "IsApiKeySupported": "boolean",
  "IsOAuthSupported": "boolean",
  "Description": "string",
  "Actions": "string"
}

Return an application

GET /api/applications/{applicationid}

Returns an Application by it's ID.

applicationid: integer
in path

The ID of the application return.

The Application model.

401 Unauthorized

The user is not authorized to access this operation.

Response Example (200 OK)
{
  "ApplicationId": "integer",
  "Name": "string",
  "VendorId": "string",
  "VendorName": "string",
  "Description": "string",
  "WebsiteUrl": "string",
  "IsApiKeySupported": "boolean",
  "DisableIPAddressWhitelistChecking": "boolean",
  "IsGlobalApiKeySupported": "boolean",
  "GlobalApiKey": "string",
  "GlobalApiKeyIPAddressWhitelist": "string",
  "IsOAuthSupported": "boolean",
  "DisableOAuthRedirectUrlChecking": "boolean",
  "DisableOAuthConsent": "boolean",
  "IsGlobalOAuthSupported": "boolean",
  "GlobalOAuthClientId": "string",
  "GlobalOAuthClientSecret": "string",
  "GlobalOAuthRedirectUrls": "string",
  "ApiKeyInfoJson": "string",
  "GlobalPermissionApiKeyInfoJson": "string",
  "OAuthClientInfoJson": "string",
  "GlobalPermissionOAuthClientInfoJson": "string"
}

Delete an Application.

DELETE /api/applications/{applicationid}

Delete an Application.

applicationid: integer
in path

The ID of the application to delete.

200 OK

The ID of the application that was deleted.

401 Unauthorized

The user is not authorized to access this operation.

Reset a API Key.

POST /api/applications/{applicationid}/resetapikey

Resets the API secret of the client application that is assigned the ID that is provided.

applicationid: integer
in path

The ID of the client application to reset the API key for.

200 OK

The ID of the application that had it's API secret reset.

Reset a global OAuth Client Secret.

POST /api/applications/{applicationid}/resetoauthclientsecret

Resets the OAuth Client Secret of the client application that is assigned the ID that is provided.

applicationid: integer
in path

The ID of the client application to reset the OAuth Client Secret for.

200 OK

The ID of the application that had it's OAuth Client Secret reset.

Check the duplication applications based on the name.

POST /api/applications/duplicatecheck

Check the duplication applications based on the name.

The model that contains the information to test for duplicates.

Request Example
{
  "ApplicationId": "integer",
  "Name": "string",
  "VendorId": "string",
  "VendorName": "string",
  "Description": "string",
  "WebsiteUrl": "string",
  "IsApiKeySupported": "boolean",
  "DisableIPAddressWhitelistChecking": "boolean",
  "IsGlobalApiKeySupported": "boolean",
  "GlobalApiKey": "string",
  "GlobalApiKeyIPAddressWhitelist": "string",
  "IsOAuthSupported": "boolean",
  "DisableOAuthRedirectUrlChecking": "boolean",
  "DisableOAuthConsent": "boolean",
  "IsGlobalOAuthSupported": "boolean",
  "GlobalOAuthClientId": "string",
  "GlobalOAuthClientSecret": "string",
  "GlobalOAuthRedirectUrls": "string",
  "ApiKeyInfoJson": "string",
  "GlobalPermissionApiKeyInfoJson": "string",
  "OAuthClientInfoJson": "string",
  "GlobalPermissionOAuthClientInfoJson": "string"
}

The list of potential duplicates.

Response Example (200 OK)
[
  {
    "Id": "integer",
    "Name": "string",
    "Description": "string"
  }
]

Search for an application name.

GET /api/applications/search

Returns a list of applications that match the search text.

this[]: string
in query

(no description)

length: string
in query

(no description)

The application model.

401 Unauthorized

The user is not authorized to access this operation.

Response Example (200 OK)
[
  {
    "ApplicationId": "integer",
    "Name": "string",
    "VendorId": "integer",
    "VendorName": "string",
    "IsGlobal": "boolean"
  }
]

Search for an application name.

GET /api/applications/search/api

Returns a list of applications that match the search text.

this[]: string
in query

(no description)

length: string
in query

(no description)

The application model.

401 Unauthorized

The user is not authorized to access this operation.

Response Example (200 OK)
[
  {
    "ApplicationId": "integer",
    "Name": "string",
    "VendorId": "integer",
    "VendorName": "string",
    "IsGlobal": "boolean"
  }
]

Search for an application name.

GET /api/applications/search/oauth

Returns a list of applications that match the search text.

this[]: string
in query

(no description)

length: string
in query

(no description)

The application model.

401 Unauthorized

The user is not authorized to access this operation.

Response Example (200 OK)
[
  {
    "ApplicationId": "integer",
    "Name": "string",
    "VendorId": "integer",
    "VendorName": "string",
    "IsGlobal": "boolean"
  }
]

Schema Definitions

ApplicationCollectionItemModel: object

ApplicationId: integer
Name: string
VendorName: string
SupportedAuthentication: string
IsApiKeySupported: boolean
IsOAuthSupported: boolean
Description: string
Actions: string
Example
{
  "ApplicationId": "integer",
  "Name": "string",
  "VendorName": "string",
  "SupportedAuthentication": "string",
  "IsApiKeySupported": "boolean",
  "IsOAuthSupported": "boolean",
  "Description": "string",
  "Actions": "string"
}

AddEditApplicationViewModel: object

ApplicationId: integer
Name: string
VendorId: string
VendorName: string
Description: string
WebsiteUrl: string
IsApiKeySupported: boolean
DisableIPAddressWhitelistChecking: boolean
IsGlobalApiKeySupported: boolean
GlobalApiKey: string
GlobalApiKeyIPAddressWhitelist: string
IsOAuthSupported: boolean
DisableOAuthRedirectUrlChecking: boolean
DisableOAuthConsent: boolean
IsGlobalOAuthSupported: boolean
GlobalOAuthClientId: string
GlobalOAuthClientSecret: string
GlobalOAuthRedirectUrls: string
ApiKeyInfoJson: string
GlobalPermissionApiKeyInfoJson: string
OAuthClientInfoJson: string
GlobalPermissionOAuthClientInfoJson: string
Example
{
  "ApplicationId": "integer",
  "Name": "string",
  "VendorId": "string",
  "VendorName": "string",
  "Description": "string",
  "WebsiteUrl": "string",
  "IsApiKeySupported": "boolean",
  "DisableIPAddressWhitelistChecking": "boolean",
  "IsGlobalApiKeySupported": "boolean",
  "GlobalApiKey": "string",
  "GlobalApiKeyIPAddressWhitelist": "string",
  "IsOAuthSupported": "boolean",
  "DisableOAuthRedirectUrlChecking": "boolean",
  "DisableOAuthConsent": "boolean",
  "IsGlobalOAuthSupported": "boolean",
  "GlobalOAuthClientId": "string",
  "GlobalOAuthClientSecret": "string",
  "GlobalOAuthRedirectUrls": "string",
  "ApiKeyInfoJson": "string",
  "GlobalPermissionApiKeyInfoJson": "string",
  "OAuthClientInfoJson": "string",
  "GlobalPermissionOAuthClientInfoJson": "string"
}

PotentialDuplicateEntry: object

Id: integer
Name: string
Description: string
Example
{
  "Id": "integer",
  "Name": "string",
  "Description": "string"
}

Object: object

Example
"object"

IHttpActionResult: object

Example
"object"

ApplicationViewModel: object

ApplicationId: integer
Name: string
VendorId: integer
VendorName: string
IsGlobal: boolean
Example
{
  "ApplicationId": "integer",
  "Name": "string",
  "VendorId": "integer",
  "VendorName": "string",
  "IsGlobal": "boolean"
}