PolicyGroupsApi


Get apps associated with a policy group

Get apps associated with a given policy group.\n

URL

http://apis.wso2.com/api/appm/publisher/v1.0/administration/policygroups/{policyGroupId}/apps

HTTP Method

GET

Scope

appm:read

CURL Example

curl -X GET -H "Authorization: Bearer 64697c7a75c8db3a5b852aa7786b024b" "http://localhost:9763/api/appm/publisher/v1.0/administration/policygroups/1/apps"

Sample Response

{"previous":"","next":"","count":2,"appList":[{"name":"app1","context":null,"id":"af929140-1257-46ed-97c0-d26098e140e9","rating":0.0,"lifecycleState":"IN-REVIEW","provider":"admin","description":"asdasd","version":"1"},{"name":"app2","context":null,"id":"5c9c8551-d696-4c44-85a6-dcd86f1a1e25","rating":0.0,"lifecycleState":"CREATED","provider":"admin","description":"phone","version":"1.0"}]}

Parameters

Type Name Description Schema Default
Path

policyGroupId

required

policy group id\n

Integer

Header

Accept

optional

Media types acceptable for the response. Default is JSON.\n

String

JSON

Header

If-None-Match

optional

Validator for conditional requests; based on the ETag of the formerly retrieved\nvariant of the resourec.\n

String

Header

If-Modified-Since

optional

Validator for conditional requests; based on Last Modified header of the\nformerly retrieved variant of the resource.\n

String

Responses

HTTP Code Description Schema

200

OK.\nList of qualifying Apps is returned.\n

AppList

400

Bad Request.\nInvalid request or validation error.\n

Error

403

Forbidden.\nThe request must be conditional but no condition has been specified.\n

Error

404

Not Found.\nThe resource to be updated does not exist.\n

Error