Skip to content
Greg Malcolm edited this page Feb 3, 2016 · 13 revisions

How does it work?

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.

Account Creation

Still manually managed for now. Something will be arranged for this shortly. Accounts are available on request.

Sign in

POST /auth/sign_in

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.

Clone this wiki locally