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

KeyDatatypeRequiredDescription
compartmentIdstringThe unique identifier for the compartment.

HEADERS

KeyDatatypeRequiredDescription
opc-request-idstringUnique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
please provide the request ID.
Acceptstring

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"}