mirror of
https://codeberg.org/SeedDMS/paperless
synced 2025-02-11 09:25:23 +00:00
better documentation
This commit is contained in:
parent
210e8a04a9
commit
72cc22e474
|
@ -1,10 +1,17 @@
|
||||||
Create a file credentials and define AUTH and URL in it.
|
# Testing the API
|
||||||
URL is the base url of the restapi service. AUTH are the credentials
|
|
||||||
as pass in http header Authorization. It can be ab basic authentication,
|
This scripts can be used to test almost all endpoints of the
|
||||||
a papeerless or a regular SeedDMS token.
|
paperless-ngx API.
|
||||||
|
|
||||||
|
In order to use them, create a file `credentials` and define `AUTH` and
|
||||||
|
`URL` in it. `URL` is the base url of the restapi service. `AUTH` are the
|
||||||
|
credentials passed in the http header `Authorization`. It can be a basic
|
||||||
|
authentication, a paperless token or a regular SeedDMS key.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
URL="http://my.seeddms.org/restapi/index.php"
|
URL="http://my.seeddms.org/restapi/index.php"
|
||||||
AUTH="my api key"
|
AUTH="my seeddms api key"
|
||||||
|
#AUTH="Token <paperless token>"
|
||||||
|
#AUTH="Basic <credentials>"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user