Get a list of objects in the workspace
get
/20260430/aiDataPlatforms/{aiDataPlatformId}/workspaces/{workspaceKey}/objects
Returns a list of objects in the workspace.
Request
Path Parameters
-
aiDataPlatformId(required): string
The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the AI Data Platform (Data Lake) instance.
-
workspaceKey(required): string
The key of the Workspace
Query Parameters
-
displayName: string
Minimum Length:
1Maximum Length:255A filter to return only resources that match the given display name exactly. -
limit: integer
Minimum Value:
1Maximum Value:1000For 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](/iaas/Content/API/Concepts/usingapi.htm#nine).Default Value:100 -
metadataKeys: string
Comma separated keys to have in list response.
-
page: string
Minimum Length:
1For 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](/iaas/Content/API/Concepts/usingapi.htm#nine). -
path(required): string
The absolute path of the file or folder
-
sortBy: string
The field to sort by. You can provide only one sort order. Default order for `timeCreated` is descending. Default order for `displayName` is ascending.Default Value:
timeCreatedAllowed Values:[ "timeCreated", "displayName" ] -
sortOrder: string
The sort order to use, either ascending (`ASC`) or descending (`DESC`).Allowed Values:
[ "ASC", "DESC" ] -
type: string
Filter by object type. For example, NOTEBOOK, LIBRARY, or FILE.
Header Parameters
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. The only valid characters for request IDs are letters, numbers, underscore, and dash.
-
should-update-recent: boolean
A flag to identify if the recent list should be updated.Default Value:
false
Response
Supported Media Types
- application/json
200 Response
Successful operation. A page of workspace object summaries is retrieved.
Headers
-
opc-next-page: string
For pagination of a list of items. When paging through a list, if this header appears in the response, then a partial list might have been returned. Include this value as the `page` parameter for the subsequent GET request to get the next batch of items.
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : WorkspaceObjectCollection
Type:
objectResults of a workspace object list.
Show Source
-
items(required):
array items
List of workspace objects.
Nested Schema : items
Type:
arrayList of workspace objects.
Show Source
-
Array of:
object WorkspaceObjectSummary
Summary information about a workspace object.
Nested Schema : WorkspaceObjectSummary
Type:
objectSummary information about a workspace object.
Show Source
-
compositeEtag:
string
Etag combining data and metadata.
-
createdBy:
string
OCID of the user who created this object.
-
createdByName:
string
Name of the user who created this object.
-
description:
string
The description of workspace object.
-
displayName(required):
string
The name of the workspace object. This will be the name of the file/folder in the workspace. Example: Notebook1.ipynb, Folder1
-
metadata:
object metadata
Additional Properties Allowed: additionalPropertiesMetadata details of file or folder objects.
-
path(required):
string
The fully qualified path of the workspace object. Example: /Shared/Folder1/Notebook1.ipynb
-
systemTags:
object systemTags
Additional Properties Allowed: additionalPropertiesSystem tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
-
timeCreated(required):
string(date-time)
The date and time the workspace object was created, in the format defined by RFC 3339. Example: `2016-08-25T21:10:29.600Z`
-
timeUpdated:
string(date-time)
The date and time the workspace object was created, in the format defined by RFC 3339. Example: `2016-08-25T21:10:29.600Z`
-
type(required):
string
The type of workspace object.
Nested Schema : metadata
Type:
objectAdditional Properties Allowed
Show Source
Metadata details of file or folder objects.
Nested Schema : systemTags
Type:
objectAdditional Properties Allowed
Show Source
-
object additionalProperties
Additional Properties Allowed: additionalPropertiesKey-value pair representing a system tag key and value, scoped to a namespace. Example: `{"free-tier-retained": "true"}`
System tags for this resource. Each key is predefined and scoped to a namespace.
Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
Nested Schema : additionalProperties
Type:
objectAdditional Properties Allowed
Show Source
-
object additionalProperties
The value of the tag. Only the String type is supported.
Key-value pair representing a system tag key and value, scoped to a namespace.
Example: `{"free-tier-retained": "true"}`
Nested Schema : additionalProperties
Type:
objectThe value of the tag. Only the String type is supported.
400 Response
Bad Request (invalid query parameters, malformed headers, and so on).
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
401 Response
Unauthorized (missing or expired credentials, and so on).
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
404 Response
Not Found. The requested resource was not found.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
429 Response
Too Many Requests. Too many requests sent to the server in a short period.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
500 Response
Internal Server Error. The server encountered an unexpected condition preventing fulfilment of the request.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
Default Response
Unknown Error. Error is not recognized by the system.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.