Get terms version
get
/appstore/publisher/v1/terms/{termsid}/version/{termsversionid}
Fetch the terms version details.
Request
Path Parameters
-
termsid: integer(int64)
Unique identifier of terms.
-
termsversionid: integer(int64)
Unique identifier of terms version.
Response
Supported Media Types
- application/json;qs=1
- application/xml;qs=.5
200 Response
Successful Operation
401 Response
Not Authorized
404 Response
Entity Not Found
500 Response
System Error
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