List of Services

get

/appstore/publisher/v1/services

GET the list of all services for the publisher.

Request

Query Parameters
  • 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 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).
  • This property sorts the result set. Acceptable values are NAME, LASTUPDATEDATE
  • This property specifies the order in which to sort the result set. Acceptable values are ASC and DESC.
Back to Top

Response

Supported Media Types

200 Response

Successful Operation
Body ()
Root Schema : collection
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : listingSummary
Type: object
Show Source
Nested Schema : Icon
Type: object
Show Source
Nested Schema : industries
Type: array
Show Source
Nested Schema : products
Type: array
Show Source
Nested Schema : Item
Type: object
Show Source
Nested Schema : product
Type: object
Show Source
Nested Schema : categories
Type: array
Show Source
Nested Schema : filters
Type: array
Show Source
Nested Schema : ProductFilter
Type: object
Show Source
Nested Schema : values
Type: array
Show Source

400 Response

Invalid Parameter Value

401 Response

Not Authorized

404 Response

Entity Not Found

500 Response

System Error
Back to Top

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

NONE

HTTP 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