Appearance
Provider user list export
GET
v1/ad/provider/user/:provider_id/list/export
Request
name | necessary | type | default | describe |
---|---|---|---|---|
username | false | string | - | 账号(account) |
user_id | false | string | - | 用户id(user id) |
status | false | int | - | 状态:0未加入,1正常(status: 0 not joined, 1normal) |
Response data struct
name | necessary | type | default | describe |
---|---|---|---|---|
code | true | int | - | 错误码(error code) |
message | true | string | - | 错误信息(error message) |
cause | true | string | - | 错误原因(error cause) |
details | true | object | - | 详情(details) |
-url | true | string | - | 下载链接(download url) |
Example
Url params:
v1/ad/provider/user/20221129213412veTbeU2i/list/export
Header:
key | value |
---|---|
x-api-key | your's key value |
- Response body:
json
{
"code": 0,
"message": "Success",
"cause": "",
"details": {
"url": "https://api-somnoon.com/v1/static/userList-20221205094752WzCH4pBK.xlsx?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NzA4MDk2NzIsInNpZ24iOiJ1c2VyTGlzdC0yMDIyMTIwNTA5NDc1Mld6Q0g0cEJLLnhsc3gifQ.xXX7NnIZeDcCSZnHQ6QEAmmZTNYP-yX4AvOooQa1EMY"
}
}
{
"code": 0,
"message": "Success",
"cause": "",
"details": {
"url": "https://api-somnoon.com/v1/static/userList-20221205094752WzCH4pBK.xlsx?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NzA4MDk2NzIsInNpZ24iOiJ1c2VyTGlzdC0yMDIyMTIwNTA5NDc1Mld6Q0g0cEJLLnhsc3gifQ.xXX7NnIZeDcCSZnHQ6QEAmmZTNYP-yX4AvOooQa1EMY"
}
}