root
Description
API basics

This is supposed to be a self documenting API.

All end-points can be delivered in HTML or JSON, depending on the preference of the client.

Requesting HTML will provide links and forms to explore and develop directly against the API server.

Accept header

Use the `Accept` header or `accept` query parameter to choose `text/html` or `application/json` as output.

Authentication

The system accepts login using Firebase tokens.

The tokens can be provided as the query parameter `token`, or as an `Authorization: Bearer ...` header to authenticate requests.

Local development server

When running the code in a local development server (goapp or dev_appserver.py), the query parameter `fake-id` overrides all other authentication.

The value of the `fake-id` parameter will be used when creating or loading the 'currently logged in user'.

This allows for assuming any identity in the server for fun and profit (and testing and exploring).

Properties
{
    "LoggedInUser": null
  }