直达内容

上传表情包

上传自定义表情包, 具体的表情包格式参照: 贴纸制作规范

POST /albums

API 端点 URL

 https://api.mixin.one/albums

授权和其他选项

授权
Authorized
限制No limitation

参数

data_zip_base64
*必须
用 base64 编码的表情包 zip 文件

请求示例

curl -i -X POST -H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" https://api.mixin.one/albums
Response
{
"data": {
"type": "sticker_album",
"album_id": "773e5e77-4107-45c2-b648-8fc722ed77f5",
"user_id": "773e5e77-4107-45c2-b648-8fc722ed77f5",
"name": "album name",
"icon_url": "https://images.mixin.one/E2y0BnTopFK9qey0YI-8xV3M82kudNnTaGw0U5SU065864SsewNUo6fe9kDF1HIzVYhXqzws4lBZnLj1lPsjk-0=s256",
"locale": "en",
"category": "SYSTEM",
"description": "album description",
"banner": "https://images.mixin.one/E2y0BnTopFK9qey0YI-8xV3M82kudNnTaGw0U5SU065864SsewNUo6fe9kDF1HIzVYhXqzws4lBZnLj1lPsjk-0=s256",
"is_verified": true
"created_at": "2017-12-23T18:23:26.996149Z",
"updated_at": "2017-12-23T18:23:26.996149Z",
}
}