Note Reactions API
Bu içerik henüz dilinizde mevcut değil.
List note reactions
Заголовок раздела «List note reactions»List all note reactions for a note:
GET /notes/:note_id/note_reactions
Response
Заголовок раздела «Response»Status: 200 OK[ { "id": 5, "person": { "id": 6, "name": "Howard Tanner" }, "account": { "id": 5, "name": "Widget Data Center" }, "reaction": "👍" }]The response contains these fields by default. Pagination is available to reduce/limit the collection of note reactions.
Create a note reaction
Заголовок раздела «Create a note reaction»POST /note_reactions
When creating a new note reaction you have to provide a note_id and reaction see the fields section .
Response
Заголовок раздела «Response»Status: 201 Created{ "id": 5, "person": { "id": 6, "name": "Howard Tanner" }, "account": { "id": 5, "name": "Widget Data Center" }, "reaction": "👍"}Remove a note reaction
Заголовок раздела «Remove a note reaction»Remove a note reaction with a specific ID.
DELETE /note_reactions/:id
Response
Заголовок раздела «Response»Status: 204 No Contentaccount
Readonly reference to Account — The account that the note reaction belongs to
id
Readonly integer — The unique ID of the note reaction.
note_id
person
reaction
Required string — The type of reaction to add to the note. Valid values are: 👍 👎 😀 😕 🎉 ❤️.