AppApi


Validate App Context

Validate App context.

URL

http://apis.wso2.com/api/appm/publisher/v1.1/apps/{appType}/validate-context

HTTP Method

POST

Scope

appm:create

CURL Example

curl -X POST -H "Authorization: Bearer f61b3bea0fdc1d31d464a40f7aec8282" "http://localhost:9763/api/appm/publisher/v1.1/apps/webapp/validate-context?appContext=travelApp"

Sample Response

HTTP/1.1 200 OK Content-Type: application/json {"IsContextExists":true}

Parameters

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

Responses

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