Get lifecycle details of an App.
http://apis.wso2.com/api/appm/publisher/v1.1/apps/{appType}/id/{appId}/lifecycle
GET
appm:read
curl -X GET -H "Authorization: Bearer 0c0338592beefe7225bd6d869e93ca06" "http://localhost:9763/api/appm/publisher/v1.1/apps/webapp/id/c9ddf00d-c42f-4299-931c-bcda69c68050/lifecycle"
{"actions":["Reject","Approve"],"state":"IN-REVIEW","async":true}
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
appType required |
The App type (either Webapp/Mobile app). |
String | |
Path |
appId required |
**APP ID** consisting of the **UUID** of the App. The following combination is also accepted as a valid APP ID: the provider of the app, name of the app and the version. Should be formatted as **provider-name-version**. |
String | |
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 |
HTTP Code | Description | Schema |
---|---|---|
200 |
OK. Details of a lifecycle is returned. |
LifeCycle |
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 |
Get lifecycle details.
http://apis.wso2.com/api/appm/publisher/v1.1/apps/{appType}/id/{appId}/lifecycle-history
GET
appm:read
curl -X GET -H "Authorization: Bearer 9659421d7eea4c3ed54ef0833fade8f8" "http://localhost:9763/api/appm/publisher/v1.1/apps/mobileapp/id/44a49211-7b37-4b30-873e-4373343fdcda/lifecycle-history"
{"lifeCycleHistoryList":[{"state":"Approved","order":4,"timestamp":"2016-05-20 14:47:16.787","user":"wso2.system.user","targetState":"Published"},{"state":"In-Review","order":3,"timestamp":"2016-05-20 14:47:15.309","user":"wso2.system.user","targetState":"Approved"},{"state":"Created","order":2,"timestamp":"2016-05-20 14:47:13.548","user":"wso2.system.user","targetState":"In-Review"},{"state":"Initial","order":1,"timestamp":"2016-05-20 14:46:59.978","user":"admin","targetState":"Created"}]}
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
appType required |
The App type (either Webapp/Mobile app). |
String | |
Path |
appId required |
**APP ID** consisting of the **UUID** of the App. The following combination is also accepted as a valid APP ID: the provider of the app, name of the app and the version. Should be formatted as **provider-name-version**. |
String | |
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 |
HTTP Code | Description | Schema |
---|---|---|
200 |
OK. List of qualifying Apps is returned. |
LifeCycleHistoryList |
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 |