-
Notifications
You must be signed in to change notification settings - Fork 0
Schema Auth
Greg Malcolm edited this page Feb 3, 2016
·
13 revisions
Authorization is only required for write access and accessing sensitive data. Most of the API is wide open for GET access.
Authorization is managed using token model authentication. First you need to log in to retreive the auth tokens. then pass the tokens with each http request.
Still manually managed for now. Something will be arranged for this shortly. Accounts are available on request.
Example:
curl -i -H "Accept: application/json" -H "Content-Type: application/json" -X POST -d '{"email": "[email protected]", "password": "SECRET"}' http://ed-materializer-env.elasticbeanstalk.com/auth/sign_in
This will give you the necssary tokens in the header response.