GET/v2/notesHeaders
| Name | Value |
| Content-Type | application/json |
| Authorization | Bearer <token> |
Response
JSON[ { "id": 1, "name": "Доступы к тестовым сервисам", "content": "user.alpha"
} ]
GET/v2/notes/note/:idHeaders
| Name | Value |
| Content-Type | application/json |
| Authorization | Bearer <token> |
Response
JSON[ { "id": 1, "name": "Доступы к тестовым сервисам", "content": "user.alpha"
} ]
POST/v2/notesHeaders
| Name | Value |
| Content-Type | application/json |
| Authorization | Bearer <token> |
Body
| Name | Value |
| name | Название заметки |
| content | Контент заметки (допускается HTML) |
Response
JSON{ status: "OK", msg: "Created" }
POST/v2/notes/note/:idHeaders
| Name | Value |
| Content-Type | application/json |
| Authorization | Bearer <token> |
Body
| Name | Value |
| name | Название заметки |
| content | Контент заметки (допускается HTML) |
JSON{ status: "OK" }
DELETE/v2/notes/note/:idHeaders
| Name | Value |
| Content-Type | application/json |
| Authorization | Bearer <token> |
Response
JSON{ status: "OK" }