Application (Collection)


Retrieve/Search applications

GET https://apis.wso2.com/api/am/store/v0.13/applications

This operation can be used to retrieve list of applications that is belonged to the user associated with the provided access token.

OAuth 2.0 Scope

apim:subscribei

Request

GET https://localhost:9443/api/am/store/v0.13/applications Authorization: Bearer ae4eae22-3f65-387b-a171-d37eaa366fa8

Response

HTTP/1.1 200 OK Content-Type: application/json { "previous": "", "list": [ { "groupId": "", "subscriber": "admin", "throttlingTier": "Unlimited", "applicationId": "367a2361-8db5-4140-8133-c6c8dc7fa0c4", "description": "", "status": "APPROVED", "name": "app1" }, { "groupId": "", "subscriber": "admin", "throttlingTier": "Unlimited", "applicationId": "896658a0-b4ee-4535-bbfa-806c894a4015", "description": null, "status": "APPROVED", "name": "DefaultApplication" } ], "count": 2, "next": "" }

Sample CURL

curl -k -H "Authorization: Bearer ae4eae22-3f65-387b-a171-d37eaa366fa8" "https://localhost:9443/api/am/store/v0.13/applications"

Parameters

Type Name Description Schema Default
Query

groupId

optional

Application Group Id

String

Query

query

optional

**Search condition**. You can search for an application by specifying the name as "query" attribute. Eg. "app1" will match an application if the name is exactly "app1". Currently this does not support wildcards. Given name must exactly match the application name.

String

Query

limit

optional

Maximum size of resource array to return.

Integer

25

Query

offset

optional

Starting point within the complete list of items qualified.

Integer

0

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

Responses

HTTP Code Description Schema

200

OK. Application list returned.

ApplicationList

304

Not Modified. Empty body because the client has already the latest version of the requested resource (Will be supported in future).

400

Bad Request. Invalid request or validation error.

Error

406

Not Acceptable. The requested media type is not supported.

Error