CloudServices/Sagrada/TokenServer: Difference between revisions

No edit summary
Line 26: Line 26:
'''Unless stated otherwise, all APIs are using application/json for the requests and responses content types.'''
'''Unless stated otherwise, all APIs are using application/json for the requests and responses content types.'''


== GET /1.0/<app_name>/token ==
== GET /1.0/<app_name>/<app_version> ==


Asks for new token given some credentials in the Authorization header.
Asks for new token given some credentials in the Authorization header.
Line 35: Line 35:
    
    
<pre>
<pre>
GET /1.0/sync/token
GET /1.0/sync/2.0
Host: token.services.mozilla.com
Host: token.services.mozilla.com
Authorization: Browser-ID <assertion>
Authorization: Browser-ID <assertion>
canmove, Confirmed users
1,173

edits