Gets the list of packages for a listing.

GET {{baseUrl}}/listings/:listingId/packages?packageVersion=irure et proident id&packageType=ipsum nostru&limit=30&page=in reprehenderit&sortBy=TIMERELEASED&sortOrder=DESC&compartmentId={{compartment_ocid}}

Gets the list of packages for a listing.

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
packageVersionstringThe version of the package. Package versions are unique within a listing.
packageTypestringA filter to return only packages that match the given package type exactly.
limitnumberHow many records to return. Specify a value greater than zero and less than or equal to 1000. The default is 30.
pagestringThe value of the opc-next-page response header from the previous "List" call.
sortBystringThe field to use to sort listed results. You can only specify one field to sort by.
TIMERELEASED displays results in descending order by default.
You can change your preference by specifying a different sort order.
sortOrderstringThe sort order to use, either ASC or DESC.
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":"ea consequ","packageType":"IMAGE","packageVersion":"tempor aliquip veli","pricing":{"type":"PAYGO","currency":"USD","payGoStrategy":"PER_INSTANCE_MONTHLY_INCLUSIVE","rate":-28580183.631434992},"regions":[{"code":"dolore","countries":[{"code":"Excepteur eiusmod dolore","name":"in proident"},{"code":"proident ut","name":"fugiat"}],"name":"velit"},{"code":"dolor veniam","countries":[{"code":"quis Excepteur veniam culpa","name":"ea incididunt"},{"code":"Excepteur ","name":"qui adipisicing nostrud occaecat"}],"name":"pariatur proident sit aute"}],"resourceId":"sunt do cupidatat ex","timeCreated":"2022-06-07T07:48:27.326Z"},{"listingId":"minim quis eiusmod","packageType":"ORCHESTRATION","packageVersion":"incididunt sint dolore pariatur aliqua","pricing":{"type":"PAYGO","currency":"USD","payGoStrategy":"PER_OCPU_LINEAR","rate":-690161.0216604471},"regions":[{"code":"in dolor aliquip amet","countries":[{"code":"nostrud ex eiusmod et","name":"pariatur"},{"code":"adipisicing laboris minim","name":"irure ullamco sint labore"}],"name":"in dolor"},{"code":"nisi aliqua exercitation non pariatur","countries":[{"code":"mollit eu aliquip","name":"laborum"},{"code":"laborum consectetur enim","name":"aliqua irure"}],"name":"occaecat sed in"}],"resourceId":"eu id","timeCreated":"1993-06-11T01:24:29.326Z"}]