Skip to content
p44 edited this page Nov 14, 2014 · 3 revisions

The App represents the application calling the APIs. API Authentication is by app to app bearer token. The bearer token belongs to a consumer that calls the API's on behalf of an external application (the App)

The simple relationship:

App -- Consumer -- BearerToken

GET

GET /app

This service returns the App associated with the bearer token. It requires role User.

GET /app HTTP/1.1
Authorization: bearer my_token
Accept: */*

200 Ok

HTTP/1.1 200 OK
Content-Type: text/plain; charset=utf-8
{
"id" : 88,
"name" : "Pioneer Co",
"ts" : 1383861882787
}

Clone this wiki locally