cURL
curl --request GET \ --url https://openapi-dev.pluuug.com/v1/log/ \ --header 'X-API-Key: <api-key>' \ --header 'X-Signature: <api-key>'
{ "results": [ { "id": 123, "ipAddress": "<string>", "method": "<string>", "path": "<string>", "referrer": "<string>", "statusCode": "<string>", "requestBody": "<unknown>", "responseBody": "<unknown>", "created": "2023-11-07T05:31:56Z" } ], "next": "http://api.example.org/accounts/?cursor=cD00ODY%3D\"", "previous": "http://api.example.org/accounts/?cursor=cj0xJnA9NDg3" }
HMAC-SHA256 방식으로 body를 secret key로 해싱하여 생성한 서명을 넣어야 합니다. 서버는 X-API-Key와 대응되는 secret key로 서명을 검증합니다.
Pagination을 위한 커서
한번에 조회할 데이터의 개수 (limit)
Show child attributes
"http://api.example.org/accounts/?cursor=cD00ODY%3D\""
"http://api.example.org/accounts/?cursor=cj0xJnA9NDg3"