PATCH
/v1/courses/{course_id}/notes/{id}
curl \
-X PATCH http://localhost:4000/v1/courses/{course_id}/notes/uuidv4 \
-H "Content-Type: application/json" \
-d '{"note":{"id":0,"date":"2020-04-20","title":"","content":"","author_id":"","is_pinned":false}}'
Request example
{
"note": {
"id": 0,
"date": "2020-04-20",
"title": "",
"content": "",
"author_id": "",
"is_pinned": false
}
}
Response examples (200)
{
"data": {
"id": 0,
"date": "2020-04-20",
"title": "",
"content": "",
"author_id": "",
"is_pinned": false
}
}