POST
/v1/courses/{course_id}/notes
curl \
-X POST http://localhost:4000/v1/courses/uuidv4/notes \
-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 (201)
{
"data": {
"id": 0,
"date": "2020-04-20",
"title": "",
"content": "",
"author_id": "",
"is_pinned": false
}
}