Details of Specific Version

get

/appstore/publisher/v{vNumber}

Get the details of a particular version with the given version number.

Request

Path Parameters
Back to Top

Response

Supported Media Types

200 Response

Successful Operation
Body ()
Root Schema : version
Type: object
Show Source
Nested Schema : resourceList
Type: array
Show Source
Nested Schema : catalogEntry
Type: object
Show Source
Nested Schema : allowedMethods
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 return details of a particular version, 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/v4"

Request Header

Authorization: Bearer Access-token

Request Body

None

HTTP Status Code:

200 OK

JSON Response:

{
  "version": "v4",
  "latest": true,
  "lifecycle": "expired",
  "terminationDate": "2016-03-15T16:16:39.000Z",
  "predecessor": "v3",
  "resourceList": {
  {
   "root": "applications",
   "allowedMethods": [
      "POST", "GET"
   ],
   "links": [
      {
        "rel": "TEMPLATE",
        "href": "https://ocm-apis.cloud.oracle.com/appstore/publisher/v4/applications"
      }
   ]
  },
  {
   "root": "applications",
   "allowedMethods": [
      "GET", "PUT", "DELETE", "PATCH"
   ],
   "links": [
      {
        "rel": "TEMPLATE",
        "href": "https://ocm-apis.cloud.oracle.com/appstore/publisher/v4/applications/{id}"
      }
   ]
  }
    --------- all Other supported resources in this version -----------
 },

  "links": [
    {
      "rel": "CANONICAL",
      "href": "https://ocm-apis.cloud.oracle.com/appstore/publisher/v4"
    }
  ]
}
Back to Top