Lists all publications.
GET {{baseUrl}}/publications?compartmentId={{compartment_ocid}}&listingType=COMMUNITY&sortBy=TIMERELEASED&sortOrder=DESC&limit=30
Lists the publications in the specified compartment.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
compartmentId | string | (Required) The unique identifier for the compartment. | |
name | string | The name of the publication. | |
name | string | The name of the publication. | |
listingType | string | (Required) The type of the listing. | |
publicationId | string | The unique identifier for the publication. | |
operatingSystems | string | The operating system of the listing. | |
operatingSystems | string | The operating system of the listing. | |
sortBy | string | The 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. | |||
sortOrder | string | The sort order to use, either ASC or DESC . | |
limit | number | How many records to return. Specify a value greater than zero and less than or equal to 1000. The default is 30. | |
page | string | The value of the opc-next-page response header from the previous "List" call. |
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":"nulla","name":"nisi exercitation","listingType":"COMMUNITY","compartmentId":"elit amet","lifecycleState":"commod","icon":{"contentUrl":"incididunt ut","fileExtension":"in occaecat in","mimeType":"eu","name":"Excepteur"},"packageType":"IMAGE","shortDescription":"Excepteur sunt tempor esse","supportedOperatingSystems":[{"name":"Excepteur"},{"name":"minim exercitation"}],"timeCreated":"2011-11-08T02:28:16.158Z"},{"id":"lab","name":"et quis deserunt","listingType":"PARTNER","compartmentId":"ir","lifecycleState":"ut anim ullamco dolore","icon":{"contentUrl":"sit aliqua commodo sunt","fileExtension":"se","mimeType":"sint sit cillum est","name":"pariatur Exc"},"packageType":"IMAGE","shortDescription":"elit quis nostrud est","supportedOperatingSystems":[{"name":"adipisicing deserunt"},{"name":"Lorem incididunt irure"}],"timeCreated":"1958-04-26T02:07:15.042Z"}]