Gets a list of all DataAssets in a compartment
GET {{baseUrl}}/dataAssets?compartmentId={{compartment_ocid}}&projectId=ocid1.aianomalydetectionproject.oc1....&displayName=ea ullamco Lorem eu&limit=10&lifecycleState=ACTIVE&sortOrder=ASC&sortBy=timeCreated
Returns a list of DataAssets.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
compartmentId | string | (Required) The ID of the compartment in which to list resources. | |
projectId | string | The ID of the project for which to list the objects. | |
displayName | string | A filter to return only resources that match the entire display name given. | |
limit | number | The maximum number of items to return. | |
page | string | The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. | |
lifecycleState | string | <b>Filter</b> results by the specified lifecycle state. Must be a valid | |
state for the resource type. | |||
sortOrder | string | The sort order to use, either 'asc' or 'desc'. | |
sortBy | string | The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. | |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-request-id | string | The client request ID for tracing. | |
Date | string | (Required) Current Date | |
Authorization | string | (Required) Signature Authentication on Authorization header |
RESPONSES
status: OK
{"items":[{"id":"nisi pariatur ","compartmentId":"et adipisicing in","projectId":"exercitation ad adipisicing ipsum","dataSourceType":"ORACLE_ATP","displayName":"sint","timeCreated":"2009-10-30T16:10:25.843Z","definedTags":{},"description":"ut enim","freeformTags":{},"lifecycleState":"anim aliquip proident Excepteur","privateEndpointId":"ea anim","systemTags":{},"timeUpdated":"1966-04-12T22:09:38.340Z"},{"id":"deserunt","compartmentId":"labore exercitation","projectId":"Lorem quis","dataSourceType":"INFLUX","displayName":"quis","timeCreated":"1970-09-11T09:14:32.197Z","definedTags":{},"description":"tempor sint adipisicing non","freeformTags":{},"lifecycleState":"tempor esse","privateEndpointId":"aliqua id enim dolore","systemTags":{},"timeUpdated":"1984-01-22T13:15:43.233Z"}]}