Gets a terms of use agreement for a package.
GET {{baseUrl}}/listings/:listingId/packages/:packageVersion/agreements/:agreementId?compartmentId={{compartment_ocid}}
Returns a terms of use agreement for a package with a time-based signature that can be used to accept the agreement.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
compartmentId | string | The unique identifier for the compartment. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-request-id | string | Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, | |
please provide the request ID. | |||
Accept | string |
RESPONSES
status: OK
{"id":"sed sit adipisicing qui","contentUrl":"sit commodo Ut","signature":"irure dolore minim proident","author":"ORACLE","compartmentId":"Duis culpa ut","prompt":"nisi"}