From a0f77af2004554dc437b39da60938de804228087 Mon Sep 17 00:00:00 2001 From: moko256 Date: Fri, 20 Oct 2017 23:26:58 +0900 Subject: [PATCH] Add document of emoji --- Using-the-API/API.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Using-the-API/API.md b/Using-the-API/API.md index b3729042..80a92bd7 100644 --- a/Using-the-API/API.md +++ b/Using-the-API/API.md @@ -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 |