mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-06 06:45:05 +01:00
Everything appears to be working
This commit is contained in:
parent
40b2ea02b7
commit
cb2df58b27
6 changed files with 98 additions and 2 deletions
25
scripts/post-consumption-example.sh
Executable file
25
scripts/post-consumption-example.sh
Executable file
|
|
@ -0,0 +1,25 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
DOCUMENT_FILE_NAME=${1}
|
||||
DOCUMENT_SOURCE_PATH=${2}
|
||||
DOCUMENT_THUMBNAIL_PATH=${3}
|
||||
DOCUMENT_DOWNLOAD_URL=${4}
|
||||
DOCUMENT_THUMBNAIL_URL=${5}
|
||||
DOCUMENT_ID=${6}
|
||||
DOCUMENT_CORRESPONDENT=${7}
|
||||
DOCUMENT_TAGS=${8}
|
||||
|
||||
echo "
|
||||
|
||||
A document with an id of ${DOCUMENT_ID} was just consumed. I know the
|
||||
following additional information about it:
|
||||
|
||||
* Generated File Name: ${DOCUMENT_FILE_NAME}
|
||||
* Source Path: ${DOCUMENT_SOURCE_PATH}
|
||||
* Thumbnail Path: ${DOCUMENT_THUMBNAIL_PATH}
|
||||
* Download URL: ${DOCUMENT_DOWNLOAD_URL}
|
||||
* Thumbnail URL: ${DOCUMENT_THUMBNAIL_URL}
|
||||
* Correspondent: ${DOCUMENT_CORRESPONDENT}
|
||||
* Tags: ${DOCUMENT_TAGS}
|
||||
|
||||
"
|
||||
Loading…
Add table
Add a link
Reference in a new issue