Lists applications for a compartment
GET {{baseUrl}}/applications?compartmentId={{compartment_ocid}}&limit=5&sortOrder=ASC&sortBy=displayName
Lists applications for a compartment.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
compartmentId | string | (Required) The OCID of the compartment to which this resource belongs. | |
limit | number | The maximum number of items to return. 1 is the minimum, 50 is the maximum. |
Default: 10
|
| page
| null | | The pagination token for a list query returned by a previous operation
|
| lifecycleState
| string | | A filter to return only applications that match the lifecycle state in this parameter.
Example: Creating
|
| displayName
| string | | A filter to return only applications with display names that match the display name string. Matching is exact.
|
| id
| string | | A filter to return only applications with the specified OCID.
|
| sortOrder
| string | | Specifies sort order.
- ASC: Ascending sort order.
- DESC: Descending sort order.
|
|
sortBy
| string | | Specifies the attribute with which to sort the rules.
Default: displayName
- timeCreated: Sorts by timeCreated.
- displayName: Sorts by displayName.
- id: Sorts by id. |
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. | |||
Accept | string |
RESPONSES
status: OK
[{"id":"cillum in anim","compartmentId":"proident eu commodo","definedTags":{},"displayName":"ut anim Excepteur dolor","freeformTags":{},"lifecycleState":"sed ea ullamc","subnetIds":["Lorem veniam eu voluptate esse","enim Lorem ex et consequat"],"timeCreated":"1965-12-15T10:32:53.200Z","timeUpdated":"2009-07-06T09:11:12.733Z","traceConfig":{"domainId":"fugiat laborum officia","isEnabled":false}},{"id":"labore","compartmentId":"sunt pariatur","definedTags":{},"displayName":"elit eu","freeformTags":{},"lifecycleState":"exercitation adipisicing irure voluptate","subnetIds":["sed mollit","magna ut Excepteur"],"timeCreated":"1999-03-19T04:32:29.221Z","timeUpdated":"1963-05-19T05:21:21.827Z","traceConfig":{"domainId":"ut pariatur mollit in ut","isEnabled":true}}]