1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-26 15:54:36 +02:00

Updated Setting up Authentication (markdown)

Nick Sweeting
2024-05-03 17:59:40 -07:00
parent e83bb97b5a
commit 9a9d6a0351

@@ -94,8 +94,10 @@ To see API docs, try endpoints interactively, and see how auth works, visit this
<img width="738" alt="Screenshot of django-ninja Swagger API docs page" src="https://github.com/ArchiveBox/ArchiveBox/assets/511499/ad914143-f48b-4d4e-aa8c-f89a2c70cee7">
To get started using the REST API, generate an API key for your user through the Admin Web UI: `[http://127.0.0.1:8000/admin/api/apitoken/add/`](http://127.0.0.1:8000/admin/api/apitoken/add/) or by calling the `http://127.0.0.1:8000/api/v1/auth/get_api_token` endpoint:
To get started using the REST API, you can generate an API key for your user in the Admin Web UI:
[`http://127.0.0.1:8000/admin/api/apitoken/add/`](http://127.0.0.1:8000/admin/api/apitoken/add/)
or by calling the `http://127.0.0.1:8000/api/v1/auth/get_api_token` endpoint:
```bash
curl -X 'POST' \
'http://127.0.0.1:8000/api/v1/auth/get_api_token' \