Get the details of a specific package version.

GET {{baseUrl}}/listings/:listingId/packages/:packageVersion?compartmentId={{compartment_ocid}}

Get the details of the specified version of a package, including information needed to launch the package.

If you plan to launch an instance from an image listing, you must first subscribe to the listing. When you launch the instance, you also need to provide the image ID of the listing resource version that you want.

Subscribing to the listing requires you to first get a signature from the terms of use agreement for the listing resource version. To get the signature, issue a GetAppCatalogListingAgreements API call. The AppCatalogListingResourceVersionAgreements object, including its signature, is returned in the response. With the signature for the terms of use agreement for the desired listing resource version, create a subscription by issuing a CreateAppCatalogSubscription API call.

To get the image ID to launch an instance, issue a GetAppCatalogListingResourceVersion API call. Lastly, to launch the instance, use the image ID of the listing resource version to issue a LaunchInstance API call.

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

{"listingId":"anim","version":"incididunt","packageType":"ORCHESTRATION","description":"veniam dolore officia","operatingSystem":{"name":"do reprehenderit dolore"},"pricing":{"type":"BYOL","currency":"USD","payGoStrategy":"PER_INSTANCE_MONTHLY_INCLUSIVE","rate":-65879023.57919551},"resourceId":"nisi ex enim","timeCreated":"2006-07-06T17:12:25.048Z"}