Get terms version

get

/appstore/publisher/v1/terms/{termsid}/version/{termsversionid}

Fetch the terms version details.

Request

Path Parameters
Back to Top

Response

Supported Media Types

200 Response

Successful Operation
Body ()
Root Schema : Terms
Type: object
Show Source
Nested Schema : termVersions
Type: array
Show Source
Nested Schema : TermsVersion
Type: object
Show Source

401 Response

Not Authorized

404 Response

Entity Not Found

500 Response

System Error
Back to Top

Examples

The following example returns details of terms version, by submitting a GET request on the REST resource using cURL.

cURL Example

curl -X PATCH -H "X-Oracle-UserId: partner-email" -H "Authorization: Bearer Access-token" -H "Content-Type: application/json" -d "JSON-data-as-shown-in-following-example" "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/terms/8000336/version/8000340"

Request Header

X-Oracle-UserId: fname.lname@oracle.com
Authorization: Bearer Access-token

Request Body

None

HTTP Status Code:

200 OK

JSON Response:

{
    "termsVersionId": 8000340,
    "versionName": "Version 7.0",
    "rawVersionName": "",
    "contentDescription": "Agree to my terms",
    "status": "Inactive",
    "contentId": 8000341,
    "lastUpdateDate": "2017-09-14T12:31:28.007Z",
    "lastUpdatedBy": "solomon yenumula",
    "contentURL": "https://ocm-apis.cloud.oracle.com/partner/content?contentId=8000341"
}
Back to Top