PIN 错误记录
GET /logs
查询用户的 PIN 的错误记录,开发者可以根据这个来提示用户 24 小时内的 PIN 的错误次数。
API 端点 URL
https://api.mixin.one/logs?limit=:limit&offset=:offset&category=:category
请求示例
curl -i -X GET -H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" https://api.mixin.one/logs?category=PIN_INCORRECT&limit=1
Response
{
"data": {
"log_id": "06aed1e3-bd77-4a59-991a-5bb5ae6fbb09",
"ip_address": "124.64.120.192",
"created_at": "2018-05-03T06:03:56.867971412Z"
}
}