Folders
/api/helpdesk/forms/folders/{folderId}/children
Exposes HelpDesk form folders as a hierarchical WebAPI resource.
GET /api/helpdesk/forms/folders returns the protected root node with compact summaries of its direct forms and one shallow level of child summaries. Resolve a child folder for its direct contents; descendants are never embedded recursively. Individual folders support normal create, update, and delete operations. New folders default to FolderSharingMode#PRIVATE. A normal delete is deliberately limited to empty folders; recursive deletion is an explicit confirmation-protected tree action. Read-only identifiers are accepted and ignored when a GET representation is sent back unchanged.
GET /api/helpdesk/forms/folders/{folderId}/children
Immediate child folders without nested descendants.
Parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
folderId |
path | string |
yes | folder identifier from the URL |
Response
| Status | Content Type | Schema | Description |
|---|---|---|---|
200 |
application/json |
array<FolderSummary> |
Successful response. |
Example Request
# Request
GET /api/helpdesk/forms/folders/<folderId>/children HTTP/1.1
Accept: application/json
Authorization: Bearer <access-token>
# Response
HTTP/1.1 200 OK
Content-Type: application/json
[
{
"sharingMode": "PUBLIC",
"name": "string",
"id": "5kug2v3wkhha3ygczhx3pox1q",
"parentId": "cc8jgpn8im2ol2yrmsnt0zv7k"
}
]
Common Error Responses
The status codes 400, 403, 404, 405, 406, 409, 413, 415, and 500 use the same ApiError JSON error format:
{
"status": 404,
"code": "route_not_found",
"message": "The requested API route does not exist.",
"details": []
}
Schemas
Request and response schemas used on this page.
FolderSummary
| Property | Type | Required | Description |
|---|---|---|---|
sharingMode |
string [PUBLIC, PRIVATE, RESTRICTED] |
no | — |
name |
string |
no | — |
id |
string |
no | — |
parentId |
string |
no | — |
ApiError
| Property | Type | Required | Description |
|---|---|---|---|
status |
integer (int32) |
yes | — |
code |
string |
yes | — |
message |
string |
yes | — |
details |
array<object> |
no | — |