Skip to content

EditStatusRequest

The new content of a status.

object
text
required

The plain text; the server links mentions, hashtags, and URLs.

string
>= 1 characters
spoiler_text

The content warning; omitted or empty for none. It counts toward max_post_characters.

string
sensitive

Whether the media are sensitive.

boolean
language

A BCP 47 language tag; omitted means the user’s default post language.

string
>= 1 characters <= 35 characters
media

The media to attach, in order.

Array<object>
<= 4 items

A media file to attach, with its alternative text.

object
id
required

The ID of a resource, a UUIDv7 in its canonical string form.

string format: uuid
description

The alternative text; omitted or empty for none. While the instance requires alt text (limits.require_media_description of GET /instance), a post or an edit whose media file has none, or only spaces, is a 422.

string
<= 1500 characters
remove_quote

Takes the status’s quote away for good. A status keeps the status it quotes otherwise: an edit cannot change it.

boolean

Example generated

{
"text": "example",
"spoiler_text": "example",
"sensitive": true,
"language": "example",
"media": [
{
"id": "01890a5d-ac96-774b-bcce-b302099a8057",
"description": "example"
}
],
"remove_quote": true
}

For LLMs and coding agents:llms.txt,llms-full.txt, llms-small.txt

Analytics on this site