Folders
This chapter focuses on services for the folders.
Get folder
A GET
to /folders/{id}
returns the folder with the given id.
Path parameters
Parameter | Description |
---|---|
|
the id of the folder |
HTTP request
GET /api/rest/latest/folders/44 HTTP/1.1
Accept: application/json
Host: localhost:8080
Request parameters
Parameter | Description |
---|---|
|
which fields of the elements should be returned (optional) |
HTTP response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 70
{
"entity_type" : "FOLDER",
"id" : 44,
"name" : "First folder"
}
Response fields
Path | Type | Description |
---|---|---|
|
|
the type of the entity |
|
|
the id of the folder |
|
|
the name of the folder |
Links
Snippet links not found for operation::RestReportingControllerIT/get-folder
Delete folders
A DELETE
to /folders/{ids}
deletes one or several folder(s) with the given id(s).
Path parameters
Parameter | Description |
---|---|
|
the list of ids of the folders |
HTTP request
DELETE /api/rest/latest/folders/169,189 HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: localhost:8080