List Topics
GET {{baseUrl}}/topics?compartmentId={{compartment_ocid}}&page=&limit=10&sortBy=TIMECREATED&sortOrder=ASC&lifecycleState=ACTIVE
Lists topics in the specified compartment.
Transactions Per Minute (TPM) per-tenancy limit for this operation: 120.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
compartmentId | string | (Required) The OCID of the compartment. | |
id | string | A filter to only return resources that match the given id exactly. | |
name | string | A filter to only return resources that match the given name exactly. | |
page | null | For list pagination. The value of the opc-next-page response header from the previous "List" call. | |
For important details about how pagination works, see List Pagination. | |||
limit | number | For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. | |
For important details about how pagination works, see List Pagination. | |||
sortBy | string | The field to sort by. Only one field can be selected for sorting. | |
sortOrder | string | The sort order to use (ascending or descending). | |
lifecycleState | string | Filter returned list by specified lifecycle state. This parameter is case-insensitive. | |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-request-id | string | The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a | |
particular request, please provide the request ID. | |||
Date | string | (Required) Current Date | |
Authorization | string | (Required) Signature Authentication on Authorization header |
RESPONSES
status: OK
[{"apiEndpoint":"anim Duis adipisicing culpa","compartmentId":"veniam adipisicing aute qui","lifecycleState":"CREATING","name":"ex est in cillum","timeCreated":"1970-11-10T11:22:15.503Z","topicId":"nulla ex deserunt","description":"exercitation"},{"apiEndpoint":"","compartmentId":"ullamco officia labore esse","lifecycleState":"DELETING","name":"labore ","timeCreated":"1957-06-20T23:03:39.740Z","topicId":"sunt","description":"et do dolore"}]