Queries
folder
Retrieve folder specified by the provided Id.
Template for Query:
query GetFolder($projectId: ID!, $folderId: ID!) {
folder(projectId: $projectId, folderId: $folderId) {
# Folder Fields
}
}
Arguments
| projectId* ID! non-null | The ID of the project that contains the item. |
| folderId* ID! non-null | The ID of the item to retrieve. |
* Required
Possible Returns
| Value Type | Description |
|---|---|
| Folder | Represents a folder. A folder is a location for storing files, data, and other folders (sub-folders). |
Examples
Example 1
Retrieve folder specified by the provided Id.
Query:
query GetFolder($projectId: ID!, $folderId: ID!) {
folder(projectId: $projectId, folderId: $folderId) {
id
name
fusionWebUrl
}
}
Query Variables:
{
"folderId": "urn:adsk.wipstg:fs.folder:co.ANUSmTc1QTaSEzp3FB8iag",
"projectId": "urn:adsk.workspace:beta.project:e0b62c50-ed1d-4322-a951-a05e2d75845a"
}
Response:
{
"data": {
"folder": {
"id": "urn:adsk.wipstg:fs.folder:co.ANUSmTc1QTaSEzp3FB8iag",
"name": "DocFolder",
"fusionWebUrl": "https://yopmail9163.staging.autodesk360.com/g/projects/20261030146203051/data/dXJuOmFkc2sud2lwc3RnOmZzLmZvbGRlcjpjby5BTlVTbVRjMVFUYVNFenAzRkI4aWFn"
}
}
}
Show More