List of Services
get
/appstore/publisher/v1/services
GET the list of all services for the publisher.
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).
-
orderby(optional): string
This property sorts the result set. Acceptable values are NAME, LASTUPDATEDATE
-
sortorder(optional): string
This property specifies the order in which to sort the result set. Acceptable values are ASC and DESC.
Response
Supported Media Types
- application/json;qs=1
- application/xml;qs=.5
200 Response
Successful Operation
Nested Schema : listingSummary
Type:
Show Source
object
-
icon(optional):
object Icon
-
industries(optional):
array industries
-
listingId(optional):
integer(int64)
-
listingVersionId(optional):
integer(int64)
-
name(optional):
string
-
products(optional):
array products
-
shortDescription(optional):
string
-
status(optional):
string
-
tagLine(optional):
string
-
tags(optional):
string
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 fetches the list of services, by submitting a GET request on the REST resource using cURL.
cURL Example
curl -X GET -H "Authorization: Bearer Access-token" -H "X-Oracle-UserId: partner-email" "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/services?limit=2"
Request Header
Authorization: Bearer Access-token X-Oracle-UserId: fname.lname@oracle.com
Request Body
NONEHTTP Status Code:
200 OK
JSON Response:
{ "items": [ { "listingSummary": { "name": "APS18.2.4REST-SI", "listingId": 2829825, "listingVersionId": 2829826, "shortDescription": "short description keywords", "tags": "keywords keywords", "tagLine": "tag line", "status": "NEW", "icon": { "name": "star.png", "contentURL": "https://partner.cloudmarketplace.oracle.com/partner/content?contentId=2829840", "mimeType": "image/png", "fileExtension": "png" }, "products": [ { "code": "compute", "name": "Compute Classic" }, { "code": "marketing", "name": "Marketing Cloud" } ], "industries": [ { "code": "PUBLIC_SECTOR", "name": "Public Sector" }, { "code": "HEALTHCARE", "name": "Healthcare" }, { "code": "CONSUMER_GOODS", "name": "Consumer Goods" } ] } }, { "listingSummary": { "name": "stgJulySI", "listingId": 2829345, "listingVersionId": 2829346, "shortDescription": "stgJulySIsd", "tags": "stgJulySIkey", "tagLine": "stgJulySIHL", "status": "PUBLISHED", "icon": { "name": "SI-icon 130x103.gif", "contentURL": "https://partner.cloudmarketplace.oracle.com/partner/content?contentId=2829355", "mimeType": "image/gif", "fileExtension": "gif" }, "products": [ { "code": "ADMINCLOUD", "name": "Admin Cloud" } ], "industries": [ { "code": "12C_STAGE_INDUSTRY", "name": "12C Stage Industry1" } ] } } ], "hasMore": true, "count": 2, "totalResults": 121, "links": [ { "rel": "CANONICAL", "href": "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/services" }, { "rel": "SELF", "href": "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/services?limit=2" }, { "rel": "NEXT", "href": "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/services?offset=2&limit=2" } ] }Back to Top