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

KeyDatatypeRequiredDescription
compartmentIdstring(Required) The OCID of the compartment.
idstringA filter to only return resources that match the given id exactly.
namestringA filter to only return resources that match the given name exactly.
pagenullFor 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.
limitnumberFor 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.
sortBystringThe field to sort by. Only one field can be selected for sorting.
sortOrderstringThe sort order to use (ascending or descending).
lifecycleStatestringFilter returned list by specified lifecycle state. This parameter is case-insensitive.

HEADERS

KeyDatatypeRequiredDescription
opc-request-idstringThe unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
particular request, please provide the request ID.
Datestring(Required) Current Date
Authorizationstring(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"}]