Cloud Services
get
/appstore/publisher/v1/cloudservices
Get the list of Cloud Services.
Request
There are no request parameters for this operation.
Back to TopResponse
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
Bad Request
401 Response
Not Authorized
500 Response
System Error
Examples
The following example returns the list of all available cloudservices 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/cloudservices"
Request Header
X-Oracle-UserId: fname.lname@oracle.com Authorization: Bearer Access-token
Request Body
None
HTTP Status Code:
200 OK
JSON Response:
{ "items": [ { "CloudService": { "name": "oic", "displayName": "Oracle Integration Cloud Service", "description": "Oracle Integration Cloud Service", "status": "ACTIVE", "multiplePackageVersionsEnabled": false } }, { "CloudService": { "name": "OCI Compute", "displayName": "Oracle Cloud Infrastructure Compute", "description": "Oracle Cloud Infrastructure Compute", "status": "ACTIVE", "multiplePackageVersionsEnabled": false } }, { "CloudService": { "name": "JAVA", "displayName": "Java Service", "description": "Java Service desc", "status": "ACTIVE", "multiplePackageVersionsEnabled": false } }, { "CloudService": { "name": "Compute", "displayName": "Oracle Compute Cloud Service", "description": "Oracle Compute Cloud Service", "status": "ACTIVE", "multiplePackageVersionsEnabled": false } }, { "CloudService": { "name": "OCIOrchestration", "displayName": "OCI Orchestration Service", "description": "OCI Orchestration Service", "status": "ACTIVE", "multiplePackageVersionsEnabled": true } } ], "hasMore": false, "count": 5, "totalResults": 5, "links": [ { "rel": "CANONICAL", "href": "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/cloudservices" }, { "rel": "SELF", "href": "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/cloudservices" } ] }Back to Top