Skip to content

DraftArticleInput

Makes the draft that of an article, whose text is the body in Markdown. A draft of an article has no spoiler_text, media, poll, in_reply_to_id, or quoted_status_id, and is never direct (422). It keeps an empty title; publishing it checks it as createArticle does.

object
title

The title, as plain text; omitted or empty while there is none.

string
<= 200 characters
summary

The summary of an article, as plain text. Omitted or blank, the server makes one from the start of the body (about 200 characters, cut at the end of a sentence or word). It is a summary, never a content warning.

string
<= 500 characters
cover

The cover image, one of the user’s own uploads, processed or not.

Schema: StatusMediaItem

object
tags

The hashtags, with or without #; checked when the draft is published.

Array<string>
<= 10 items

Example generated

{
"title": "example",
"summary": "example",
"cover": {},
"tags": [
"example"
]
}

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

Analytics on this site