Get Colors of the Message Icon¶
Get the collection of colors that the message icon can be configured.
Request Format¶
GET https://{apigw-address}/app-portal-service/v2.0/message/enum/colors
Response Parameters¶
Name |
Data Type |
Description |
---|---|---|
data |
data struct |
Color list |
data Struct¶
Name |
Data Type |
Description |
---|---|---|
colors |
Color struct |
List of the colors for the message icon |
Color Struct¶
Name |
Data Type |
Description |
---|---|---|
id |
int |
Color ID |
name |
I18nString |
Internationalized name of the colors. For the structure, see Internationalized name struct |
Sample¶
Request Sample¶
GET
https://{apigw-address}/app-portal-service/v2.0/message/enum/colors
Return Sample¶
{
"code": 200,
"message": "",
"data": {
"colors": [
{
"id": 0,
"name": {
"default": "red",
"en_US": "red",
"zh_CN": "红色"
}
},
{
"id": 1,
"name": {
"default": "Yellow ",
"en_US": "Yellow ",
"zh_CN": "黄色"
}
},
{
"id": 2,
"name": {
"default": "Gray",
"en_US": "Gray",
"zh_CN": "灰色"
}
}
]
}
}