Get available java policies.
http://apis.wso2.com/api/appm/publisher/v1.1/javapolicies
GET
appm:create
curl -X GET -H "Authorization: Bearer 303c73b076f1aeeb16ebee6b96bd250e" "http://localhost:9763/api/appm/publisher/v1.1/javapolicies"
{"policyList": [{"id": 5,"displayName": "Publish Statistics:","displayOrder": 5,"description": ""}]}
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
isGlobal optional |
Determines whether or not the policy is global. The default value is 'true'. |
Boolean |
true |
Header |
Accept optional |
Media types acceptable for the response. Default is JSON. |
String |
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 the Last Modified header of the formerly retrieved variant of the resource. |
String |
HTTP Code | Description | Schema |
---|---|---|
200 |
OK. Qualifying App is returned. |
JavaPolicyList |
400 |
Bad Request. Invalid request or validation error. |
Error |
403 |
Forbidden. The request must be conditional but no condition has been specified. |
Error |
404 |
Not Found. The resource to be updated does not exist. |
Error |