---
# System prepended metadata

title: admin api

---

admin api
-----

time : ISO 8601

Pagination Request Model :
```json
{
    //第幾頁
    page int
    //一頁幾筆資料
    perPage int 
}
```

Pagination Result model: 
```json=
{
    //全部幾筆
    total int
    
    //第幾頁
    page int
    
   // 一頁幾筆資料
    perPage int
    
    //有沒有下一頁
    hasNext bool
    
    //有沒有上一頁
    hasPrev bool
    
   // 回傳的資料集合
    results : []object
}
```

---
description : show wallet list
uri : /wallet
query string : ?page={interger}&perPage={integer}
verb : GET

wallet model : 
```json=
{
    "l1Address": "string",
    "registredTime":"string",
    "inBlacklist": bool,
    "groupName":"string"
}
```

responses :

1. 200 
```json=
{
    "total": int
    "page": int
    "perPage": int
    "hasNext": bool
    "hasPrev": bool
    "results": []wallet {
        "l1Address": "string",
        "registredTime":"string",
        "inBlacklist": bool,
        "groupName":"string"
    }
}
```

----
description : show wallet list
uri : /wallet/trading_info
query string : ?action={action}&status={status}&page={interger}&perPage={integer}
verb : GET


traing_info model : 
```json=
{
    "action": "string",
    "asset":"string",
    "amount": number??decimal??bigint??,
    "txID":"string",
    "status": "string",
    "time":"string"
}
```

responses :

1. 200 
```json=
{
    "total": int
    "page": int
    "perPage": int
    "hasNext": bool
    "hasPrev": bool
    "results": []traing_info {
        "action": "string",
        "asset":"string",
        "amount": number??,
        "txID":"string",
        "status": "string",
        "time":"string"
    }
}
```
