コンテンツにスキップ

/notes/:id/bookmark (POST)

POST
/notes/:id/bookmark

Authorizations

Parameters

Path Parameters

id
required

Note ID

string
1

Responses

200

OK

object
id
required

Note ID

string
38477395
content
required

Note content

string
hello world!
visibility
required

Note visibility

string
PUBLIC
contents_warning_comment
required

Contents warning comment

string
This note contains sensitive content
author_id
required

Author account ID

string
38477395
created_at
required

Note created date

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

Note Attachment Media

Array<object>
<= 16 items
object
id
required

Attachment Medium id

string
39783475
name
required

Attachment filename

string
image.jpg
author_id
required

Attachment author account id

string
309823457
hash
required

Attachment medium blurhash

string
e9f*5oin{dn
mime
required

Attachment medium mime type

string
image/jpeg
nsfw
required

If true, attachment is nsfw

boolean
url
required

Attachment medium url

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

Attachment thumbnail url

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

404

Note not found

Note not found

object
error
required

Note not found

string
Allowed values: NOTE_NOT_FOUND

500

Internal Server Error

Internal Error

object
error
required

Internal Error

string
Allowed values: INTERNAL_ERROR