paperless/tests/test-documents.sh

8 lines
363 B
Bash
Raw Normal View History

2023-01-20 14:21:01 +00:00
#!/bin/sh
. ./credentials
2023-03-15 17:14:57 +00:00
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 '.'
2023-01-20 14:21:01 +00:00
#curl --silent "${URL}/api/documents/?format=json&query=barbaradio&page=3&page_size=5&ordering=-added" -H "Authorization: ${AUTH}" | jq '.'