k-ID APIの使用
- すべてのリクエストには Accept ヘッダーを含める必要があり、その値は application/json に設定する必要があります。
- すべての POST メソッドには Content-Type ヘッダーを application/json に設定する必要があります。
k-ID API は以下のレスポンスコードを返すことがあります。
| Code | Meaning |
|---|---|
| 200 | success |
| 304 | not modified - returned from /session/get when the session has not changed |
| 400 | invalid parameter, error code in the error field, and human readable error message in the errorMsg field |
| 401 | invalid access token or API key |
| 429 | retry the API call, the amount of time to wait is in the Retry-After header |