Folders
Returns folders for the project. Filter by kind or parentId.
Token-based authentication with required prefix "Token"
test- Testcomponent- Componentfile- File
A page number within the paginated result set.
Number of results to return per page.
123http://api.example.org/accounts/?page=4http://api.example.org/accounts/?page=2Authentication credentials were missing or invalid.
GET /api/v2/folders/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"count": 123,
"next": "http://api.example.org/accounts/?page=4",
"previous": "http://api.example.org/accounts/?page=2",
"results": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"kind": "test",
"depth": 1,
"parentId": null
}
]
}Creates a new folder. Project is taken from the auth token.
Token-based authentication with required prefix "Token"
test- Testcomponent- Componentfile- File
test- Testcomponent- Componentfile- File
Request body failed validation.
Authentication credentials were missing or invalid.
POST /api/v2/folders/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 45
"name='text'&kind='test'&parentId=null"{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"kind": "test",
"depth": 1,
"parentId": null
}Returns a single folder.
Token-based authentication with required prefix "Token"
A UUID string identifying this folder.
test- Testcomponent- Componentfile- File
Authentication credentials were missing or invalid.
Resource not found.
GET /api/v2/folders/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"kind": "test",
"depth": 1,
"parentId": null
}Deletes a folder. Fails with 400 if folder is not empty unless force=true is passed. When forced, contained tests/components are unlinked and subtree is soft-deleted.
Token-based authentication with required prefix "Token"
A UUID string identifying this folder.
If true, deletes folder even if non-empty (cascades to subtree).
No response body
No content
Authentication credentials were missing or invalid.
Resource not found.
DELETE /api/v2/folders/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
No content
Updates folder name and/or moves the folder to a different parent. Pass parentId=null to move to root.
Token-based authentication with required prefix "Token"
A UUID string identifying this folder.
test- Testcomponent- Componentfile- File
Request body failed validation.
Authentication credentials were missing or invalid.
Resource not found.
PATCH /api/v2/folders/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 31
"name='text'&parentId=null"{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"kind": "test",
"depth": 1,
"parentId": null
}Returns the full nested folder tree for a given kind.
Token-based authentication with required prefix "Token"
Folder kind.
A page number within the paginated result set.
Number of results to return per page.
123http://api.example.org/accounts/?page=4http://api.example.org/accounts/?page=2Authentication credentials were missing or invalid.
GET /api/v2/folders/tree/?kind=component HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"count": 123,
"next": "http://api.example.org/accounts/?page=4",
"previous": "http://api.example.org/accounts/?page=2",
"results": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"kind": "text",
"depth": 1,
"parentId": null,
"created": "2026-01-01T00:00:00.000Z",
"contentCount": 1,
"children": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
]
}
]
}Last updated
Was this helpful?
