Rebecca Law
8fa1cac1c6
Fix the user url.
...
Add test for authentication to test paths with path params
2016-01-22 09:59:02 +00:00
Rebecca Law
27a381c3e9
Allow services to have multiple api keys.
...
/service/<service_id>/api-key/renew has been renamed to /service/<service_id>/api-key
/service/<service_id>/api-key now creates a token and no longer expires the existing api key.
Moved test for this endpoint to it's own file.
2016-01-20 10:57:46 +00:00
Rebecca Law
1db57dca8c
Allow for multiple api keys for a service.
2016-01-19 18:25:21 +00:00
Martyn Inglis
fa30782d70
Removed Status endpoints from requiring Auth tokens
...
- auth tests now use service endpoints
- one test commented out and needs reworked
2016-01-19 15:32:33 +00:00
Rebecca Law
4fc5c34320
Change Tokens to ApiKey
...
Added name to ApiKey model
2016-01-19 12:13:47 +00:00
Rebecca Law
0ad292300d
Added authorization headers for all requests
2016-01-15 17:02:29 +00:00
Rebecca Law
5f59b631e1
Added the before_request so that all calls must have a valid token.
...
Next is to get all the rest tests to pass again.
2016-01-15 17:01:26 +00:00