This endpoint is in preview and may be modified or removed at any time.
To use this endpoint, add preview=true
to the request query parameters.
Get the Folder with the specified rid.
Third-party applications using this endpoint via OAuth2 must request the following operation scope: api:filesystem-read
.
object
string
The unique resource identifier (RID) of a Folder.
string
The display name of the Resource
string
The description associated with the Folder.
string
The documentation associated with the Folder.
string
The full path to the resource, including the resource name itself
string
The Foundry user who created this resource
string
The Foundry user who last updated this resource
string
The time at which the resource was created.
string
The time at which the resource was most recently updated.
string
(enum)The trash status of the Folder. If trashed, this could either be because the Folder itself has been trashed or because one of its ancestors has been trashed.
Enum values: DIRECTLY_TRASHED
, ANCESTOR_TRASHED
, NOT_TRASHED
string
The parent folder Resource Identifier (RID). For Projects, this will be the Space RID and for Spaces,
this value will be the root folder (ri.compass.main.folder.0
).
string
The Project Resource Identifier (RID) that the Folder lives in. If the Folder is a Space, this value will not be defined.
string
The Space Resource Identifier (RID) that the Folder lives in. If the Folder is a Space, this value will be the same as the Folder RID.
1
2
3
curl \
-H "Authorization: Bearer $TOKEN" \
"https://$HOSTNAME/api/v2/filesystem/folders/ri.compass.main.folder.01a79a9d-e293-48db-a585-9ffe221536e8?preview=true"
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
"projectRid": "ri.compass.main.folder.4cae7c13-b59f-48f6-9ef2-dbde603e4e33",
"updatedTime": "2024-09-25T17:29:35.974Z",
"updatedBy": "f05f8da4-b84c-4fca-9c77-8af0b13d11de",
"displayName": "My Folder",
"description": "This dataset contains important data about Empyrean Airlines",
"rid": "ri.compass.main.folder.01a79a9d-e293-48db-a585-9ffe221536e8",
"type": "FOLDER",
"spaceRid": "ri.compass.main.folder.a86ad5f5-3db5-48e4-9fdd-00aa3e5731ca",
"trashStatus": "NOT_TRASHED",
"parentFolderRid": "ri.compass.main.folder.4cae7c13-b59f-48f6-9ef2-dbde603e4e33",
"path": "/Empyrean Airlines/My Important Project/My Folder",
"createdBy": "f05f8da4-b84c-4fca-9c77-8af0b13d11de",
"createdTime": "2024-09-25T17:29:35.974Z"
}