Add document of emoji

This commit is contained in:
moko256 2017-10-20 23:26:58 +09:00
parent 91983f005f
commit a0f77af200
1 changed files with 10 additions and 0 deletions

View File

@ -27,6 +27,7 @@ API overview
- [Attachment](#attachment)
- [Card](#card)
- [Context](#context)
- [Emoji](#emoji)
- [Error](#error)
- [Instance](#instance)
- [Mention](#mention)
@ -640,6 +641,14 @@ ___
| `ancestors` | The ancestors of the status in the conversation, as a list of [Statuses](#status) | no |
| `descendants` | The descendants of the status in the conversation, as a list of [Statuses](#status) | no |
### Emoji
| Attribute | Description | Nullable |
|--------------------------|------------------------------------|----------|
| `shortcode` | The shortcode of the emoji | no |
| `static_url` | URL to the emoji static image | no |
| `url` | URL to the emoji image | no |
### Error
| Attribute | Description | Nullable |
@ -716,6 +725,7 @@ ___
| `reblog` | `null` or the reblogged [Status](#status) | yes |
| `content` | Body of the status; this will contain HTML (remote HTML already sanitized) | no |
| `created_at` | The time the status was created | no |
| `emojis` | An array of [Emoji](#emoji) | yes |
| `reblogs_count` | The number of reblogs for the status | no |
| `favourites_count` | The number of favourites for the status | no |
| `reblogged` | Whether the authenticated user has reblogged the status | yes |