Get Device List
Query the authenticated user device list with pagination and status filters.
/api/device/listKahilingan ng mga Parameter
Ang lahat ng parameter ay maaaring ipasa sa pamamagitan ng Query o Body
| Parameter | Uri | Kailangan | Paglalarawan |
|---|---|---|---|
token | string | Kailangan | User API token Halimbawa: your_api_token_here |
page | number | Mapagpipilian | Page number. Default 1 Halimbawa: 1 |
per_page | number | Mapagpipilian | Items per page. Default 20, maximum 100 Halimbawa: 20 |
zt | string | Mapagpipilian | Status filter: all, normal, hidden, reviewing, or update allnormalhiddenreviewingupdate Halimbawa: all |
shtype | string | Mapagpipilian | After-sales type filter. Separate multiple values with commas Halimbawa: 1,2 |
Pagtugon
| Parameter | Uri | Kailangan | Paglalarawan |
|---|---|---|---|
code | number | Kailangan | Status code: 1=success, others=failure Halimbawa: 1 |
msg | string | Kailangan | Response message Halimbawa: 获取成功 |
data.devices | array | Kailangan | Device list |
data.devices[].kid | string | Kailangan | Device KID Halimbawa: KID001 |
data.devices[].udid | string | Kailangan | Device UDID Halimbawa: 00008030-001234567890002E |
data.devices[].pname | string | Kailangan | Device name Halimbawa: iPhone 15 Pro |
data.devices[].zt | string | Kailangan | Device/certificate status Halimbawa: normal |
data.devices[].ytime | number | Kailangan | Membership expiry timestamp. 0 means permanent Halimbawa: 1772267945 |
data.devices[].enabled | boolean | Kailangan | Whether the device is enabled Halimbawa: true |
data.total | number | Kailangan | Total matched devices Halimbawa: 36 |
data.page | number | Kailangan | Current page number Halimbawa: 1 |
data.per_page | number | Kailangan | Actual items per page, maximum 100 Halimbawa: 20 |
data.last_page | number | Kailangan | Last page number Halimbawa: 2 |
data.count_normal | number | Kailangan | Normal device count Halimbawa: 30 |
data.count_hidden | number | Kailangan | Dropped/banned device count Halimbawa: 4 |
data.count_reviewing | number | Kailangan | Reviewing device count Halimbawa: 2 |
Query first page
Get the first 20 devices of the current user
Only normal devices
Use zt=normal to return only normal available devices
Reviewing devices
Use zt=reviewing to return devices still in review/reservation
Maximum 100 items per page
If per_page is greater than 100, the backend automatically caps it at 100
Error
1210Pagtugon sa Wika
Ang mga code na halimbawa sa ibaba ay awtomatikong gumagamit ng kasalukuyang site language mo.
X-Lang: filzh, en, zh-TW, vi, ar, es, ruSinusuportahan din ang tinatanggap na-Language; ang X-Lang ang inuuna. ang mga hindi suportadong wika ay sumusunod sa site language fallback.
Mga Halimbawa ng Kodigo
curl -X POST "https://testypro.iwai.cc,https://cer.xyul.cn,https://cer.iwai.cc/api/device/list" \
-H "X-Lang: fil" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "token=your_api_token_here&page=1&per_page=20&zt=all&shtype=1%2C2"Mga Noble
- 列表只返回当前 token 用户名下的设备
- per_page 最大为 100,超过会自动按 100 处理
- zt=hidden 会包含掉签和待更新状态;zt=reviewing 会返回仍在审核/预约中的设备
Subukin ito sa Console
Punan ang mga parameter sa ibaba at magpadala ng kahilingan upang masubukan. requests pumunta lamang sa API ng site na ito; ang URL ay naka-lock at hindi maaaring baguhin, at isama ang inyong kasalukuyang login cookie.
https://testypro.iwai.cc/api/device/list?token=your_api_token_here&page=1&per_page=20&zt=all&shtype=1%2C2Nakakandado sa lugar na itoUser API token
Page number. Default 1
Items per page. Default 20, maximum 100
Status filter: all, normal, hidden, reviewing, or update
After-sales type filter. Separate multiple values with commas