Aggregate Folders
Aggregates are scoped to a project. Within a project, an aggregate belongs to a folder: most operations take a folderUrn parameter that scopes the request, and it can take two kinds of value:
- a document folder URN identifying a folder in Forma Data Management, or
- the project-level moniker - the literal string
project-level- which means the aggregate belongs to the project itself rather than to any folder.
The two kinds of value also differ in their permission requirements - see Aggregate Permissions.
Note
A project supports a maximum of 500 aggregate folders that have not been deleted. The project-level moniker counts toward this limit as a single virtual folder.
Document Folder URNs
A document folder URN has the format urn:adsk.<environment>:fs.folder:co.<folderId>. Note that it is the full URN, not a bare folder ID.
- First use - before you can use a document folder URN, it must be set up in the service with POST projects/:projectId/folders. Using a folder URN that has not been set up results in a not-found error.
- Queries - listing and filtering are scoped within the folder.
Note
URL-encode the folder URN before using it in a request.
Project-Level
The string project-level is not a URN at all - it is a moniker value that means “this aggregate belongs to the project itself, not to any folder”. This is what allows a search set to reference models anywhere in the project.
It behaves differently from a document folder in several ways:
- First use - the project level needs no setup.
- Queries - aggregates created using the project-level moniker can only be used with the project-level moniker.
Note
The moniker is compared case-insensitively, so Project-Level is accepted as well - but clients should always send the canonical lowercase form project-level.