List of Installation Status
get
/appstore/publisher/v1/installstatuses
Get a list of install statuses required for install requests.
Request
Query Parameters
-
limit(optional): integer(int32)
Limit tells how many records to return (starting from the offset). Limit should be greater than zero and less than or equal to 100 (default=30).
-
offset(optional): integer(int32)
Offset and limit together determine how many records to return from the collection. Offset is the starting index of the records to return, which should be greater than or equal to zero (default=0).
Response
Supported Media Types
- application/json;qs=1
- application/xml;qs=.5
200 Response
Successful Operation
Nested Schema : Link
Type:
Show Source
object
-
href(optional):
string
-
rel(optional):
string
Allowed Values:
[ "SELF", "CANONICAL", "NEXT", "TEMPLATE", "PREV" ]
400 Response
Invalid Parameter Value
401 Response
Not Authorized
404 Response
Entity Not Found
500 Response
System Error
Examples
The following example gets a list of install statuses required for install requests, by submitting a GET request on the REST resource using cURL.
cURL Example
curl -X GET -H "Authorization: Bearer Access-token" "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/installstatuses"
Request Header
Authorization: Bearer Access-token
Request Body
None
HTTP Status Code:
200 OK
JSON Response:
{ "items": [ { "item": { "code": "SUBMITTED", "name": "Submitted" } }, { "item": { "code": "STARTED", "name": "Started" } } ], "count": 2, "totalResults": 7, "hasMore": "True", "links": [ { "rel": "CANONICAL", "href": "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/installstatuses" }, { "rel": "SELF", "href": "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/installstatuses" }, { "rel": "NEXT", "href": "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/installstatuses?offset=2" } ] }Back to Top