List of Machine Image Upload statuses
get
/appstore/publisher/v1/machineimagestatus
Get a list of available Machine Image Upload statuses.
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 returns the list of available machine image upload statuses by submitting a GET request on the REST resource using cURL.
cURL Example
curl -X GET -H "X-Oracle-UserId: partner-email" -H "Authorization: Bearer Access-token" "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/machineimagestatus"
Request Header
X-Oracle-UserId: fname.lname@oracle.com Authorization: Bearer Access-token
Request Body
None
HTTP Status Code:
200 OK
JSON Response:
{ "items": [ { "item": { "code": "DELETION_FAILED", "name": "Deletion Failed" } }, { "item": { "code": "INITIATED", "name": "Initiated" } }, { "item": { "code": "PENDING", "name": "Pending" } }, { "item": { "code": "INPROGRESS", "name": "In Progress" } }, { "item": { "code": "FAILED", "name": "Failed" } }, { "item": { "code": "COMPLETED", "name": "Completed" } }, { "item": { "code": "VIRUS_SCAN_INPROGRESS", "name": "Virus scan in progress" } }, { "item": { "code": "REJECTED", "name": "Rejected" } }, { "item": { "code": "DELETED", "name": "Deleted" } } ], "hasMore": false, "count": 9, "totalResults": 9, "links": [ { "rel": "CANONICAL", "href": "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/machineimagestatus" }, { "rel": "SELF", "href": "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/machineimagestatus" } ] }Back to Top