Folders: remove get by id from docs (#97069)

This commit is contained in:
Stephanie Hingtgen
2024-11-26 18:12:07 -07:00
committed by GitHub
parent 5fadc35664
commit 72ffe9838a

View File

@ -342,61 +342,6 @@ Status Codes:
- **403** Access Denied
- **404** Folder not found
```
**Example Response**:
```http
HTTP/1.1 200
Content-Type: application/json
```
Status Codes:
- **200** Moved
- **400** Errors (invalid JSON, missing or invalid fields, and so on)
- **401** Unauthorized
- **403** Access denied
- **404** Not found
```http
GET /api/folders/id/1 HTTP/1.1
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk
```
**Example Response**:
```http
HTTP/1.1 200
Content-Type: application/json
{
"id":1,
"uid": "nErXDvCkzz",
"title": "Department ABC",
"url": "/dashboards/f/nErXDvCkzz/department-abc",
"hasAcl": false,
"canSave": true,
"canEdit": true,
"canAdmin": true,
"createdBy": "admin",
"created": "2018-01-31T17:43:12+01:00",
"updatedBy": "admin",
"updated": "2018-01-31T17:43:12+01:00",
"version": 1
}
```
Status Codes:
- **200** Found
- **401** Unauthorized
- **403** Access Denied
- **404** Folder not found
## Move folder
`POST /api/folders/:uid/move`