/v0/timeline/accounts/:id
const url = 'http://localhost:3000/v0/timeline/accounts/:id';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:3000/v0/timeline/accounts/:idParameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Query Parameters
Section titled “Query Parameters ”If true, only return notes with attachment
If true, only return notes with attachment
If true, only return notes without sensitive content
If true, only return notes without sensitive content
Return notes before this note ID. specified note ID is not included. NOTE: after_id and before_id are exclusive.
Return notes before this note ID. specified note ID is not included. NOTE: after_id and before_id are exclusive.
Return notes after this note ID. Specified note is not included. NOTE: after_id and before_id are exclusive.
Return notes after this note ID. Specified note is not included. NOTE: after_id and before_id are exclusive.
Responses
Section titled “ Responses ”OK
object
Note ID
Note content
Contents warning comment
Note visibility (PUBLIC/HOME/FOLLOWERS/DIRECT)
Note created date
Note Attachment Media
object
Attachment Medium id
Attachment filename
Attachment author account id
Attachment medium blurhash
Attachment medium mime type
If true, attachment is nsfw
Attachment medium url
Attachment thumbnail url
object
Original note ID (if this note is a renote)
Whether the current user has renoted this note (always false if not logged in)
Example
[ { "id": "38477395", "content": "hello world!", "contents_warning_comment": "(if length not 0) This note contains sensitive content", "visibility": "PUBLIC", "created_at": "2021-01-01T00:00:00Z", "reactions": [ { "emoji": "🎉", "reacted_by": "38477395" } ], "attachment_files": [ { "id": "39783475", "name": "image.jpg", "author_id": "309823457", "hash": "e9f*5oin{dn", "mime": "image/jpeg", "nsfw": false, "url": "https://images.example.com/image.webp", "thumbnail": "https://images.example.com/image_thumbnail.webp" } ], "original_note_id": "38477395", "renoted": false }]You are blocked by specified account
object
You are blocked by the account
Example
{ "error": "YOU_ARE_BLOCKED"}Account not found
Internal error
Internal server error
object
Internal server error
Example
{ "error": "INTERNAL_ERROR"}