Lists the ADDM tasks who's end snapshot time falls within the provided time range.
GET {{baseUrl}}/managedDatabases/:managedDatabaseId/addmTasks?timeStart=<dateTime>&timeEnd=<dateTime>&page=<string>&limit=10&sortBy=END_TIME&sortOrder=DESC
Lists the metadata for each ADDM task who's end snapshot time falls within the provided start and end time. Details include the name of the ADDM task, description, user, status and creation date time.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
timeStart | string | (Required) The beginning of the time range to search for ADDM tasks as defined by date-time RFC3339 format. | |
timeEnd | string | (Required) The end of the time range to search for ADDM tasks as defined by date-time RFC3339 format. | |
page | string | The page token representing the page from where the next set of paginated results | |
are retrieved. This is usually retrieved from a previous list call. | |||
limit | number | The maximum number of records returned in the paginated response. | |
sortBy | string | The option to sort the list of ADDM tasks. | |
sortOrder | string | The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Descending order is the default order. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-request-id | string | Unique identifier for the request. | |
opc-named-credential-id | string | The OCID of the Named Credential. | |
Accept | string |
RESPONSES
status: OK
{"items":[{"timeCreated":"\u003cdateTime\u003e","taskId":"\u003clong\u003e","beginSnapshotId":"\u003clong\u003e","dbUser":"\u003cstring\u003e","description":"\u003cstring\u003e","endSnapshotId":"\u003clong\u003e","endSnapshotTime":"\u003cdateTime\u003e","findings":"\u003clong\u003e","howCreated":"MANUAL","startSnapshotTime":"\u003cdateTime\u003e","status":"EXECUTING","taskName":"\u003cstring\u003e"},{"timeCreated":"\u003cdateTime\u003e","taskId":"\u003clong\u003e","beginSnapshotId":"\u003clong\u003e","dbUser":"\u003cstring\u003e","description":"\u003cstring\u003e","endSnapshotId":"\u003clong\u003e","endSnapshotTime":"\u003cdateTime\u003e","findings":"\u003clong\u003e","howCreated":"AUTO","startSnapshotTime":"\u003cdateTime\u003e","status":"ERROR","taskName":"\u003cstring\u003e"}],"managedDatabaseId":"\u003cstring\u003e"}