Application (Collection)


Retrieve/Search applications

GET https://apis.wso2.com/api/am/admin/v0.15/applications

This operation can be used to retrieve list of applications that is belonged to the given user, If no user is provided then the application for the user associated with the provided access token will be returned.

OAuth 2.0 Scope

apim:app_owner_changei

Request

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

Response

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

Sample CURL

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

Parameters

Type Name Description Schema Default
Query

user

optional

username of the application creator

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 (Will be supported in future).

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