查询账号

基本信息

    GET  /api/v1/user/list

接口描述:查询已创建账号的信息,代理信息和代理ID

请求参数

Query 非必需参数可以不传递

参数名称 必需 默认值 示例 说明
group_id - 1001 指定分组ID查询账号,默认不传递则查询所有分组的账号
user_id - xxxxxxx 指定账号ID查询
serial_number - 123 指定序号查询
page 1 1 页码,默认1,数量多需要翻页时用
page_size 1 50 每页大小,默认每页1 ,最大100

返回数据

    //执行成功
    {
      "code": 0,
      "data": {
        "list": [
        {
            "created_at": 1709705501,// 时间戳
            "name": "xxxxx",
            "password": "",
            "platform": "Other",
            "platform_url": "xxxx",
            "cookie": "",
            "comment": "",
            "last_ip": "14.145.240.81",
            "last_visited": 1709705511,
            "group_id": 0,
            "group_name": "",
            "serial_number": 2338,
            "user_id": "4c0202fa-84bb-496b-9b19-xxxxx",
            "last_open_time": 1709705511,// 最近一次打开时间(时间戳)
            "username": ""
        }],
        "page": 1,
        "page_size": 50
      },
      "msg": "Success"
    }

    //执行失败
    {
      "code":-1,
      "data":{},
      "msg":"failed"
    }
© 2019 all right reserved,powered by Gitbook本文档更新于: 2024-03-07 16:28

results matching ""

    No results matching ""