Variant List (By Creator)
INFO
Get all variants created by the specified creator
Request Method
| Item | Name | Sample |
|---|---|---|
| Path | Path | {Api_Address}/variant/list_by_creator |
| Request Method | GET |
Request Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| Sign Params | Y | View details | |
| creator | string | Y | Creator |
Return Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| code | int | Y | |
| msg | string | Y | Message for debug |
| data | array | Y | Variant Items |
Variant Items
| Name | Type | Required | Description |
|---|---|---|---|
| variant_id | int | Y | Variant Id |
| game_code | string | Y | The index of game data |
| name | string | N | Variant Name |
| cover_url | string | Y | Variant Cover Url |
| creator | string | Y | Creator |
| status | int | Y | Status: 1=enable; 2=disable |
| created_at | int | Y | Create Time |
Sample
Http Request
GET: Method
URL: /variant/list_by_creator?mid=1705374337&sign=ac304cdd3e4f3ad98bb08a52e8b1e40cc76303fcf9aa72558368ff1c8e35be52&ts=1713768205&creator=10021
Http Response(success)
{
"code": 0,
"msg": "",
"data": [
{
"variant_id": 2,
"game_code": "gp_lottery_87",
"name": "",
"cover_url": "https://vc-r2.dev.pre-release.xyz/2/cover.jpeg",
"creator": "10021",
"status": 1,
"created_at": 1768991589
}
]
}