DELETE https://apis.wso2.com/api/am/store/v0.16/applications/{applicationId}
This operation can be used to remove an application specifying its id.
Not required
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
applicationId required |
Application Identifier consisting of the UUID of the Application. |
String | |
Header |
If-Match optional |
Validator for conditional requests; based on ETag. |
String | |
Header |
If-Unmodified-Since optional |
Validator for conditional requests; based on Last Modified header (Will be supported in future). |
String |
HTTP Code | Description | Schema |
---|---|---|
200 |
OK. Resource successfully deleted. |
|
404 |
Not Found. Resource to be deleted does not exist. |
Error |
412 |
Precondition Failed. The request has not been performed because one of the preconditions is not met. |
Error |
GET https://apis.wso2.com/api/am/store/v0.16/applications/{applicationId}
This operation can be used to retrieve details of an individual application specifying the application id in the URI.
Not required
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
applicationId required |
Application Identifier consisting of the UUID of the Application. |
String | |
Header |
Accept optional |
Media types acceptable for the response. Default is application/json. |
String |
application/json |
Header |
If-None-Match optional |
Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. |
String | |
Header |
If-Modified-Since optional |
Validator for conditional requests; based on Last Modified header of the formerly retrieved variant of the resource (Will be supported in future). |
String |
HTTP Code | Description | Schema |
---|---|---|
200 |
OK. Application returned. |
Application |
304 |
Not Modified. Empty body because the client has already the latest version of the requested resource. |
|
404 |
Not Found. Requested application does not exist. |
Error |
406 |
Not Acceptable. The requested media type is not supported |
Error |
GET https://apis.wso2.com/api/am/store/v0.16/applications/{applicationId}/keys/{keyType}
This operation can be used to retrieve key details of an individual application specifying the key type in the URI.
Not required
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
applicationId required |
Application Identifier consisting of the UUID of the Application. |
String | |
Path |
keyType required |
**Application Key Type** standing for the type of the keys (i.e. Production or Sandbox). Accepted values: PRODUCTION
SANDBOX
|
String | |
Query |
groupId optional |
Application Group Id |
String | |
Header |
Accept optional |
Media types acceptable for the response. Default is application/json. |
String |
application/json |
HTTP Code | Description | Schema |
---|---|---|
200 |
OK. Application key details returned. |
ApplicationKey |
404 |
Not Found. Requested application does not exist. |
Error |
406 |
Not Acceptable. The requested media type is not supported |
Error |
PUT https://apis.wso2.com/api/am/store/v0.16/applications/{applicationId}/keys/{keyType}
This operation can be used to update grant types and callback url of an application. (Consumer Key and Consumer Secret are ignored) Upon succesfull you will retrieve the updated key details as the response.
Not required
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
applicationId required |
Application Identifier consisting of the UUID of the Application. |
String | |
Path |
keyType required |
**Application Key Type** standing for the type of the keys (i.e. Production or Sandbox). Accepted values: PRODUCTION
SANDBOX
|
String | |
Body |
body required |
Grant types/Callback URL update request object |
ApplicationKey (ApplicationKey) |
HTTP Code | Description | Schema |
---|---|---|
200 |
Ok. Grant types or/and callback url is/are updated. |
ApplicationKey |
400 |
Bad Request. Invalid request or validation error |
Error |
404 |
Not Found. The resource to be updated does not exist. |
Error |
412 |
Precondition Failed. The request has not been performed because one of the preconditions is not met. |
Error |
PUT https://apis.wso2.com/api/am/store/v0.16/applications/{applicationId}
This operation can be used to update an application. Upon succesfull you will retrieve the updated application as the response.
Not required
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
applicationId required |
Application Identifier consisting of the UUID of the Application. |
String | |
Body |
body required |
Application object that needs to be updated |
Application (Application) | |
Header |
Content-Type required |
Media type of the entity in the body. Default is application/json. |
String |
application/json |
Header |
If-Match optional |
Validator for conditional requests; based on ETag. |
String | |
Header |
If-Unmodified-Since optional |
Validator for conditional requests; based on Last Modified header (Will be supported in future). |
String |
HTTP Code | Description | Schema |
---|---|---|
200 |
OK. Application updated. |
Application |
400 |
Bad Request. Invalid request or validation error |
Error |
404 |
Not Found. The resource to be updated does not exist. |
Error |
412 |
Precondition Failed. The request has not been performed because one of the preconditions is not met. |
Error |
GET https://apis.wso2.com/api/am/store/v0.16/applications/{applicationId}/scopes
Get scopes associated with a particular application based on subscribed APIs
Not required
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
applicationId required |
Application Identifier consisting of the UUID of the Application. |
String | |
Query |
filterByUserRoles optional |
Filter user by roles. |
Boolean | |
Header |
If-None-Match optional |
Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. |
String | |
Header |
If-Modified-Since optional |
Validator for conditional requests; based on Last Modified header of the formerly retrieved variant of the resource (Will be supported in future). |
String |
HTTP Code | Description | Schema |
---|---|---|
200 |
OK. Scope returned. |
ScopeList |
304 |
Not Modified. Empty body because the client has already the latest version of the requested resource. |
|
401 |
Un authorized. The user is not authorized to view the application . |
Error |
404 |
Not Found. Requested application does not exist. |
Error |
406 |
Not Acceptable. The requested media type is not supported |
Error |
POST https://apis.wso2.com/api/am/store/v0.16/applications/generate-keys
This operation can be used to generate client ID and client secret for an application **NOTE** * This operation does not require the client ID and the client secret by default. * When using credentials from a third party key manager, you can generate access tokens by providing only the client ID or both the client ID and the client secret.
Not required
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
applicationId required |
Application Identifier consisting of the UUID of the Application. |
String | |
Body |
body required |
Application object the keys of which are to be generated |
ApplicationKeyGenerateRequest (ApplicationKeyGenerateRequest) | |
Header |
Content-Type required |
Media type of the entity in the body. Default is application/json. |
String |
application/json |
Header |
If-Match optional |
Validator for conditional requests; based on ETag. |
String | |
Header |
If-Unmodified-Since optional |
Validator for conditional requests; based on Last Modified header (Will be supported in future). |
String |
HTTP Code | Description | Schema |
---|---|---|
200 |
OK. Keys are generated. |
ApplicationKey |
400 |
Bad Request. Invalid request or validation error |
Error |
404 |
Not Found. The resource to be updated does not exist. |
Error |
412 |
Precondition Failed. The request has not been performed because one of the preconditions is not met (Will be supported in future). |
Error |
POST https://apis.wso2.com/api/am/store/v0.16/applications
This operation can be used to create a new application specifying the details of the application in the payload.
Not required
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Body |
body required |
Application object that is to be created. |
Application (Application) | |
Header |
Content-Type required |
Media type of the entity in the body. Default is application/json. |
String |
application/json |
HTTP Code | Description | Schema |
---|---|---|
201 |
Created. Successful response with the newly created object as entity in the body. Location header contains URL of newly created entity. |
Application |
400 |
Bad Request. Invalid request or validation error |
Error |
409 |
Conflict. Application already exists. |
Error |
415 |
Unsupported media type. The entity of the request was in a not supported format. |
Error |
POST https://apis.wso2.com/api/am/store/v0.16/applications/regenerate-consumersecret
This operation can be used to re generate consumer secret for an application
Not required
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Body |
body required |
The consumer key associated with the application |
ApplicationKeyReGenerateRequest (ApplicationKeyReGenerateRequest) | |
Header |
Content-Type required |
Media type of the entity in the body. Default is application/json. |
String |
application/json |
HTTP Code | Description | Schema |
---|---|---|
200 |
OK. Keys are re generated. |
ApplicationKeyReGenerateResponse |
400 |
Bad Request. Invalid request or validation error |
Error |
404 |
Not Found. The resource to be updated does not exist. |
Error |
412 |
Precondition Failed. The request has not been performed because one of the preconditions is not met (Will be supported in future). |
Error |
GET https://apis.wso2.com/api/am/store/v0.16/applications/scopes/{applicationId}
Get scopes associated with a particular application based on subscribed APIs
Not required
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
applicationId required |
Application Identifier consisting of the UUID of the Application. |
String | |
Query |
filterByUserRoles optional |
Filter user by roles. |
Boolean | |
Header |
If-None-Match optional |
Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. |
String | |
Header |
If-Modified-Since optional |
Validator for conditional requests; based on Last Modified header of the formerly retrieved variant of the resource (Will be supported in future). |
String |
HTTP Code | Description | Schema |
---|---|---|
200 |
OK. Scope returned. |
ScopeList |
304 |
Not Modified. Empty body because the client has already the latest version of the requested resource. |
|
401 |
Un authorized. The user is not authorized to view the application . |
Error |
404 |
Not Found. Requested application does not exist. |
Error |
406 |
Not Acceptable. The requested media type is not supported |
Error |