GET /v1/stickerpacks?namespace=whatsapp
{ "stickerpacks": [ {"id": "sticker-pack-id1"}, {"id": "sticker-pack-id2"} ] }
GET /v1/stickerpacks/sticker-pack-id?namespace=whatsapp
{ "stickerpacks": [ { "publisher" : "sticker-pack-publisher-name", "name": "sticker-pack-name" } ] }
GET /v1/stickerpacks/sticker-pack-id/stickers?namespace=whatsapp
{ "stickers": [ {"index": "sticker-index1"}, {"index": "sticker-index2"} ] }
GET /v1/stickerpacks/sticker-pack-id/stickers/sticker-index?namespace=whatsapp
{ "stickers": [ { "id": "sticker-media-id" # ex: b942a4d1-4e1d-4c56-8cfa-a848b8222061 "emojis": ["🐥", "😃"], } ] }
POST /v1/stickerpacks { "publisher" : "your-publisher-name", "name": "your-sticker-pack-name", "ios_app_store_link" : "https://itunes.apple.com/app/id3133333", "android_app_store_link" : "https://play.google.com/store/apps/details?id=com.example", }
名称 | 是否必需 | 描述 |
---|---|---|
| 是 | 第三方贴图包的发行商名称 |
| 是 | 贴图包名称 |
| 否 | Apple iOS App Store 中的贴图包链接 |
| 否 | Google Play 商店中的贴图包链接 |
{ "stickerpacks": [ { "id": "sticker-pack-id" } ] }
GET /v1/stickerpacks
{ "stickerpacks": [ {"id": "sticker-pack-id1"}, {"id": "sticker-pack-id2"} ] }
GET /v1/stickerpacks/your-sticker-pack-id
{ "stickerpacks": [ { "publisher" : "sticker-pack-publisher-name", "name": "sticker-pack-name", "ios_app_store_link" : "https://itunes.apple.com/app/id3133333", "android_app_store_link" : "https://play.google.com/store/apps/details?id=com.example", } ] }
PATCH /v1/stickerpacks/your-sticker-pack-id { "publisher" : "your-publisher-name", "name": "your-sticker-pack-name", "ios_app_store_link" : "https://itunes.apple.com/app/id3133333", "android_app_store_link" : "https://play.google.com/store/apps/details?id=com.example", }
名称 | 是否必需 | 描述 |
---|---|---|
| 否 | 第三方贴图包的发行商名称 |
| 否 | 贴图包名称 |
| 否 | Apple iOS App Store 中的贴图包链接 |
| 否 | Google Play 商店中的贴图包链接 |
成功的响应会显示 200 OK
,以及 null
或 {}
。
null or {}
DELETE /v1/stickerpacks/your-sticker-pack-id
成功的响应会显示 200 OK
,以及 null
或 {}
。
null or {}
POST /v1/stickerpacks/your-sticker-pack-id/stickers { "image_data_id" : "your-sticker-image-media-id", "emojis": ["🐥", "😃"] }
名称 | 是否必需 | 描述 |
---|---|---|
| 是 | 贴图多媒体素材编号 |
| 否 | 贴图包中的一组表情符号 |
{ "stickers": [{ "index": "sticker-index" }] }
GET /v1/stickerpacks/your-sticker-pack-id/stickers
{ "stickers": [ {"index": "sticker-index1"}, {"index": "sticker-index2"} ] }
GET /v1/stickerpacks/your-sticker-pack-id/stickers/your-sticker-index
{ "stickers": [ { "id": "sticker-media-id" # ex: b942a4d1-4e1d-4c56-8cfa-a848b8222061 "emojis": ["🐥", "😃"], "image_data_id" : "sticker-image-media-id", } ] }
PATCH /v1/stickerpacks/your-sticker-pack-id/stickers/your-sticker-index { "image_data_id" : "your-sticker-image-media-id", "emojis": ["🐥", "😃"], }
名称 | 是否必需 | 描述 |
---|---|---|
| 否 | 贴图多媒体素材编号 |
| 否 | 贴图包中的一组表情符号 |
成功的响应会显示 200 OK
,以及 null
或 {}
。
null or {}
DELETE /v1/stickerpacks/your-sticker-pack-id/stickers/your-sticker-index
成功的响应会显示 200 OK
,以及 null
或 {}
。
null or {}