* docs: initialise new docs with docusaurus * chore: sign off Signed-off-by: izzy <me@insrt.uk> * chore: lock pnpm version in package.json Signed-off-by: izzy <me@insrt.uk> * ci: specify package json to load pnpm version from Signed-off-by: izzy <me@insrt.uk> * docs: update repo. lifecycle details Signed-off-by: izzy <me@insrt.uk> * docs: add external links to for-web, for-android chore: add default.nix to docs * docs: correct headings in contrib * ci: use cache dependency path * fix: docusaurus configuration --------- Signed-off-by: izzy <me@insrt.uk>
423 B
423 B
Authentication
To authenticate with the API, you must first acquire a bot token or user token:
- Bot: create one from user settings in the client
- User: copy one from client or authenticate through API
Then you may provide these through either:
| Type | Header |
|---|---|
| Bot | X-Bot-Token |
| User | X-Session-Token |
When dealing with an authenticated route.