1
0
mirror of https://github.com/mastodon/documentation synced 2025-04-11 22:56:17 +02:00
documentation/content/en/entities/scheduledstatus.md
trwnh 7ceae9fe36 Update anchors, line breaks, tootctl options (#745)
* update anchors

* remove extraneous anchors

* fix line breaks

* wrap tootctl tokens in code blocks

* change anchors to hugo format

* fix mistaken search-and-replace

* fix mistaken search-and-replace
2020-01-12 14:11:56 +01:00

2.2 KiB

title description menu
ScheduledStatus Represents a status that will be published at a future scheduled date.
docs
parent
entities

{{< hint style="warning" >}} This page is currently under construction. {{< /hint >}}

Example

{
  "id": "3221",
  "scheduled_at": "2019-12-05T12:33:01.000Z",
  "params": {
    "text": "test content",
    "media_ids": null,
    "sensitive": null,
    "spoiler_text": null,
    "visibility": null,
    "scheduled_at": null,
    "poll": null,
    "idempotency": null,
    "in_reply_to_id": null,
    "application_id": 596551
  },
  "media_attachments": []
}

Required attributes

id

Description: ID of the scheduled status in the database.
Type: String (cast from an integer but not guaranteed to be a number)
Version history: Added in 2.7.0

scheduled_at

Description: ID of the status in the database.
Type: String (ISO 8601 Datetime)
Version history: Added in 2.7.0

params

params[text]

params[visibility]

params[application_id]

media_attachments

Optional attributes

params

in_reply_to_id

media_ids

sensitive

spoiler_text

scheduled_at

ScheduledStatus

Attribute Type Nullable Added in
id String No 2.7.0
scheduled_at String Datetime No 2.7.0
params StatusParams No 2.7.0
media_attachments Array of Attachment No 2.7.0

StatusParams

Attribute Type Nullable Added in
text String No 2.7.0
in_reply_to_id String 2.7.0
media_ids Array of String 2.7.0
sensitive Boolean 2.7.0
spoiler_text String 2.7.0
visibility String (Enum) No 2.7.0
scheduled_at String Datetime 2.7.0
application_id String No 2.7.0

See also

{{< page-ref page="methods/statuses/scheduled_statuses.md" >}}

{{< caption-link url="https://github.com/tootsuite/mastodon/blob/master/app/serializers/rest/scheduled_status_serializer.rb" caption="app/serializers/rest/scheduled_status_serializer.rb" >}}