コンテンツにスキップ

/v0/notes/:id/reaction (POST)

POST
/v0/notes/:id/reaction
id
required

Note ID

string
Example
1

Note ID

object
emoji
required

Emoji

string
Example
🎉

OK

object
id
required

Note ID

string
Example
38477395
content
required

Note content

string
Example
hello world!
visibility
required

Note visibility

string
Example
PUBLIC
contents_warning_comment
required

Contents warning comment

string
Example
This note contains sensitive content
author_id
required

Author account ID

string
Example
38477395
created_at
required

Note created date

string
Example
2021-01-01T00:00:00Z
attachment_files
required

Note Attachment Media

Array<object>
<= 16 items
object
id
required

Attachment Medium id

string
Example
39783475
name
required

Attachment filename

string
Example
image.jpg
author_id
required

Attachment author account id

string
Example
309823457
hash
required

Attachment medium blurhash

string
Example
e9f*5oin{dn
mime
required

Attachment medium mime type

string
Example
image/jpeg
nsfw
required

If true, attachment is nsfw

boolean
url
required

Attachment medium url

string format: uri
Example
https://images.example.com/image.webp
thumbnail
required

Attachment thumbnail url

string
Example
https://images.example.com/image_thumbnail.webp

Bad Request

object
error
required
Any of:

You already reacted to this note

string
Allowed values: ALREADY_REACTED

Not Found

object
error
required

Note not found

string
Allowed values: NOTE_NOT_FOUND

Internal Server Error

Internal Error

object
error
required

Internal Error

string
Allowed values: INTERNAL_ERROR