Directory
User artifacts such as data flows, library nodes, and scheduled tasks can be organized in directories.
Get a list of directories
GET
request returns the list of directories in the specified container. The container may be a directory, workspace or tenant. The response can be filtered by directory name.
Path Parameters
None
Request Parameters
Parameter | Description |
---|---|
|
The container locator of the requested directories. This can be a tenant, workspace or directory. |
|
Specifies the fields to return in the response. One or more of |
|
An optional FIQL filter expression. Supports searching by the 'name' attribute. For example |
|
The authentication token. |
Response Fields
Path | Type | Description |
---|---|---|
|
|
The object resource locator of the requested directory. |
|
|
Status of the response. One of: |
|
|
The identity of the directory. It must be unique and will be allocated if not specified at creation. |
|
|
The name of the directory. |
|
|
Optional description of directory. |
Example request
GET /api/v3/directories?container=object:!tenant:defaultTenant~directory:workspace-id&fields=object&filter=name%3D%3D'Directory%20Name'<k=AUTHENTICATION_TOKEN HTTP/1.1
Host: localhost:8080
Example response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 529
{
"status" : "OK",
"data" : {
"objects" : [ {
"locator" : "object:!tenant:defaultTenant~directory:directory-id-001",
"object" : {
"id" : "directory-id-001",
"name" : "First Directory",
"description" : "Description of Directory"
}
}, {
"locator" : "object:!tenant:defaultTenant~directory:directory-id-002",
"object" : {
"id" : "directory-id-002",
"name" : "Second Directory",
"description" : "Description of Directory"
}
} ]
}
}