mirror of
https://codeberg.org/SeedDMS/paperless
synced 2025-10-25 10:21:19 +00:00
| .. | ||
| credentials.example | ||
| README.md | ||
| test-api.sh | ||
| test-autocomplete.sh | ||
| test-correspondents.sh | ||
| test-delete-saved-views.sh | ||
| test-delete.sh | ||
| test-document-download.sh | ||
| test-document-metadata.sh | ||
| test-document-thumb.sh | ||
| test-documents-correspondent-any.sh | ||
| test-documents-like.sh | ||
| test-documents.sh | ||
| test-documenttypes.sh | ||
| test-patch-saved-view.sh | ||
| test-post-saved-view.sh | ||
| test-saved-views.sh | ||
| test-statstotal.sh | ||
| test-storagepaths.sh | ||
| test-tags.sh | ||
| test-token.sh | ||
| test-ui-settings.sh | ||
| test-upload.sh | ||
Testing the API
These scripts can be used to test almost all endpoints of the 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:
URL="http://my.seeddms.org/restapi/index.php"
AUTH="my seeddms api key"
#AUTH="Token <paperless token>"
#AUTH="Basic <credentials>"