Validate App context.
http://apis.wso2.com/api/appm/publisher/v1.1/apps/{appType}/validate-context
POST
appm:create
curl -X POST -H "Authorization: Bearer f61b3bea0fdc1d31d464a40f7aec8282" "http://localhost:9763/api/appm/publisher/v1.1/apps/webapp/validate-context?appContext=travelApp"
HTTP/1.1 200 OK
Content-Type: application/json
{"IsContextExists":true}
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
appType required |
The App type (either Webapp/Mobile app). |
String | |
Query |
appContext required |
Application context. |
String | |
Header |
Content-Type required |
Media type of the entity in the body. Default is JSON. |
String |
JSON |
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. |
|
400 |
Bad Request. Invalid request or validation error. |
Error |
415 |
Unsupported Media Type. The entity of the request was in an unsupported format. |
Error |