Get Updated list of custom emojis
Get an updated list of custom emojis
URL | Requires Auth | HTTP Method |
---|---|---|
/api/v1/emoji-custom.list | yes | GET |
Argument | Example | Required | Description |
---|---|---|---|
updatedSince | 2017-11-25T15:08:17.248Z | Optional | Date as ISO string |
When you provide the
updatedSince
query parameter in the URL then the update
and remove
in the response will contain only those updated and removed since this date and time.curl -H "X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq" \
-H "X-User-Id: aobEdbYhXfu5hkeqG" \
http://localhost:3000/api/v1/emoji-custom.list
curl -H "X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq" \
-H "X-User-Id: aobEdbYhXfu5hkeqG" \
http://localhost:3000/api/v1/emoji-custom.list?updatedSince=2019-02-25T15:08:17.248Z
{
"emojis": {
"update": [
{
"_id": "S5XvYppoLrLd9JvQm",
"name": "teste",
"aliases": [],
"extension": "jpg",
"_updatedAt": "2019-02-18T16:48:35.119Z"
}
],
"remove": [
{
"_id": "2dbVBG434dnsdh23",
"name": "teste3",
"aliases": [],
"extension": "jpg",
"_updatedAt": "2019-02-18T16:48:35.119Z"
}
]
},
"success": true
}
Version | Description |
---|---|
0.75.0 | Added |
Last modified 5mo ago