about summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
authorEugen <eugen@zeonfederated.com>2017-01-29 14:40:57 +0100
committerGitHub <noreply@github.com>2017-01-29 14:40:57 +0100
commit2165a0ec63424754b1ad82dc32bf9c6ef6b03867 (patch)
tree09804a47d1f1a8e47c257f40a8ab6834b62a6092 /docs
parenta30e669df24e680fa94fc954144d2fa9b04fcf4f (diff)
Update some API docs
Diffstat (limited to 'docs')
-rw-r--r--docs/Using-the-API/API.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/Using-the-API/API.md b/docs/Using-the-API/API.md
index 470310417..fecc6c59e 100644
--- a/docs/Using-the-API/API.md
+++ b/docs/Using-the-API/API.md
@@ -50,6 +50,7 @@ Form data:
 - `media_ids` (optional): array of media IDs to attach to the status (maximum 4)
 - `sensitive` (optional): set this to mark the media of the status as NSFW
 - `visibility` (optional): either `private`, `unlisted` or `public`
+- `spoiler_text` (optional): text to be shown as a warning before the actual content
 
 Returns the new status.
 
@@ -258,6 +259,9 @@ ___
 | `favourites_count`  ||
 | `reblogged`         | Boolean for authenticated user |
 | `favourited`        | Boolean for authenticated user |
+| `sensitive`         | Boolean, true if media attachments should be hidden by default |
+| `spoiler_text`      | If not empty, warning text that should be displayed before the actual content |
+| `visibility`        | Either `public`, `unlisted` or `private` |
 | `media_attachments` | array of MediaAttachments |
 | `mentions`          | array of Mentions |
 | `application`       | Application from which the status was posted |
@@ -297,6 +301,7 @@ Application:
 | `url`             | URL of the user's profile page (can be remote) |
 | `avatar`          | URL to the avatar image |
 | `header`          | URL to the header image |
+| `locked`          | Boolean for when the account cannot be followed without waiting for approval first |
 | `followers_count` ||
 | `following_count` ||
 | `statuses_count`  ||