Document Type Values
- 0 = Default / Not Set
- 1 = Document Original
- 2 = Document Related
- 3 = Transcription Original
- 4 = Transcription Related
Additional privileges
GRANT ALL ON DATABASE database_name TO database_user;
GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO database_user;
GRANT ALL PRIVILEGES ON ALL SEQUENCES IN SCHEMA public TO database_user;
Media Type Values
- 0 = Default / Not Set
- 1 = Audio
- 2 = Video
- 3 = Audio Prepared
- 4 = Video Prepared
CREATE USER "transposer_datapool_admin" WITH
LOGIN
NOSUPERUSER
NOCREATEDB
NOCREATEROLE
INHERIT
NOREPLICATION
CONNECTION LIMIT -1
PASSWORD '*******';
CREATE DATABASE transposer_datapool
WITH
OWNER = transposer_datapool_admin
ENCODING = 'UTF8'
LC_COLLATE = 'en_US.utf8'
LC_CTYPE = 'en_US.utf8'
TABLESPACE = pg_default
CONNECTION LIMIT = -1;
GRANT ALL ON DATABASE transposer_datapool TO transposer_datapool_admin;
DROP DATABASE transposer_datapool;
SELECT pg_terminate_backend(pg_stat_activity.pid)
FROM pg_stat_activity
WHERE pg_stat_activity.datname = 'transposer_datapool'
AND pid <> pg_backend_pid();
Document Type Values Addendum
It should be ough to only use Document and Transcription,because different languages can be related to the same document
- 0 = Default / Not Set
- 1 = Document
- 2 = Transcription
Data/Action Types
- 0 = RESULT
- 1 = STATUS
- 2 = PROGRESS
HTML Form Encodings
- 0 = NO BODY
- 1 = URLENCODED
- 2 = MULTIPART
- 3 = PLAIN
Resource Actions (Permissions)
This is a JSON array. Possible values are:
Resource Conditions (Permissions)
This is a JSON object. Conditions allow to define additional rules, influencing the set actions.
Status Values
- 0 = Default / Not Set
- 1 = Created
- 2 = In Progress
- 3 = Done Success
- 4 = Done Incomplete
- 5 = Done Error
Media Type Values
- 'none' = Default / Not Set
- 'audio' = Audio
- 'video' = Video
- 'image' = Image
- 'document' = Document
- 'audio_prepared' = Audio Prepared
- 'video_prepared' = Video Prepared