paperless/tests/test-documents.sh
2023-03-15 18:14:57 +01:00

8 lines
363 B
Bash
Executable File

#!/bin/sh
. ./credentials
curl --silent "${URL}/api/documents/?format=json&_query=added:%5B-70%20day%20to%20now%5D&is_tagged=0&document_type__id=1&page=1&page_size=5&ordering=-added" -H "Authorization: ${AUTH}"
#| jq '.'
#curl --silent "${URL}/api/documents/?format=json&query=barbaradio&page=3&page_size=5&ordering=-added" -H "Authorization: ${AUTH}" | jq '.'