AMEE API / Authentication
http://my.amee.com/developers/wiki/Authentication
- Overview
- HTTP Basic
- Authenticated Sessions
- 認証されたセッションを作った場合、the '/auth' API resourceからauthTokenを要求する必要がある
- URL: http://{server}/auth
- Method: POST
- Request format: application/x-www-form-urlencoded
- Response format: application/xml, application/json
- Response code: 200 OK
- Response body: Details of the authenticated user, including API version.
- Extra data: "authToken" cookie and header, containing the authentication token that should be used for subsequent calls.
- その他、パラメータ
- 一度、authTokenを取得すれば、その後のリクエストでは、ログイン情報を全て送る必要はなく、そのトークンだけが必要となる
- Session Duration
- この後、参考例あり
- 認証されたセッションを作った場合、the '/auth' API resourceからauthTokenを要求する必要がある