This documentation is in its early stages. It is not very complete or definitive and can be inexact.

The NumaHOP logo

What is NumaHOP ?

NumaHOP is a software solution to manage the digitalization process of documents from the import of meta-datas and condition report to the diffusion of the documents. It serves as an intermediary between the digitalization provider, the establishments and the export targets. This is mostly an automated process with occasional manual operations and verifications.

What NumaHOP can do

NumaHOP is composed of modules that can:

  • import and convert bibliographic records into DublinCore.
  • inspect and validate images and bibliographic records of digitalized documents.
  • make condition reports for bundles sent to the digitalization provider.
  • use workflow for managing digitalization projects.
  • export documents to archiving services or digital libraries.
  • produce derived documents like OCR, METS, scaled down images.

NumaHOP is able to automatically diffuse documents in bulk. The platform supported are:

  • An SFTP server.
  • OMEKA/OMEKAS.
  • the CINES.
  • Internet Archive.

NumaHOP is also able to be shared between establishments and allows to make conjoint projects.

Installation.

Numahop supports 2 mehtod of installation:

  • Dockerised solution.
  • Normal installation.

Before the installation process, clone the git repository and cd into it:

git clone https://github.com/biblibre/NumaHOP-code.git numahop && cd numahop

If you don't have maven installed you can run this command:

chmod +x mvnw

And use ./mvnw instead of mvn.

Docker Installation.

The Dockerised solution is easier to get running. More of the installation is automatized.

Dependencies

Please check you have these packages installed before the installation.

docker
open-jdk-17
maven (optional)

In order to launch a local docker build of Numahop you can run the command:

# Using the makefile.
make setup-docker
make build-all

# Running the commands directly
docker build -t numahop-run src/main/docker --target run
mvn clean compile -Pdocker # Optionaly add: -Dfast=true

The -Dfast=true enables a maven profile wich disables tests and checks for faster compilation. If you have errors originating from these checks you can either try to format the code that fails or just use the flag to disable the check.

After this you should be able to find an image named numahop in your local docker instance.

You can run this instance localy by running:

# Using the makefile
make all-up
# Running the commands directly
docker compose -p numahop -f env/main/docker/docker-compose.yml up -d
docker compose -p numahop -f run/main/docker/docker-compose.yml up -d

If you connect to localhost:8080 you should see the login prompt of NumaHOP.

TODO: Document how to change the configuration for the docker instance.

Normal Installation.

Dependencies

Now use your package manager to install the necessary dependencies to numahop:

mariadb > 10.*
elasticsearch > 8.*
open-jdk-17
tesseract-ocr-all
libimage-exiftool-perl
imagemagick
libyaz4j (optional)

The libyaz4j dependency is only used by the Z39.50 search queries. If you don't need the Z39.50 queries you can skip this dependency.

Compilation

Then you can run the compilation command for numahop:

mvn package # Optionaly add: -Dfast=true

If you have errors during compilation run mvn -Dfast=true package. It disables all exections non needed to build numahop such as tests, code analysis and formating. Once the compilation succeds a file ./target/numahop-<semver>.war should be present in the directory. Move this file at this path: /opt/pgcn/numahop.war. The name of the war is not important but its location is. Once that is done we can run NumaHOP. It should launch and crash rather quickly.

Database

Now we will create an empty database and a user for numahop. run this suite of commands remplacing the placeholders (db-name, db-user-name and db-user-pwd) for your setup:

mariadb

You should be greeted by this command prompt:

MariaDB [(none)]>

Let's create the database:

CREATE DATABASE <db-name>;

Then the user NumaHOP will use to connect to the database:

CREATE USER '<db-user-name>'@localhost IDENTIFIED BY <db-user-pwd>;
GRANT CREATE, ALTER, DROP, INSERT, SELECT, UPDATE, INDEX, DELETE ON '<db-name>'.* TO '<db-user-name>'@localhost;
FLUSH PRIVILEGES;

Note these are the minimal rights the numahop user needs to edit the database.

You can verify that all the information is well defined by running SHOW DATABASES; and SHOW GRANTS FOR '<db-user-name>'@localhost. NumaHOP uses an orm with a changelog and will automatically create all the tables it needs for you.

Just install elastic search and folow this documentation. And make sure it is accessible from where you want to install numahop either by localhost or an url.

Mail Server (Optional)

NumaHOP needs a smtp mail server for sending emails. It expects it on the port 25 on localhost without auth and security by default. If you want to use a distant server or change the default settings see in the config chapter.

Numahop Config

See how to configure numahop here. After this configuration step you should have an instance that launches successfully.

If you want to manage Numahop using systemd.

Create the file /etc/systemd/system/numahop.service with the content:

[Unit]
Description=NumaHOP
After=syslog.target

[Service]
ExecStart=/opt/pgcn/numahop.war # --spring.profiles.active=... for activating certain profiles
SuccessExitStatus=143
StandardOutput=null
User=numahop # The user to use 

[Install]
WantedBy=multi-user.target

Then use:

systemctl daemon-reload # After adding/modifying the file
systemctl start numahop # For starting numahop
systemctl stop numahop # For stoping numahop

If you don't have root privileges you can instead create the file ~/.config/systemd/user/numahop.service with the content:

[Unit]
Description=NumaHOP
After=syslog.target

[Service]
ExecStart=/opt/pgcn/numahop.war # --spring.profiles.active=... for activating centrain profiles.
SuccessExitStatus=143
StandardOutput=null

[Install]
WantedBy=multi-user.target

And instead use:

systemctl --user daemon-reload # After adding/modifying the file
systemctl --user start numahop # For starting numahop
systemctl --user stop numahop # For stoping numahop

If everything worked correctly you can access the numahop graphical interface by connecting to your server. You can now go to the Post-Installation chapter.

NumaHOP Configuration.

NumaHOP is configured in yaml files called application.yml or application-<profile>.yml.

When NumaHOP is started it search and load configs in this order:

  • Inside the packaged war/jar ressources.
  • In the folder ./config(relative to its current directory).

Profiles

There can be multiple files sourced by NumaHOP with a profile system. First the application.yml is sourced and then the profiles one. Each load overrides the keys redefined.

To activate a profile the flag --spring.profiles.active can be passed to the war:

# Launch numahop with the profiles dev and prod activated. The keys defined in a later profile overide the keys defined in a previous one.
./numahop.war --spring.profile.active=dev,prod

The resulting files will be sourced in this order:

  • Inside the war:
    • application.yml
    • application-dev.yml
    • application-prod.yml
  • In the working directory:
    • ./config/application.yml
    • ./config/application-dev.yml
    • ./config/application-prod.yml

application.yml

Most of the properties in the yaml files are used either by spring-boot or other dependencies but some are custom. All uses of custom properties can be found in the codebase using this command: grep -e "@Value\(\$\{.*\}\)".

Important/UseFull properties to define

Instances

Each establishments using numahop must be declared, choose an id for each libraries using Numahop and sotre it there.

instance:
    libraries: lib1, lib2, lib3
Utilisations
  • src/main/java/fr/progilone/pgcn/config/BinaryStorageConfiguration.java
  • src/main/java/fr/progilone/pgcn/service/delivery/DeliveryReportingService.java
  • src/main/java/fr/progilone/pgcn/service/check/MetaDatasCheckService.java
  • src/main/java/fr/progilone/pgcn/service/document/ui/UIDocUnitService.java
  • src/main/java/fr/progilone/pgcn/service/exchange/cines/CinesRequestHandlerService.java
  • src/main/java/fr/progilone/pgcn/service/exchange/cines/ExportCinesService.java
  • src/main/java/fr/progilone/pgcn/service/exchange/cines/ExportSipService.java
  • src/main/java/fr/progilone/pgcn/service/exchange/omeka/OmekaService.java
  • src/main/java/fr/progilone/pgcn/service/exchange/digitallibrary/DigitalLibraryDiffusionRequestHandlerService.java
  • src/main/java/fr/progilone/pgcn/service/storage/FileCleaningManager.java
  • src/main/java/fr/progilone/pgcn/service/storage/AltoService.java
  • src/main/java/fr/progilone/pgcn/service/storage/FileStorageManager.java

Admin

The admin is the only account present after the installation. It is very important to define:

admin:
    login: # default: admin
    password: # Important to override. default: hash of "password"

The password is encrypted using the bcrypt method you can get a good password to encrypt like this:

head /dev/urandom | tr -dc "a-zA-Z0-9"| fold -w 20 | head -n 1

Then encrypt it with a bcrypt implementation. But pay attention not all bcrypt algorithms are secure. The easiest way to encrypt the password is as such it requires a python3 installation with the python3-bcrypt library:

echo "$pwd" | python3 -c <<PYTHON
import bcrypt, getpass;
print(bcrypt.hashpw(input().encode(), bcrypt.gensalt()).decode())'
PYTHON

Where pwd is you password.

Uses:
  • src/main/java/fr/progilone/pgcn/service/user/ui/UIUserService.java
  • src/main/java/fr/progilone/pgcn/web/rest_int/InternalAccountResource.java
  • src/main/java/fr/progilone/pgcn/security/UserDetailsService.java

Jhipster Remember Me key

This is the key needed to make the rememberme service work. It needs to be unique to your installation.

jhipster.security.rememberme.key: # No defaults must be defined.

Same as the password you can get a good randomized key like this:

head /dev/urandom | tr -dc "a-zA-Z0-9"| fold -w 20 | head -n 1
Uses:
  • TODO

Database and elasticsearch

The information needed by numahop to connect to the database and elasticsearch.

spring:
    datasource:
        url: # The url to access the mariadb data base often: jdbc:mariadb://localhost:3306/<db-name>
        username: # The database user
        password: # The database password
    elasticsearch:
        uris:
            - <uri> # default: http://localhost:9200
            # ...

Filesystem

These configuration options define where numahop can find the executables it needs, where to put the various files it generates and where to look for files to import.

imageMagick:
    convert: # default : /usr/bin/convert
    identify: # default : /usr/bin/identify

exifTool:
    process: # default : /usr/bin/exiftool

tesseract:
    process: # default : /usr/bin/tesseract

storage:
    binaries: # default : /opt/pgcn/DAM/DAM_Repository

nativeLibraries:
    path: # default : /opt/svcmgmt/lib

messaging:
    template:
        path: # default : /opt/pgcn/Messaging/MessagingTemplate


uploadPath:
    condition_report: # default : /opt/pgcn/upload/condition_report
    ead: # default : /opt/pgcn/upload/ead
    import: # default : /opt/pgcn/upload/import
    library: # default : /opt/pgcn/upload/library
    user: # default : /opt/pgcn/upload/user
    template: # default : /opt/pgcn/upload/templates

export:
    ssh:
        knownHosts: # default : /opt/pgcn/config/known_hosts

services:
    cines:
        aip: # default : /opt/pgcn/cines/aip
        cache: # default : /opt/pgcn/cines/cache
        xsd:
            sip: # default : /opt/pgcn/xsd/sip.xsd
    archive:
        alto: # default : /opt/pgcn/archive/alto
        text: # default : /opt/pgcn/archive/text
    metaDatas:
        path: # default : /opt/pgcn/metadatas
    deliveryreporting:
        path: # default : /opt/pgcn/deliveryReporting
    omeka:
        cache: # default : /opt/pgcn/omeka/cache
    ftpexport:
        cache: # default : /opt/pgcn/ftpexport/cache
    digitalLibraryDiffusion:
        cache: # default : /opt/pgcn/digitalLibraryDiffusion/cache
Exiftool Uses:
  • src/main/java/fr/progilone/pgcn/service/storage/ExifToolService.java
  • src/main/java/fr/progilone/pgcn/service/storage/ImageMagickService.java
Upload Path Uses:
  • src/main/java/fr/progilone/pgcn/service/JasperReportsService.java
  • src/main/java/fr/progilone/pgcn/service/user/UserService.java
  • src/main/java/fr/progilone/pgcn/service/library/LibraryService.java
  • src/main/java/fr/progilone/pgcn/service/document/conditionreport/ConditionReportAttachmentService.java
  • src/main/java/fr/progilone/pgcn/service/exchange/ead/ExportEadService.java
  • src/main/java/fr/progilone/pgcn/service/exchange/ImportReportService.java
  • src/main/java/fr/progilone/pgcn/service/exchange/template/TemplateService.java
Services Uses:
  • src/main/java/fr/progilone/pgcn/service/delivery/DeliveryReportingService.java
  • src/main/java/fr/progilone/pgcn/service/check/MetaDatasCheckService.java
  • src/main/java/fr/progilone/pgcn/service/check/FacileCinesService.java
  • src/main/java/fr/progilone/pgcn/service/document/ui/UIDocUnitService.java
  • src/main/java/fr/progilone/pgcn/service/exchange/internetarchive/InternetArchiveService.java
  • src/main/java/fr/progilone/pgcn/service/exchange/cines/CinesRequestHandlerService.java
  • src/main/java/fr/progilone/pgcn/service/exchange/cines/ExportCinesService.java
  • src/main/java/fr/progilone/pgcn/service/exchange/cines/ExportSipService.java
  • src/main/java/fr/progilone/pgcn/service/exchange/omeka/OmekaService.java
  • src/main/java/fr/progilone/pgcn/service/exchange/digitallibrary/DigitalLibraryDiffusionRequestHandlerService.java
  • src/main/java/fr/progilone/pgcn/service/exchange/digitallibrary/DigitalLibraryDiffusionService.java
  • src/main/java/fr/progilone/pgcn/service/storage/FileCleaningManager.java
  • src/main/java/fr/progilone/pgcn/service/storage/AltoService.java

Server

The port used by numahop on the server.

server:
    port: # default: 80
Uses:
  • src/main/java/fr/progilone/pgcn/web/rest/administration/HealthController.java

Instance

In the instance section we can configure the different libraries using this instance of numahop.

instance:
    libraries: lib1, lib2, lib3
Uses:
  • src/main/java/fr/progilone/pgcn/config/BinaryStorageConfiguration.java
  • src/main/java/fr/progilone/pgcn/service/delivery/DeliveryReportingService.java
  • src/main/java/fr/progilone/pgcn/service/check/MetaDatasCheckService.java
  • src/main/java/fr/progilone/pgcn/service/document/ui/UIDocUnitService.java
  • src/main/java/fr/progilone/pgcn/service/exchange/cines/CinesRequestHandlerService.java
  • src/main/java/fr/progilone/pgcn/service/exchange/cines/ExportCinesService.java
  • src/main/java/fr/progilone/pgcn/service/exchange/cines/ExportSipService.java
  • src/main/java/fr/progilone/pgcn/service/exchange/omeka/OmekaService.java
  • src/main/java/fr/progilone/pgcn/service/exchange/digitallibrary/DigitalLibraryDiffusionRequestHandlerService.java
  • src/main/java/fr/progilone/pgcn/service/storage/FileCleaningManager.java
  • src/main/java/fr/progilone/pgcn/service/storage/AltoService.java
  • src/main/java/fr/progilone/pgcn/service/storage/FileStorageManager.java

Image Sizes

images:
    format:
        default:
            thumbHeight: # default: 150 
            thumbWidth: # default: 150
            viewHeight: # default: 1417
            viewWidth: # default: 982
            printHeight: # default: 2835
            printWidth: # default: 1964
Uses:
  • src/main/java/fr/progilone/pgcn/service/util/DefaultFileFormats.java

Cron jobs.

Some services are annotated with @Scheduled. These are cron jobs configured in the cron section:

cron:
    removeOldTokens: # default: 0 0 0 * * ?
    cleanLocks: # default: 0 30 0 * * *
    rebuildIndex: # Rebuild elastic search index. default: 0 40 0 * * *
    cleanDeliveryFiles: # default: 0 0 1 * * ?
    cinesExport: # Try to export eligible document units to the CINES. default: 0 30 1 * * ?
    localExport: # Try to export eligible document units via SFTP. default: 0 0 4 * * ?
    cleanTemporaryFiles: # Clean up temporary files for each library. default: 0 0 2 * * ?
    internetArchiveExport: # Try to export eligible document units to Internet Archive. default: 0 26 17 * * ?
    gestDeliveredFiles: # Save or delete the archived documents. default: 0 00 18 * * SAT
    cinesUpdateStatus: # Download status of CINES export from the mailbox. default: 0 10 * * * *
    omekaExport: # Try to export eligible document units to an Omeka instance. default: 0 0 3 * * ?
    cleanExportCaches: # default: 0 30 6 * * ?
    docUnitUpdateArk: # Retrieve Internet archive urls of archived documents. default: 0 0 6 * * ?
    digitalLibraryExport: # default: 0 0 3 * * ?

The value is a cron expression used to configure when to run the job.

Uses:
  • src/main/java/fr/progilone/pgcn/service/storage/FileCleaningManager.java
  • src/main/java/fr/progilone/pgcn/service/exchange/digitallibrary/DigitalLibraryDiffusionRequestHandlerService.java
  • src/main/java/fr/progilone/pgcn/service/exchange/exportftp/ExportFtpService.java
  • src/main/java/fr/progilone/pgcn/service/exchange/omeka/OmekaRequestHandlerService.java
  • src/main/java/fr/progilone/pgcn/service/exchange/cines/CinesRequestHandlerService.java
  • src/main/java/fr/progilone/pgcn/service/es/IndexManagerService.java
  • src/main/java/fr/progilone/pgcn/service/LockService.java
  • src/main/java/fr/progilone/pgcn/service/exchange/internetarchive/InternetArchiveServiceAsync.java
  • src/main/java/fr/progilone/pgcn/service/document/DocUnitService.java
  • src/main/java/fr/progilone/pgcn/service/user/UserService.java

Mail

spring:
    mail:
        host: # default: localhost
        port: # default: 25
        user:
        password:
        from: # default: contact-numahop@numahop.fr
        tls: # default: false
        auth: # default: false
        activated: # default: false
Uses:
  • TODO

Post installation

Now you have an installed and working numahop instance. But the base installation of numahop is rather empty. The first thing you must create before anything else is the libraries declared inside the yaml configuration files.

Here is a list of things you might want to create:

  • User Groups and Users
  • Workflow Models
  • Contidion Report
  • Mail Templates
  • Export Configurations
  • Bibliographic Records mappings
  • Automatic Controls settings

Adding a Library

For each libraries declared create a library through the interface. Then you need to edit the libraries inside the database to make the column identifier match the names declared inside the yaml files. If the library you created isn't defined in the yaml file you need to edit the yaml file and add an identifer to it and restart numahop.

-- Print all the libraries you declared through the interface.
SELECT name FROM lib_library\G
-- Modify the identifier 
-- <lib-identifier> corresponds to the identifier set inside the yaml file.
-- <lib-name> corresponds to the name given to the library at the creation in the web interface.
UPDATE lib_library SET identifier='<lib-identifier>' WHERE name='<lib-name>';
-- Note it is ok to filter by the name as NumaHOP normally enforces it to be unique. 

Once the libraries are created you can create the rest of the objects you need for your use of NumaHOP.

If you have created other objects before the library column update here is how to fix it:

-- Check and note what is the identifier generated by numahop by default.
-- <old-uuid> is what it is referenced as from now on.
SELECT identifier from lib_library WHERE name='<lib-name>';

-- We need to disable the foreign key contraints checks while modifying the libraries otherwise 
-- the contraints will prevent the modification because other tables reference this identifier.
SET FOREIGN_KEY_CHECKS = 0;
UPDATE lib_library SET identifier='<lib-identifier>' WHERE name='<lib-name>';
SET FOREIGN_KEY_CHECKS = 1;

-- Print all tables corresponding to created objects that have a library field and have rows.
SELECT c.TABLE_NAME from information_schema.columns c JOIN information_schema.tables t
ON c.TABLE_NAME = t.TABLE_NAME WHERE c.COLUMN_NAME = 'library' AND t.TABLE_ROWS >=1;
-- For each table corresponding to the created object fix the foreign key.
-- <old-uuid> is the value we 
UPDATE <talble> SET library='<lib-identifier>' WHERE library='<old-uuid>';

First user and user groups

I advise you create a admin user profile with all rights allowed for each libraries as the admin account configured in the yaml file can do some of the things but there are a lot of functionality that are disallowed on this account.

You can also create user profiles that suits your needs.

WorkflowModel and workflow groups.

Mappings

FtpConfiguration

Projects and lots

Imports

Needed for preforming a delivery.

Delivery

NumaHOP Architecture

flowchart LR

    subgraph fr[Angular Front-End]
        direction TB
        fr-view[View] 
        fr-ser[Services]
    end

    smtp[Mails]
    subgraph be[BackEnd]
        direction LR
        subgraph java[Java Application]
            direction LR;
            cont[Rest Controllers]
            ser(Services)
            rep[Repository]
        end
        es[(Elastic Search)]
        db[("MermaidDB")]
        fs@{ shape: lin-cyl, label: "disk storage"}
    end
    subgraph exp[Export Targets]
        direction LR
        omeka[Omeka]
        cines[Cines]
        archive[Internet Archive]
        sftp[File Transfer]
    end
    fr-view <--> fr-ser
    fr-ser <--> |REST API| cont

    cont <--> ser 

    ser <--> smtp
    ser <--> rep 
    ser <--> |Export Protocols| exp

    rep <--> db & es & fs

Code organization and structure.

Back-End.

The root of the back end code is located at src/main/java/fr/progilone/pgcn.

The logic is split up in two ways. Firstly the logic is split vertically in the stack by repositories, services and controllers (in ascending order) these are stored inside folders in the root:

  • repositories: Abstraction of storage methods. Can be stored inside the database or the file system.
  • services: Core of the business logic.
  • web: REST API containing the controllers. Makes the interface to the front-end.

Then the logic is split horizontally by modules operating on a specific primitives. Most of them are pretty straight forward. All the modules are:

  • es: ElasticSearch module.
  • user: users and their abilities (rights). The authentication is not handled there.
  • train:
  • lot:
  • library:
  • *configuration: Modules managing dynamic configurations (configuration that can be edited at runtime).
  • workflow:
  • delivery:
  • document:
  • statistics:
  • exchange: archiving and diffusion of the document units.
  • sample: Module managing the sample mode of digitalized documents. (No reason of being a separated module refactor needed).
  • check: Module managing automatic checks (Not triggered or performed by users).
  • help: Module managing the help page content.
  • imagemetadata:
  • multilotdelivery:

There are also other folders in the root which store various configurations as java classes:

  • security: The configuration of spring security to allow login and
  • config: All configuration classes.

The last folder in the root is the domain folder containing the data models organized by modules representing the different object stored in the database. We can also find additional classes in the folders dto and jaxb. The ones in dto are suffixed with DTO which are objects sent by the Controller (here a REST Controller) to the View (the front-end) and those contained in jaxb are pre-generated classes from schema definitions of the metadata formats used.

Front-End

The front-end root is located at src/main/webapp.

The majority of the functionality is in the folder script.

The DocUnit Module

This module manages document units.

Module files

Domain Objects:

Services:

Controllers:

Manages document units.

Database Tables

flowchart TB
    subgraph table
        direction TB
        doc_unit --> |One To Many| doc_unit_sibling
        doc_unit --> |Many To One| library
        doc_unit --> |One To One| project
        doc_unit --> |Many To One| doc_workflow
    end

The Workflow Module.

In this module the primitive we operate on are workflows. In NumaHOP workflows are tracking the life-cycle of document units.

A workflow is constituted of states. Each states is either processed automatically or require some user interaction in order to be processed. Some states are process automatically and don't require much user interaction such as the Diffusion, Archiving, Automatic Checks, or Delivery Waiting.

Once the condition required for the state to validate the workflow completes it and start the next state. Some states can also be processed in parallel such as diffusion and archiving states.

The workflow is configured with a workflow model. The workflow model to use on a document unit is configured either on the project, the lot, the train. It can also be defined on the document unit itself. If a workflow model is not present it will inherit the model of the parent document unit grouping. (project -> lot -> train -> document unit)

Order of states

  • DOCUMENT_INITIALISATION
  • SLIPS_GENERATION
  • VALIDATION_CONDITION_REPORT
  • VALIDATION_SLIPS_CONDITION_REPORT
  • CONDITION_REPORT_BEFORE_DIGITIZATION
  • WAITING_FOR_DIGITIZATION
  • CONDITION_REPORT_AFTER_DIGITIZATION
  • WAITING_FOR_DELIVERY
  • WAITING_FOR_AUTOMATIC_CHECKS
  • WAITING_FOR_QUALITY_CONTROL
  • DOCUMENT_PREREJECTION
  • DOCUMENT_PREVALIDATION
  • DOCUMENT_VALIDATION
  • BIBLIOGRAPHIC_RECORDS_VALIDATION
  • CONTROL_REPPORTS
  • DOCUMENT_ARCHIVING
  • DOCUMENT_BROADCAST
  • DOCUMENT_BROADCAST_OMEKA
  • DOCUMENT_BROADCAST_DIGITAL_LIBRARY
  • DOCUMENT_BROADCAST_LOCAL
  • CLOSING_DOCUMENT

Special state as it is manually inserted in the workflow in case of a rejection of the state DOCUMENT_PREREJECTION:

  • WAITING_FOR_REDELIVERY

Each states holds a status:

  • NOT_STARTED
  • PENDING
  • FINISHED
  • CANCELED
  • FAILED
  • TO_WAIT
  • WAITING
  • WAITING_NEXT_COMPLETED
  • TO_SKIP
  • SKIPPED

Module files Domain objects:

Domain Ojects:

  • WorkflowModel
  • WorkflowGroup
  • WorkflowStateModel
  • WorkflowStateKey
  • WOrkflowStateStatus
  • DocUnitWorkflow
  • DocUnitState (abstract class).
  • All states classes implementation.

Services:

  • WorkflowModelService
  • WorkflowModelStateService
  • WorkflowService
  • DocUnitWorkflowService
  • WorkflowGroupService
  • WorkflowGroupValidationService
  • UiWorkflowService
  • UiWorkflowGroupService
  • UiWorkflowModelService

Controllers:

  • WorkflowController
  • WorkflowGroupController
  • WorkflowModelController

Workflow are created on a document unit when the workflows are started on the lot level. But once a workflow started its steps can't be modified.

When creating a workflow we use a workflow model. Workflow models are a template of a workflow. Each state has different statuses when

Note: The api documentation is incorect because NumaHOP doesn't respect the open-api specification causing some handlers to be merged into one in the documentation. This will be fixed when the api is redesigned.

Modules

Account


/api/rest/reset

POST

Parameters: NONE

Body:

content-typecontent
application/jsonstring

Responses:

codedescriptioncontent-typebody
200OK/any

/api/rest/account/change_password

POST

Parameters: NONE

Body:

content-typecontent
application/jsonstring

Responses:

codedescriptioncontent-typebody
200OKNONENONE

/api/rest/authenticate

GET

Parameters: NONE

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonstring

/api/rest/account

GET

Parameters: NONE

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonSimpleUserAccountDTO

Admin logs


/api/rest/downloadlogsfile

GET

Parameters:

nameinrequiredvalue
dtFilequerytruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/octet-streamany

Audit delivery


/api/rest/audit/delivery

GET

Parameters:

nameinrequiredvalue
fromquerytrueDate
libraryqueryfalseArray<string>
projectqueryfalseArray<string>
lotqueryfalseArray<string>
statusqueryfalseArray<"SAVED" | "DELIVERING" | "DELIVERED" | "TO_BE_CONTROLLED" | "VALIDATED" | "REJECTED" | "BACK_TO_PROVIDER" | "AUTOMATICALLY_REJECTED" | "DELIVERED_AGAIN" | "DELIVERING_ERROR" | "TREATED" | "CLOSED" | "CANCELED">

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonArray<AuditDeliveryRevisionDTO>

Audit doc unit


/api/rest/audit/docunit/{id}

GET

Parameters:

nameinrequiredvaluedefault
idpathtruestring
revqueryfalseint321

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonDocUnit || Array<AuditDocUnitRevisionDTO>

Audit lot


/api/rest/audit/lot

GET

Parameters:

nameinrequiredvalue
fromquerytrueDate
libraryqueryfalseArray<string>
projectqueryfalseArray<string>
statusqueryfalseArray<"CREATED" | "ONGOING" | "PENDING" | "CANCELED" | "CLOSED">

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonArray<AuditLotRevisionDTO>

Audit mapping


/api/rest/audit/mapping/{id}

GET

Parameters:

nameinrequiredvaluedefault
idpathtruestring
revqueryfalseint321

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonMapping || Array<AuditRevision>

Audit project


/api/rest/audit/project

GET

Parameters:

nameinrequiredvalue
fromquerytrueDate
libraryqueryfalseArray<string>
statusqueryfalseArray<"CREATED" | "ONGOING" | "PENDING" | "CANCELED" | "CLOSED">

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonArray<AuditProjectRevisionDTO>

Audit train


/api/rest/audit/train

GET

Parameters:

nameinrequiredvalue
fromquerytrueDate
libraryqueryfalseArray<string>
projectqueryfalseArray<string>
statusqueryfalseArray<"CREATED" | "IN_PREPARATION" | "IN_DIGITIZATION" | "RECEIVING_PHYSICAL_DOCUMENTS" | "CANCELED" | "CLOSED">

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonArray<AuditTrainRevisionDTO>

Authorization


/api/rest/authorization

GET

Parameters: NONE

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonArray<AuthorizationDTO> || Array<Authorization>

/api/rest/authorization/{identifier}

GET

Parameters:

nameinrequiredvalue
identifierpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonAuthorization

Automatic check


/api/rest/check/auto

GET

Parameters:

nameinrequiredvalue
docUnitquerytruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonany

Bibliographic record


/api/rest/bibliographicrecord

GET

Parameters:

nameinrequiredvaluedefault
searchqueryfalsestring
librariesqueryfalseArray<string>
projectsqueryfalseArray<string>
lotsqueryfalseArray<string>
statusesqueryfalseArray<string>
lastModifiedDateFromqueryfalseDate
lastModifiedDateToqueryfalseDate
createdDateFromqueryfalseDate
createdDateToqueryfalseDate
orphanqueryfalseboolean
pagequeryfalseint320
sizequeryfalseint3210
sortsqueryfalseArray<string>
searchAsListqueryfalsestring
trainsqueryfalseArray<string>
identifierquerytruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonPageSimpleListBibliographicRecordDTO || PageSimpleBibliographicRecordDTO || Array<SimpleBibliographicRecordDTO>

POST

Parameters: NONE

Body:

content-typecontent
application/jsonArray<string>

Responses:

codedescriptioncontent-typebody
200OK/BibliographicRecordDTO

/api/rest/bibliographicrecord/{identifier}

GET

Parameters:

nameinrequiredvalue
identifierpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonBibliographicRecordDcDTO || BibliographicRecordDTO

POST

Parameters: NONE

Body:

content-typecontent
application/jsonBibliographicRecordDTO

Responses:

codedescriptioncontent-typebody
200OK/BibliographicRecordDTO

DELETE

Parameters:

nameinrequiredvalue
identifierpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OK/any

/api/rest/bibliographicrecord/{id}

GET

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonBibliographicRecordDTO

Check configuration


/api/rest/checkconfiguration

GET

Parameters:

nameinrequiredvaluedefault
searchqueryfalsestring
librariesqueryfalseArray<string>
pagequeryfalseint320
sizequeryfalseint3210
projectquerytruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonArray<AutomaticCheckRuleDTO> || PageSimpleCheckConfigurationDTO || Array<SimpleCheckConfigurationDTO>

POST

Parameters: NONE

Body:

content-typecontent
application/jsonCheckConfigurationDTO

Responses:

codedescriptioncontent-typebody
200OK/CheckConfigurationDTO

/api/rest/checkconfiguration/{id}

GET

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonCheckConfigurationDTO

POST

Parameters: NONE

Body:

content-typecontent
application/jsonCheckConfigurationDTO

Responses:

codedescriptioncontent-typebody
200OK/CheckConfigurationDTO

DELETE

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OK/CheckConfigurationDTO

/api/rest/checkconfiguration/{idDocUnit}

GET

Parameters:

nameinrequiredvalue
idDocUnitpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonCheckConfigurationDTO

Check


/api/rest/check

GET

Parameters: NONE

Body: NONE

Responses:

codedescriptioncontent-typebody
200OK/UniqArray<"UNREADABLE" | "BAD_NAME" | "BAD_HIERARCHY" | "MISSING_PAGE" | "TRUNCATED_INFORMATION" | "BAD_RESOLUTION" | "BAD_THRESHOLD" | "WRONG_FORMAT" | "FOREIGN_BODIES" | "BAD_METADATA" | "INCONSISTENT_METADATA" | "ANOTHER_MAJ" | "BLURRED_IMAGE" | "SLANT_IMAGE" | "HALO_ON_IMAGE" | "SHADOW_ON_IMAGE" | "GEOMETRICAL_ANOMALY" | "CHROMATIC_ANOMALY" | "WRONG_FRAMING" | "WRONG_ORDER" | "BAD_OCR" | "ANOTHER_MIN">

POST

Parameters: NONE

Body:

content-typecontent
application/jsonCheckDTO

Responses:

codedescriptioncontent-typebody
200OK/CheckDTO

/api/rest/check/{id}

GET

Parameters:

nameinrequiredvalue
idpathtruestring
deliveryIdquerytruestring
pageIdquerytruestring
pageNumberquerytrueint32

Body: NONE

Responses:

codedescriptioncontent-typebody
200OK/ Object not handled {additionalProperties: {type: object}}
202Accepted/DocErrorReport || UniqArray<"UNREADABLE" | "BAD_NAME" | "BAD_HIERARCHY" | "MISSING_PAGE" | "TRUNCATED_INFORMATION" | "BAD_RESOLUTION" | "BAD_THRESHOLD" | "WRONG_FORMAT" | "FOREIGN_BODIES" | "BAD_METADATA" | "INCONSISTENT_METADATA" | "ANOTHER_MAJ" | "BLURRED_IMAGE" | "SLANT_IMAGE" | "HALO_ON_IMAGE" | "SHADOW_ON_IMAGE" | "GEOMETRICAL_ANOMALY" | "CHROMATIC_ANOMALY" | "WRONG_FRAMING" | "WRONG_ORDER" | "BAD_OCR" | "ANOTHER_MIN"> || UniqArray<string>

POST

Parameters:

nameinrequiredvalue
idpathtruestring
pageNumberquerytrueint32
deliveryIdquerytruestring

Body:

content-typecontent
application/jsonDocPageErrorsDTO

Responses:

codedescriptioncontent-typebody
200OK/CheckDTO
202Accepted/DocErrorReport

/api/rest/check/pdf/{id}

GET

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKNONENONE

/api/rest/check/lot_pdf/{id}

GET

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKNONENONE

/api/rest/check/lot_csv/{id}

GET

Parameters:

nameinrequiredvaluedefault
idpathtruestring
encodingqueryfalsestringutf-8
separatorqueryfalsestring;

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKNONENONE

/api/rest/check/csv/{id}

GET

Parameters:

nameinrequiredvaluedefault
idpathtruestring
encodingqueryfalsestringutf-8
separatorqueryfalsestring;

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKNONENONE

Check slip configuration


/api/rest/checkslip_configuration/{id}

GET

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonCheckSlipConfiguration

POST

Parameters: NONE

Body:

content-typecontent
application/jsonCheckSlipConfiguration

Responses:

codedescriptioncontent-typebody
200OK/CheckSlipConfiguration

Cines language code


/api/rest/conf/cineslangcode

GET

Parameters: NONE

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonArray<CinesLanguageCode>

POST

Parameters: NONE

Body:

content-typecontent
application/jsonArray<CinesLanguageCode>

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonArray<CinesLanguageCode>

Condition report attachment


/api/rest/condreport_attachment

GET

Parameters:

nameinrequiredvalue
reportquerytruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonArray<ConditionReportAttachment>

POST

Parameters:

nameinrequiredvalue
filequerytrueArray<Binary>
reportquerytruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonArray<ConditionReportAttachment>

/api/rest/condreport_attachment/{id}

GET

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKNONENONE

/api/rest/condreport_attachment/{identifier}

DELETE

Parameters:

nameinrequiredvalue
identifierpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKNONENONE

Condition report


/api/rest/condreport

GET

Parameters:

nameinrequiredvaluedefault
docUnitquerytruestring
sampleIdquerytruestring
import-templatequerytrueArray<string>
formatqueryfalsestring with unhandled constraintsXLSX
sortAttributesquerytrueArray<string>

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonConditionReport || UniqArray<string>

POST

Parameters:

nameinrequiredvaluedefault
pagequeryfalseint320
sizequeryfalseint322147483647
sortsqueryfalseArray<string>
filequerytrueArray<Binary>
docUnitquerytruestring

Body:

content-typecontent
application/jsonSearchRequest

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonArray<ImportResult> || PageSearchResult || ConditionReport

/api/rest/condreport/{id}

GET

Parameters:

nameinrequiredvaluedefault
idpathtruestring
exporttoqueryfalsestring with unhandled constraintsPDF

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKNONENONE

POST

Parameters:

nameinrequiredvalue
docUnitquerytruestring
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonany

/api/rest/condreport/{identifier}

GET

Parameters:

nameinrequiredvalue
identifierpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonConditionReport

POST

Parameters: NONE

Body:

content-typecontent
application/jsonConditionReport

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonConditionReport

DELETE

Parameters:

nameinrequiredvalue
identifierpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKNONENONE

/api/rest/condreport/pdf

GET

Parameters:

nameinrequiredvalue
reportsquerytrueArray<string>

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKNONENONE

/api/rest/condreport/csv

GET

Parameters:

nameinrequiredvaluedefault
reportsquerytrueArray<string>
encodingqueryfalsestringISO-8859-15
separatorqueryfalsestring;

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKNONENONE

Condition report detail


/api/rest/condreport_detail

GET

Parameters:

nameinrequiredvalue
reportquerytruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonArray<ConditionReportDetail>

POST

Parameters:

nameinrequiredvalue
typequerytrue"LIBRARY_LEAVING" | "PROVIDER_RECEPTION" | "DIGITALIZATION" | "LIBRARY_BACK" | "LIBRARY_RETURN" | "LIBRARY_NEW_DIGIT"
detailquerytruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonConditionReportDetail

/api/rest/condreport_detail/{identifier}

GET

Parameters:

nameinrequiredvalue
identifierpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonConditionReportDetail

POST

Parameters: NONE

Body:

content-typecontent
application/jsonConditionReportDetail

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonConditionReportDetail

DELETE

Parameters:

nameinrequiredvalue
identifierpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKNONENONE

Condition report slip configuration


/api/rest/condreportslip_configuration/{id}

GET

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonConditionReportSlipConfiguration

POST

Parameters: NONE

Body:

content-typecontent
application/jsonConditionReportSlipConfiguration

Responses:

codedescriptioncontent-typebody
200OK/ConditionReportSlipConfiguration

Csv mapping


/api/rest/csvmapping

GET

Parameters:

nameinrequiredvalue
libraryquerytrueLibrary

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonUniqArray<CSVMappingDTO> || Array<CSVMappingDTO>

POST

Parameters: NONE

Body:

content-typecontent
application/jsonCSVMapping

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonCSVMapping

/api/rest/csvmapping/{id}

GET

Parameters:

nameinrequiredvalue
idpathtruestring
libraryqueryfalsestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonCSVMapping

POST

Parameters: NONE

Body:

content-typecontent
application/jsonCSVMapping

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonCSVMapping

DELETE

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OK/any

Delivery configuration


/api/rest/delivery_configuration/{id}

GET

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonDeliverySlipConfiguration

POST

Parameters: NONE

Body:

content-typecontent
application/jsonDeliverySlipConfiguration

Responses:

codedescriptioncontent-typebody
200OK/DeliverySlipConfiguration

Delivery


/api/rest/delivery

GET

Parameters:

nameinrequiredvaluedefault
lotquerytruestring
fromquerytrueDate
libraryqueryfalseArray<string>
projectqueryfalseArray<string>
statusqueryfalseArray<"SAVED" | "DELIVERING" | "DELIVERED" | "TO_BE_CONTROLLED" | "VALIDATED" | "REJECTED" | "BACK_TO_PROVIDER" | "AUTOMATICALLY_REJECTED" | "DELIVERED_AGAIN" | "DELIVERING_ERROR" | "TREATED" | "CLOSED" | "CANCELED">
searchqueryfalsestring
librariesqueryfalseArray<string>
projectsqueryfalseArray<string>
lotsqueryfalseArray<string>
providersqueryfalseArray<string>
deliveryDateFromqueryfalseDate
deliveryDateToqueryfalseDate
pagequeryfalseint320
sizequeryfalseint3210
digitalDocIdentifierquerytruestring
filteredProjectsqueryfalseArray<string>
filteredLotsqueryfalseArray<string>
docUnitquerytruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonArray<AuditDeliveryRevisionDTO> || Array<SimpleDeliveryDTO> || PageSimpleDeliveryDTO || Array<DeliveryDTO> || DeliveryDTO || Object not handled {additionalProperties: {type: integer, format: int64}} || Object not handled {additionalProperties: {type: object}}

POST

Parameters: NONE

Body:

content-typecontent
application/jsonManualDeliveryDTO

Responses:

codedescriptioncontent-typebody
200OK/DeliveryDTO

/api/rest/delivery/{id}

GET

Parameters:

nameinrequiredvaluedefault
idpathtruestring
create_docsqueryfalsebooleanfalse
digitalIdqueryfalsestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonSimpleDeliveryForViewerDTO || DeliveryDTO || Array<SimpleDeliveredDigitalDocDTO> || Array<string> || SampleDTO || CheckConfigurationDTO

POST

Parameters:

nameinrequiredvaluedefault
idpathtruestring
lockedDocsqueryfalseArray<string>
create_docsqueryfalsebooleanfalse
prefixToExcludequeryfalseArray<string>

Body:

content-typecontent
application/jsonArray<PreDeliveryDocumentDTO>

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonDeliveryDTO

DELETE

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OK/any

/api/rest/delivery/pdf/{id}

GET

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKNONENONE

/api/rest/delivery/lot_pdf/{id}

GET

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKNONENONE

/api/rest/delivery/lot_csv/{id}

GET

Parameters:

nameinrequiredvaluedefault
idpathtruestring
encodingqueryfalsestringutf-8
separatorqueryfalsestring;

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKNONENONE

/api/rest/delivery/csv/{id}

GET

Parameters:

nameinrequiredvaluedefault
idpathtruestring
encodingqueryfalsestringutf-8
separatorqueryfalsestring;

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKNONENONE

Description property


/api/rest/condreport_desc_prop

GET

Parameters:

nameinrequiredvalue
libraryquerytruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonArray<DescriptionProperty>

POST

Parameters: NONE

Body:

content-typecontent
application/jsonDescriptionProperty

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonDescriptionProperty

/api/rest/condreport_desc_prop/{identifier}

POST

Parameters: NONE

Body:

content-typecontent
application/jsonDescriptionProperty

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonDescriptionProperty

DELETE

Parameters:

nameinrequiredvalue
identifierpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKNONENONE

Description value


/api/rest/condreport_desc_value

GET

Parameters:

nameinrequiredvalue
propertyquerytruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonArray<DescriptionValue>

POST

Parameters: NONE

Body:

content-typecontent
application/jsonDescriptionValue

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonDescriptionValue

/api/rest/condreport_desc_value/{identifier}

POST

Parameters: NONE

Body:

content-typecontent
application/jsonDescriptionValue

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonDescriptionValue

DELETE

Parameters:

nameinrequiredvalue
identifierpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKNONENONE

Digital document


/api/rest/digitaldocument/{identifier}

GET

Parameters:

nameinrequiredvalue
identifierpathtruestring
pageNumberquerytrueint32

Body: NONE

Responses:

codedescriptioncontent-typebody
200OK/SimpleDocPageDTO || DigitalDocumentDTO || Object not handled {additionalProperties: {type: string}} || Array<string> || Array<int32> || string || CheckConfigurationDTO
202Accepted/ Object not handled {additionalProperties: {type: object, additionalProperties: {type: string}}}

POST

Parameters:

nameinrequiredvalue
identifierpathtruestring
checksOKquerytrueboolean
samplingquerytrueboolean

Body:

content-typecontent
application/jsonDigitalDocumentDTO

Responses:

codedescriptioncontent-typebody
200OK/any || DigitalDocumentDTO

/api/rest/digitaldocument

GET

Parameters:

nameinrequiredvaluedefault
searchqueryfalsestring
statusqueryfalseArray<string>
librariesqueryfalseArray<string>
projectsqueryfalseArray<string>
lotsqueryfalseArray<string>
trainsqueryfalseArray<string>
deliveriesqueryfalseArray<string>
pagequeryfalseint320
dateFromqueryfalseDate
dateToqueryfalseDate
dateLimitFromqueryfalseDate
dateLimitToqueryfalseDate
searchPgcnIdqueryfalsestring
searchTitrequeryfalsestring
searchRadicalqueryfalsestring
fileFormatsqueryfalseArray<string>
maxAnglesqueryfalseArray<string>
searchPageFromqueryfalseint32
searchPageToqueryfalseint32
searchPageCheckFromqueryfalseint64
searchPageCheckToqueryfalseint64
searchMinSizequeryfalsedouble
searchMaxSizequeryfalsedouble
validatedqueryfalseboolean
sizequeryfalseint322147483647
sortsqueryfalseArray<string>

Body: NONE

Responses:

codedescriptioncontent-typebody
200OK/Array<SimpleDigitalDocumentDTO>

Digital library configuration


/api/rest/conf_digital_library

GET

Parameters:

nameinrequiredvaluedefault
searchqueryfalsestring
librariesqueryfalseArray<string>
pagequeryfalseint320
sizequeryfalseint3210
libraryquerytrueLibrary
activequeryfalseboolean

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonUniqArray<DigitalLibraryConfigurationDTO> || PageDigitalLibraryConfigurationDTO

POST

Parameters: NONE

Body:

content-typecontent
application/jsonDigitalLibraryConfiguration

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonDigitalLibraryConfiguration

/api/rest/conf_digital_library/{id}

GET

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonDigitalLibraryConfiguration

POST

Parameters: NONE

Body:

content-typecontent
application/jsonDigitalLibraryConfiguration

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonDigitalLibraryConfiguration

DELETE

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OK/any

Digital library diffusion


/api/rest/export/digitalLibrary

GET

Parameters:

nameinrequiredvalue
docsquerytrueArray<string>

Body: NONE

Responses:

codedescriptioncontent-typebody
200OK/"100 CONTINUE" | "101 SWITCHING_PROTOCOLS" | "102 PROCESSING" | "103 CHECKPOINT" | "200 OK" | "201 CREATED" | "202 ACCEPTED" | "203 NON_AUTHORITATIVE_INFORMATION" | "204 NO_CONTENT" | "205 RESET_CONTENT" | "206 PARTIAL_CONTENT" | "207 MULTI_STATUS" | "208 ALREADY_REPORTED" | "226 IM_USED" | "300 MULTIPLE_CHOICES" | "301 MOVED_PERMANENTLY" | "302 FOUND" | "302 MOVED_TEMPORARILY" | "303 SEE_OTHER" | "304 NOT_MODIFIED" | "305 USE_PROXY" | "307 TEMPORARY_REDIRECT" | "308 PERMANENT_REDIRECT" | "400 BAD_REQUEST" | "401 UNAUTHORIZED" | "402 PAYMENT_REQUIRED" | "403 FORBIDDEN" | "404 NOT_FOUND" | "405 METHOD_NOT_ALLOWED" | "406 NOT_ACCEPTABLE" | "407 PROXY_AUTHENTICATION_REQUIRED" | "408 REQUEST_TIMEOUT" | "409 CONFLICT" | "410 GONE" | "411 LENGTH_REQUIRED" | "412 PRECONDITION_FAILED" | "413 PAYLOAD_TOO_LARGE" | "413 REQUEST_ENTITY_TOO_LARGE" | "414 URI_TOO_LONG" | "414 REQUEST_URI_TOO_LONG" | "415 UNSUPPORTED_MEDIA_TYPE" | "416 REQUESTED_RANGE_NOT_SATISFIABLE" | "417 EXPECTATION_FAILED" | "418 I_AM_A_TEAPOT" | "419 INSUFFICIENT_SPACE_ON_RESOURCE" | "420 METHOD_FAILURE" | "421 DESTINATION_LOCKED" | "422 UNPROCESSABLE_ENTITY" | "423 LOCKED" | "424 FAILED_DEPENDENCY" | "425 TOO_EARLY" | "426 UPGRADE_REQUIRED" | "428 PRECONDITION_REQUIRED" | "429 TOO_MANY_REQUESTS" | "431 REQUEST_HEADER_FIELDS_TOO_LARGE" | "451 UNAVAILABLE_FOR_LEGAL_REASONS" | "500 INTERNAL_SERVER_ERROR" | "501 NOT_IMPLEMENTED" | "502 BAD_GATEWAY" | "503 SERVICE_UNAVAILABLE" | "504 GATEWAY_TIMEOUT" | "505 HTTP_VERSION_NOT_SUPPORTED" | "506 VARIANT_ALSO_NEGOTIATES" | "507 INSUFFICIENT_STORAGE" | "508 LOOP_DETECTED" | "509 BANDWIDTH_LIMIT_EXCEEDED" | "510 NOT_EXTENDED" | "511 NETWORK_AUTHENTICATION_REQUIRED"

POST

Parameters:

nameinrequiredvalue
docUnitquerytruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonany

Doc property type


/api/rest/docpropertytype

GET

Parameters:

nameinrequiredvalue
supertypequerytrue"DC" | "DCQ" | "CUSTOM" | "CUSTOM_CINES" | "CUSTOM_ARCHIVE" | "CUSTOM_OMEKA"

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonArray<DocPropertyTypeDTO> || Array<DocPropertyType>

POST

Parameters: NONE

Body:

content-typecontent
application/jsonDocPropertyType

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonDocPropertyType

/api/rest/docpropertytype/{id}

GET

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonDocPropertyType

POST

Parameters: NONE

Body:

content-typecontent
application/jsonDocPropertyType

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonDocPropertyType

DELETE

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OK/DocPropertyType

Doc unit


/api/rest/docunit

GET

Parameters:

nameinrequiredvaluedefault
siblingquerytruestring
searchqueryfalsestring
hasDigitalDocumentsqueryfalsebooleanfalse
activequeryfalsebooleantrue
archivedqueryfalsebooleanfalse
nonArchivedqueryfalsebooleanfalse
archivablequeryfalsebooleanfalse
nonArchivablequeryfalsebooleanfalse
distributedqueryfalsebooleanfalse
nonDistributedqueryfalsebooleanfalse
distributablequeryfalsebooleanfalse
nonDistributablequeryfalsebooleanfalse
librariesqueryfalseArray<string>
projectsqueryfalseArray<string>
lotsqueryfalseArray<string>
statusesqueryfalseArray<string>
lastModifiedDateFromqueryfalseDate
lastModifiedDateToqueryfalseDate
createdDateFromqueryfalseDate
createdDateToqueryfalseDate
pagequeryfalseint320
sizequeryfalseint322147483647
sortsqueryfalseArray<string>
projectqueryfalsestring
parentquerytruestring
lotquerytruestring
docsquerytrueArray<string>
typesqueryfalseArray<string>[METS, VIEW]
pgcnIdqueryfalsestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonPageSimpleDocUnitDTO || Array<DocUnitDTO> || PageSummaryDocUnitWithLotDTO || Array<SummaryDocUnitWithLotDTO> || Array<SummaryDocUnitDTO> || Array<SimpleDocUnitDTO>

POST

Parameters:

nameinrequiredvaluedefault
trainquerytruestring
pagequeryfalseint320
sizequeryfalseint322147483647
sortsqueryfalseArray<string>
siblingidquerytruestring
removesiblingquerytruestring
parentquerytruestring
childquerytruestring
projectquerytruestring
lotqueryfalsestring

Body:

content-typecontent
application/jsonArray<string>

Responses:

codedescriptioncontent-typebody
200OK/Array<DocUnitUpdateErrorDTO> || DocUnitDTO || Array<DocUnitDeletedReportDTO> || any

/api/rest/docunit/{identifier}

GET

Parameters:

nameinrequiredvalue
identifierpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonDocUnitDTO

POST

Parameters:

nameinrequiredvalue
identifierpathtruestring

Body:

content-typecontent
application/jsonDocUnitDTO

Responses:

codedescriptioncontent-typebody
200OK/any || DocUnitDTO

DELETE

Parameters:

nameinrequiredvalue
identifierpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OK/DocUnitDeletedReportDTO

/api/rest/docunit/initHistory

GET

Parameters:

nameinrequiredvalue
libraryquerytruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OK/any

Export cines


/api/rest/export/cines

GET

Parameters:

nameinrequiredvalue
docUnitquerytruestring
cinesStatusquerytruestring
docsquerytrueArray<string>
confqueryfalseMailboxConfiguration

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/xmlany

POST

Parameters:

nameinrequiredvaluedefault
docUnitquerytruestring
confqueryfalseSftpConfiguration
reversionqueryfalsebooleanfalse

Body:

content-typecontent
application/jsonBibliographicRecordDcDTO

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonCinesReport

/api/rest/export/cines/{id}

POST

Parameters:

nameinrequiredvalue
idpathtruestring

Body:

content-typecontent
application/jsonBibliographicRecordDcDTO

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonany

/api/rest/export/cines/{identifier}

GET

Parameters:

nameinrequiredvalue
identifierpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonBibliographicRecordDcDTO

/api/rest/export/cines/regenerateMets

GET

Parameters:

nameinrequiredvalue
libraryquerytruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OK/any

Export


/api/rest/export/rdfxml

GET

Parameters:

nameinrequiredvaluedefault
typequeryfalsestring with unhandled constraintsDC
docUnitquerytruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKNONENONE

/api/rest/export/ead

GET

Parameters:

nameinrequiredvalue
docUnitquerytruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKNONENONE

/api/rest/export/csv

GET

Parameters:

nameinrequiredvaluedefault
lotquerytruestring
fieldqueryfalseArray<string>
docfieldqueryfalseArray<string>
bibfieldqueryfalseArray<string>
physfieldqueryfalseArray<string>
encodingqueryfalsestringISO-8859-15
separatorqueryfalsestring;
docUnitquerytrueArray<string>

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKNONENONE

Export ftp configuration


/api/rest/exportftpconfiguration

GET

Parameters:

nameinrequiredvaluedefault
searchqueryfalsestring
librariesqueryfalseArray<string>
pagequeryfalseint320
sizequeryfalseint3210
projectquerytruestring
fullConfigqueryfalseboolean
libraryIdquerytruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonArray<AbstractDTO> || PageSimpleExportFTPConfDTO

POST

Parameters: NONE

Body:

content-typecontent
application/jsonExportFTPConfigurationDTO

Responses:

codedescriptioncontent-typebody
200OK/ExportFTPConfigurationDTO

/api/rest/exportftpconfiguration/{id}

GET

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonExportFTPConfigurationDTO

POST

Parameters: NONE

Body:

content-typecontent
application/jsonExportFTPConfigurationDTO

Responses:

codedescriptioncontent-typebody
200OK/ExportFTPConfigurationDTO

DELETE

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OK/ExportFTPConfigurationDTO

Export internet archive


/api/rest/internet_archive/{id}

GET

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonInternetArchiveItemDTO

POST

Parameters:

nameinrequiredvalue
idpathtruestring

Body:

content-typecontent
application/jsonInternetArchiveItemDTO

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonany

/api/rest/internet_archive

GET

Parameters:

nameinrequiredvalue
docsquerytrueArray<string>

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKNONENONE

Export omeka


/api/rest/export/omeka

GET

Parameters:

nameinrequiredvalue
docsquerytrueArray<string>

Body: NONE

Responses:

codedescriptioncontent-typebody
200OK/"100 CONTINUE" | "101 SWITCHING_PROTOCOLS" | "102 PROCESSING" | "103 CHECKPOINT" | "200 OK" | "201 CREATED" | "202 ACCEPTED" | "203 NON_AUTHORITATIVE_INFORMATION" | "204 NO_CONTENT" | "205 RESET_CONTENT" | "206 PARTIAL_CONTENT" | "207 MULTI_STATUS" | "208 ALREADY_REPORTED" | "226 IM_USED" | "300 MULTIPLE_CHOICES" | "301 MOVED_PERMANENTLY" | "302 FOUND" | "302 MOVED_TEMPORARILY" | "303 SEE_OTHER" | "304 NOT_MODIFIED" | "305 USE_PROXY" | "307 TEMPORARY_REDIRECT" | "308 PERMANENT_REDIRECT" | "400 BAD_REQUEST" | "401 UNAUTHORIZED" | "402 PAYMENT_REQUIRED" | "403 FORBIDDEN" | "404 NOT_FOUND" | "405 METHOD_NOT_ALLOWED" | "406 NOT_ACCEPTABLE" | "407 PROXY_AUTHENTICATION_REQUIRED" | "408 REQUEST_TIMEOUT" | "409 CONFLICT" | "410 GONE" | "411 LENGTH_REQUIRED" | "412 PRECONDITION_FAILED" | "413 PAYLOAD_TOO_LARGE" | "413 REQUEST_ENTITY_TOO_LARGE" | "414 URI_TOO_LONG" | "414 REQUEST_URI_TOO_LONG" | "415 UNSUPPORTED_MEDIA_TYPE" | "416 REQUESTED_RANGE_NOT_SATISFIABLE" | "417 EXPECTATION_FAILED" | "418 I_AM_A_TEAPOT" | "419 INSUFFICIENT_SPACE_ON_RESOURCE" | "420 METHOD_FAILURE" | "421 DESTINATION_LOCKED" | "422 UNPROCESSABLE_ENTITY" | "423 LOCKED" | "424 FAILED_DEPENDENCY" | "425 TOO_EARLY" | "426 UPGRADE_REQUIRED" | "428 PRECONDITION_REQUIRED" | "429 TOO_MANY_REQUESTS" | "431 REQUEST_HEADER_FIELDS_TOO_LARGE" | "451 UNAVAILABLE_FOR_LEGAL_REASONS" | "500 INTERNAL_SERVER_ERROR" | "501 NOT_IMPLEMENTED" | "502 BAD_GATEWAY" | "503 SERVICE_UNAVAILABLE" | "504 GATEWAY_TIMEOUT" | "505 HTTP_VERSION_NOT_SUPPORTED" | "506 VARIANT_ALSO_NEGOTIATES" | "507 INSUFFICIENT_STORAGE" | "508 LOOP_DETECTED" | "509 BANDWIDTH_LIMIT_EXCEEDED" | "510 NOT_EXTENDED" | "511 NETWORK_AUTHENTICATION_REQUIRED"

POST

Parameters:

nameinrequiredvalue
docUnitquerytruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonany

File cleaning


/api/rest/filecleaning/deleteorphans

GET

Parameters:

nameinrequiredvalue
libraryquerytruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKNONENONE

Files gestion config


/api/rest/filesgestionconfig

POST

Parameters: NONE

Body:

content-typecontent
application/jsonFilesGestionConfigDTO

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonFilesGestionConfigDTO

/api/rest/filesgestionconfig/{id}

POST

Parameters:

nameinrequiredvalue
idpathtruestring

Body:

content-typecontent
application/jsonFilesGestionConfigDTO

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonFilesGestionConfigDTO

/api/rest/filesgestionconfig/{idLibrary}

GET

Parameters:

nameinrequiredvalue
idLibrarypathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonFilesGestionConfigDTO

Ftp configuration


/api/rest/ftpconfiguration

GET

Parameters:

nameinrequiredvaluedefault
searchqueryfalsestring
librariesqueryfalseArray<string>
pagequeryfalseint320
sizequeryfalseint3210
projectquerytruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonArray<SimpleFTPConfigurationDTO> || PageSimpleFTPConfigurationDTO

POST

Parameters: NONE

Body:

content-typecontent
application/jsonFTPConfigurationDTO

Responses:

codedescriptioncontent-typebody
200OK/FTPConfigurationDTO

/api/rest/ftpconfiguration/{id}

GET

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonFTPConfigurationDTO

POST

Parameters: NONE

Body:

content-typecontent
application/jsonFTPConfigurationDTO

Responses:

codedescriptioncontent-typebody
200OK/FTPConfigurationDTO

DELETE

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OK/FTPConfigurationDTO

Health


/api/rest/health

GET

Parameters: NONE

Body: NONE

Responses:

codedescriptioncontent-typebody
200OK/string

Help page


/api/rest/help

GET

Parameters:

nameinrequiredvalue
modulesqueryfalseArray<string>
typesqueryfalseArray<"PGCN" | "CUSTOM">
searchqueryfalsestring
tagquerytruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonArray<ModuleDto>

POST

Parameters: NONE

Body:

content-typecontent
application/jsonHelpPage

Responses:

codedescriptioncontent-typebody
200OK/HelpPage

/api/rest/help/{id}

GET

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OK/HelpPage

POST

Parameters: NONE

Body:

content-typecontent
application/jsonHelpPage

Responses:

codedescriptioncontent-typebody
200OK/HelpPage

DELETE

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKNONENONE

Image metadata


/api/rest/imagemetadata

GET

Parameters:

nameinrequiredvalue
docUnitIdquerytruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonArray<ImageMetadataValue> || Array<ImageMetadataProperty>

POST

Parameters: NONE

Body:

content-typecontent
application/jsonArray<ImageMetadataProperty>

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonArray<ImageMetadataValue> || ImageMetadataProperty || Array<ImageMetadataProperty>

/api/rest/imagemetadata/{id}

POST

Parameters: NONE

Body:

content-typecontent
application/jsonImageMetadataProperty

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonImageMetadataProperty

Import


/api/rest/import

POST

Parameters:

nameinrequiredvaluedefault
filequerytrueArray<Binary>
typequeryfalsestring with unhandled constraintsSIMPLE
formatquerytrue"MARC" | "MARCJSON" | "MARCXML" | "CSV" | "DC" | "DCQ" | "EAD" | "OAIPMH"
encodingqueryfalsestring with unhandled constraintsUTF_8
mappingquerytruestring
mappingChildrenqueryfalsestring
parentqueryfalsestring
libraryquerytruestring
projectqueryfalsestring
lotqueryfalsestring
joinqueryfalsestring
validationqueryfalsebooleanfalse
dedupqueryfalsebooleanfalse
dedupProcessqueryfalse"ADD" | "REPLACE" | "IGNORE"
archivablequeryfalsebooleanfalse
distributablequeryfalsebooleanfalse
prop_orderqueryfalsestring with unhandled constraintsBY_PROPERTY_TYPE
defaultProcessqueryfalsestring with unhandled constraintsADD

Body:

content-typecontent
application/jsonImportReport

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonImportReport

Import report


/api/rest/importreport

GET

Parameters:

nameinrequiredvaluedefault
pagequeryfalseint320
sizequeryfalseint3210
libraryqueryfalseLibrary
searchqueryfalsestring
usersqueryfalseArray<string>
statusqueryfalseArray<"PENDING" | "PRE_IMPORTING" | "DEDUPLICATING" | "USER_VALIDATION" | "IMPORTING" | "INDEXING" | "COMPLETED" | "FAILED">

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonPageImportReport

/api/rest/importreport/{id}

GET

Parameters:

nameinrequiredvalue
idpathtruestring
filequerytruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/json Object not handled {additionalProperties: {type: object}} || ImportReport

DELETE

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OK/any

Imported doc unit


/api/rest/impdocunit/{id}

POST

Parameters:

nameinrequiredvaluedefault
idpathtruestring
processqueryfalsestringfalse

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonany

/api/rest/impdocunit

GET

Parameters:

nameinrequiredvaluedefault
reportquerytrueImportReport
pagequeryfalseint320
sizequeryfalseint3210
statequeryfalseArray<"AVAILABLE" | "NOT_AVAILABLE" | "DELETED" | "CANCELED" | "CLOSED">
errorsqueryfalsebooleanfalse
duplicatesqueryfalsebooleanfalse

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonPageImportedDocUnit

Internal account


/api_int/authenticate

GET

Parameters: NONE

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonstring

/api_int/account

GET

Parameters: NONE

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonUserAccountDTO

/api_int/account/sessions

GET

Parameters: NONE

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonArray<PersistentToken>

/api_int/account/sessions/{series}

DELETE

Parameters:

nameinrequiredvalue
seriespathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKNONENONE

Internet archive configuration


/api/rest/conf_internet_archive

GET

Parameters:

nameinrequiredvaluedefault
activequeryfalseboolean
searchqueryfalsestring
librariesqueryfalseArray<string>
pagequeryfalseint320
sizequeryfalseint3210
libraryquerytrueLibrary
projectqueryfalsestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonPageInternetArchiveConfigurationDTO || Array<InternetArchiveConfigurationDTO> || UniqArray<InternetArchiveConfigurationDTO> || Array<InternetArchiveCollection>

POST

Parameters: NONE

Body:

content-typecontent
application/jsonInternetArchiveConfiguration

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonInternetArchiveConfiguration

/api/rest/conf_internet_archive/{id}

GET

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonInternetArchiveConfiguration

POST

Parameters: NONE

Body:

content-typecontent
application/jsonInternetArchiveConfiguration

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonInternetArchiveConfiguration

DELETE

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OK/any

Library


/api/rest/library

GET

Parameters:

nameinrequiredvaluedefault
searchqueryfalsestring
initialequeryfalsestring
institutionsqueryfalseArray<string>
isActivequeryfalsebooleantrue
pagequeryfalseint320
sizequeryfalseint3210

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonArray<SimpleLibraryDTO> || PageSimpleLibraryDTO

POST

Parameters: NONE

Body:

content-typecontent
application/jsonLibraryDTO

Responses:

codedescriptioncontent-typebody
200OK/LibraryDTO

/api/rest/library/{id}

GET

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonArray<SimpleUserDTO> || LibraryDTO || Object not handled {additionalProperties: {type: object}}

POST

Parameters:

nameinrequiredvalue
idpathtruestring
filequerytrueArray<Binary>

Body:

content-typecontent
application/jsonLibraryDTO

Responses:

codedescriptioncontent-typebody
200OK/LibraryDTO

DELETE

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OK/Library

Library parameter


/api/rest/libraryparameter

GET

Parameters:

nameinrequiredvalue
sftpConfigqueryfalsestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonLibraryParameterValuedDTO

POST

Parameters: NONE

Body:

content-typecontent
application/jsonLibraryParameterValuedDTO

Responses:

codedescriptioncontent-typebody
200OK/LibraryParameterValuedDTO

/api/rest/libraryparameter/{id}

GET

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonLibraryParameterDTO

POST

Parameters: NONE

Body:

content-typecontent
application/jsonLibraryParameterValuedDTO

Responses:

codedescriptioncontent-typebody
200OK/LibraryParameterValuedDTO

DELETE

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OK/LibraryParameter

Logs


/api_int/logs

GET

Parameters: NONE

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonArray<LoggerDTO>

PUT

Parameters: NONE

Body:

content-typecontent
application/jsonLoggerDTO

Responses:

codedescriptioncontent-typebody
204No ContentNONENONE

Lot


/api/rest/lot

GET

Parameters:

nameinrequiredvaluedefault
fromquerytrueDate
libraryqueryfalseArray<string>
projectqueryfalseArray<string>
statusqueryfalseArray<"CREATED" | "ONGOING" | "PENDING" | "CANCELED" | "CLOSED">
searchqueryfalsestring
librariesqueryfalseArray<string>
projectsqueryfalseArray<string>
activequeryfalsebooleantrue
statusesqueryfalseArray<"CREATED" | "ONGOING" | "PENDING" | "CANCELED" | "CLOSED">
docNumberqueryfalseint32
fileFormatqueryfalseArray<string>
pagequeryfalseint320
sizequeryfalseint3210
sortsqueryfalseArray<string>
projectIdsquerytrueArray<string>
targetqueryfalsestring
lotquerytrueArray<string>

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonArray<SimpleLotDTO> || Array<AuditLotRevisionDTO> || PageSimpleLotDTO || Array<LotDTO> || Array<LotListDTO>

POST

Parameters:

nameinrequiredvaluedefault
pagequeryfalseint320
sizequeryfalseint3210
sortsqueryfalseArray<string>
projectquerytruestring

Body:

content-typecontent
application/jsonArray<string>

Responses:

codedescriptioncontent-typebody
200OK/Lot || LotDTO || Array<ResultAdminLotDTO>

/api/rest/lot/{id}

GET

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonLotDTO

POST

Parameters:

nameinrequiredvalue
idpathtruestring

Body:

content-typecontent
application/jsonLotDTO

Responses:

codedescriptioncontent-typebody
200OK/any || LotDTO

DELETE

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OK/LotDTO

/api/rest/lot/pdf/{id}

GET

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKNONENONE

/api/rest/lot/csv/{id}

GET

Parameters:

nameinrequiredvaluedefault
idpathtruestring
encodingqueryfalsestringutf-8
separatorqueryfalsestring;

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKNONENONE

Mailbox configuration


/api/rest/conf_mail

GET

Parameters:

nameinrequiredvaluedefault
searchqueryfalsestring
libraryqueryfalseArray<string>
activequeryfalsebooleantrue

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonArray<MailboxConfigurationDTO>

POST

Parameters: NONE

Body:

content-typecontent
application/jsonMailboxConfiguration

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonMailboxConfiguration

/api/rest/conf_mail/{id}

GET

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonMailboxConfiguration

POST

Parameters: NONE

Body:

content-typecontent
application/jsonMailboxConfiguration

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonMailboxConfiguration

DELETE

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OK/any

Mapping


/api/rest/mapping

GET

Parameters:

nameinrequiredvalue
libraryqueryfalseLibrary
typequeryfalse"EAD" | "DC" | "DCQ" | "MARC"

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonUniqArray<MappingDTO> || Array<MappingDTO>

POST

Parameters:

nameinrequiredvalue
libraryquerytruestring
filequerytrueArray<Binary>

Body:

content-typecontent
application/jsonMapping

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonMapping

/api/rest/mapping/{id}

GET

Parameters:

nameinrequiredvalue
idpathtruestring
libraryqueryfalsestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonMapping

POST

Parameters:

nameinrequiredvalue
idpathtruestring
filequerytrueArray<Binary>

Body:

content-typecontent
application/jsonMapping

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonMapping

DELETE

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OK/any

Multi lots delivery


/api/rest/multidelivery

GET

Parameters:

nameinrequiredvaluedefault
searchqueryfalsestring
librariesqueryfalseArray<string>
projectsqueryfalseArray<string>
lotsqueryfalseArray<string>
providersqueryfalseArray<string>
statusqueryfalseArray<"SAVED" | "DELIVERING" | "DELIVERED" | "TO_BE_CONTROLLED" | "VALIDATED" | "REJECTED" | "BACK_TO_PROVIDER" | "AUTOMATICALLY_REJECTED" | "DELIVERED_AGAIN" | "DELIVERING_ERROR" | "TREATED" | "CLOSED" | "CANCELED">
deliveryDateFromqueryfalseDate
deliveryDateToqueryfalseDate
pagequeryfalseint320
sizequeryfalseint3210

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonPageMultiLotsDeliveryDTO

POST

Parameters: NONE

Body:

content-typecontent
application/jsonMultiLotsDeliveryDTO

Responses:

codedescriptioncontent-typebody
200OK/MultiLotsDeliveryDTO

/api/rest/multidelivery/{id}

GET

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/json Object not handled {additionalProperties: {$ref: #/components/schemas/PreDeliveryDTO}} || MultiLotsDeliveryDTO || Object not handled {additionalProperties: {type: array, items: {$ref: #/components/schemas/SimpleDeliveredDigitalDocDTO}}}

POST

Parameters:

nameinrequiredvalue
idpathtruestring
prefixToExcludequeryfalseArray<string>

Body:

content-typecontent
application/jsonMultiLotsDeliveryRequestWrapper

Responses:

codedescriptioncontent-typebody
200OK/any || MultiLotsDeliveryDTO

DELETE

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OK/any

Numahop


/api/rest/numahop

GET

Parameters: NONE

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/json Object not handled {additionalProperties: {type: object}}

Oai pmh


/api/rest/oaipmh

GET

Parameters:

nameinrequiredvalue
baseUrlquerytruestring
fromqueryfalsestring
toqueryfalsestring
setqueryfalsestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonIdentifyType || Object not handled {additionalProperties: {type: string}}

POST

Parameters:

nameinrequiredvaluedefault
libraryquerytruestring
projectqueryfalsestring
lotqueryfalsestring
validationqueryfalsebooleanfalse
dedupqueryfalsebooleanfalse
dedupProcessqueryfalse"ADD" | "REPLACE" | "IGNORE"
baseUrlquerytruestring
fromqueryfalsestring
toqueryfalsestring
setqueryfalsestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonImportReport

Ocr lang configuration


/api/rest/ocrlangconfiguration

GET

Parameters:

nameinrequiredvaluedefault
searchqueryfalsestring
librariesqueryfalseArray<string>
pagequeryfalseint320
sizequeryfalseint3210

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonPageSimpleOcrLangConfigDTO

POST

Parameters: NONE

Body:

content-typecontent
application/jsonOcrLangConfigurationDTO

Responses:

codedescriptioncontent-typebody
200OK/OcrLangConfigurationDTO

/api/rest/ocrlangconfiguration/{id}

GET

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonOcrLangConfigurationDTO

POST

Parameters: NONE

Body:

content-typecontent
application/jsonOcrLangConfigurationDTO

Responses:

codedescriptioncontent-typebody
200OK/OcrLangConfigurationDTO

DELETE

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OK/any

Ocr language


/api/rest/ocrlanguages

GET

Parameters:

nameinrequiredvalue
libraryqueryfalsestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonArray<OcrLanguageDTO>

Omeka configuration


/api/rest/conf_omeka

GET

Parameters:

nameinrequiredvaluedefault
activequeryfalseboolean
searchqueryfalsestring
librariesqueryfalseArray<string>
omekasqueryfalseboolean
pagequeryfalseint320
sizequeryfalseint3210
omekaConfqueryfalsestring
projectqueryfalsestring
libraryquerytrueLibrary

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonPageOmekaConfigurationDTO || Array<OmekaConfigurationDTO> || Array<OmekaList> || UniqArray<OmekaConfigurationDTO>

POST

Parameters: NONE

Body:

content-typecontent
application/jsonOmekaConfigurationDTO

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonOmekaConfigurationDTO

/api/rest/conf_omeka/{id}

GET

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonOmekaConfigurationDTO

POST

Parameters: NONE

Body:

content-typecontent
application/jsonOmekaConfigurationDTO

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonOmekaConfigurationDTO

DELETE

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OK/any

Physical document


/api/rest/physicaldocument/{identifier}

GET

Parameters:

nameinrequiredvalue
identifierpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonPhysicalDocumentDTO

POST

Parameters: NONE

Body:

content-typecontent
application/jsonPhysicalDocumentDTO

Responses:

codedescriptioncontent-typebody
200OK/PhysicalDocumentDTO

/api/rest/physicaldocument

GET

Parameters:

nameinrequiredvalue
trainquerytruestring
docUnitIdsquerytrueArray<string>

Body: NONE

Responses:

codedescriptioncontent-typebody
200OK/Array<ListPhysicalDocumentDTO>

Project


/api/rest/project

GET

Parameters:

nameinrequiredvaluedefault
fromquerytrueDate
libraryqueryfalseArray<string>
statusqueryfalseArray<"CREATED" | "ONGOING" | "PENDING" | "CANCELED" | "CLOSED">
searchqueryfalsestring
initialequeryfalsestring
activequeryfalsebooleantrue
librariesqueryfalseArray<string>
providerqueryfalseArray<string>
pagequeryfalseint320
sizequeryfalseint322147483647
searchProjectqueryfalsestring
statusesqueryfalseArray<"CREATED" | "ONGOING" | "PENDING" | "CANCELED" | "CLOSED">

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonPageSimpleProjectDTO || Array<AuditProjectRevisionDTO> || Array<SimpleProjectDTO>

POST

Parameters: NONE

Body:

content-typecontent
application/jsonArray<ProjectDTO>

Responses:

codedescriptioncontent-typebody
200OK/ProjectDTO

/api/rest/project/{id}

GET

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonProjectDTO

POST

Parameters:

nameinrequiredvalue
idpathtruestring

Body:

content-typecontent
application/jsonProjectDTO

Responses:

codedescriptioncontent-typebody
200OK/ProjectDTO

DELETE

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OK/ProjectDTO

Property configuration


/api/rest/condreport_prop_conf

GET

Parameters:

nameinrequiredvalue
libraryquerytrueLibrary
projectquerytrueProject
internalquerytrue"BINDING_DESC" | "BODY_DESC" | "DIMENSION"
descquerytrueDescriptionProperty

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonPropertyConfigurationDTO || Array<PropertyConfigurationDTO>

POST

Parameters: NONE

Body:

content-typecontent
application/jsonPropertyConfigurationDTO

Responses:

codedescriptioncontent-typebody
200OK/PropertyConfigurationDTO

/api/rest/condreport_prop_conf/{identifier}

POST

Parameters: NONE

Body:

content-typecontent
application/jsonPropertyConfigurationDTO

Responses:

codedescriptioncontent-typebody
200OK/PropertyConfigurationDTO

Role


/api/rest/role

GET

Parameters:

nameinrequiredvalue
searchquerytruestring
authorizationsqueryfalseArray<string>
dtoquerytrueboolean

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonArray<RoleDTO> || Array<Role>

POST

Parameters: NONE

Body:

content-typecontent
application/jsonRole

Responses:

codedescriptioncontent-typebody
200OK/Role

/api/rest/role/{identifier}

GET

Parameters:

nameinrequiredvalue
identifierpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonRole

POST

Parameters: NONE

Body:

content-typecontent
application/jsonRole

Responses:

codedescriptioncontent-typebody
200OK/Role

DELETE

Parameters:

nameinrequiredvalue
identifierpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKNONENONE

Sample


/api/rest/sample/{id}

GET

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonSampleDTO

/api/rest/search

GET

Parameters:

nameinrequiredvaluedefault
suggestquerytruestring
sizequeryfalseint3210
searchqueryfalsestring
filterqueryfalsestring
pagequeryfalseint320
getqueryfalseArray<"CONDREPORT" | "DELIVERY" | "DOCUNIT" | "LOT" | "PROJECT" | "TRAIN">[DOCUNIT]
fuzzyqueryfalsebooleantrue
sortqueryfalsestring
facetqueryfalsebooleanfalse

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/json Object not handled {additionalProperties: {$ref: #/components/schemas/PageObject}} || Array< Object not handled {additionalProperties: {type: object}}>

Sftp configuration


/api/rest/conf_sftp

GET

Parameters:

nameinrequiredvaluedefault
activequeryfalseboolean
searchqueryfalsestring
librariesqueryfalseArray<string>
pagequeryfalseint320
sizequeryfalseint3210
libraryqueryfalsestring
projectqueryfalsestring
configurationqueryfalsestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonPageSftpConfigurationDTO || Array<SftpConfigurationDTO> || Array<CinesPAC> || UniqArray<SftpConfigurationDTO>

POST

Parameters: NONE

Body:

content-typecontent
application/jsonSftpConfiguration

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonSftpConfiguration

/api/rest/conf_sftp/{id}

GET

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/json Object not handled {additionalProperties: {type: object}} || SftpConfiguration

POST

Parameters:

nameinvalue
[table 2 rows]
content-typeheader"multipart/*"

Body:

content-typecontent
application/jsonSftpConfiguration

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonSftpConfiguration

DELETE

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OK/any

Statistics


/api/rest/statistics

GET

Parameters:

nameinrequiredvaluedefault
librariesqueryfalseArray<string>
projectqueryfalseArray<string>
libraryqueryfalseArray<string>
trainqueryfalseArray<string>
statusqueryfalseArray<"CREATED" | "IN_PREPARATION" | "IN_DIGITIZATION" | "RECEIVING_PHYSICAL_DOCUMENTS" | "CANCELED" | "CLOSED">
returnFromqueryfalseDate
returnToqueryfalseDate
sendFromqueryfalseDate
sendToqueryfalseDate
insuranceFromqueryfalsedouble
insuranceToqueryfalsedouble
fromqueryfalseDate
toqueryfalseDate
pagequeryfalseint320
sizequeryfalseint3210
searchqueryfalsestring
projectsqueryfalseArray<string>
sortsqueryfalseArray<string>
lotqueryfalseArray<string>

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonArray<StatisticsProviderTrainDTO> || Array< Object not handled {additionalProperties: {type: object}}> || PageStatisticsProgressDTO || PageStatisticsProjectDTO

Statistics delivery


/api/rest/statistics/delivery

GET

Parameters:

nameinrequiredvalue
libraryqueryfalseArray<string>
providerqueryfalseArray<string>
fromqueryfalseDate
toqueryfalseDate

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonArray<StatisticsProviderDeliveryDTO>

Statistics doc unit


/api/rest/statistics/docunit

GET

Parameters:

nameinrequiredvaluedefault
librariesqueryfalseArray<string>
fromquerytrueDate
failuresqueryfalsebooleanfalse
searchqueryfalsestring
pagequeryfalseint320
sizequeryfalseint3210
libraryqueryfalseArray<string>
projectqueryfalseArray<string>
providerqueryfalseArray<string>
toqueryfalseDate
lotqueryfalseArray<string>
typequeryfalseArray<string>
collectionqueryfalseArray<string>
statequerytrue"INITIALISATION_DOCUMENT" | "GENERATION_BORDEREAU" | "VALIDATION_CONSTAT_ETAT" | "VALIDATION_BORDEREAU_CONSTAT_ETAT" | "CONSTAT_ETAT_AVANT_NUMERISATION" | "NUMERISATION_EN_ATTENTE" | "CONSTAT_ETAT_APRES_NUMERISATION" | "LIVRAISON_DOCUMENT_EN_COURS" | "RELIVRAISON_DOCUMENT_EN_COURS" | "CONTROLES_AUTOMATIQUES_EN_COURS" | "CONTROLE_QUALITE_EN_COURS" | "PREREJET_DOCUMENT" | "PREVALIDATION_DOCUMENT" | "VALIDATION_DOCUMENT" | "VALIDATION_NOTICES" | "RAPPORT_CONTROLES" | "ARCHIVAGE_DOCUMENT" | "DIFFUSION_DOCUMENT" | "DIFFUSION_DOCUMENT_OMEKA" | "DIFFUSION_DOCUMENT_DIGITAL_LIBRARY" | "DIFFUSION_DOCUMENT_LOCALE" | "CLOTURE_DOCUMENT"
deliveryqueryfalseArray<string>
groupbyqueryfalsestring with unhandled constraintsPROJECT

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonPageString || Array<StatisticsProcessedDocUnitDTO> || PageStatisticsDocRejectedDTO || PageStatisticsDocPublishedDTO || PageStatisticsDocUnitCountDTO || StatisticsDocUnitStatusRatioDTO || any || Array<StatisticsDocUnitAverageDTO>

Statistics workflow


/api/rest/statistics/workflow

GET

Parameters:

nameinrequiredvaluedefault
libraryqueryfalseArray<string>
projectqueryfalseArray<string>
lotqueryfalseArray<string>
statequeryfalseArray<"INITIALISATION_DOCUMENT" | "GENERATION_BORDEREAU" | "VALIDATION_CONSTAT_ETAT" | "VALIDATION_BORDEREAU_CONSTAT_ETAT" | "CONSTAT_ETAT_AVANT_NUMERISATION" | "NUMERISATION_EN_ATTENTE" | "CONSTAT_ETAT_APRES_NUMERISATION" | "LIVRAISON_DOCUMENT_EN_COURS" | "RELIVRAISON_DOCUMENT_EN_COURS" | "CONTROLES_AUTOMATIQUES_EN_COURS" | "CONTROLE_QUALITE_EN_COURS" | "PREREJET_DOCUMENT" | "PREVALIDATION_DOCUMENT" | "VALIDATION_DOCUMENT" | "VALIDATION_NOTICES" | "RAPPORT_CONTROLES" | "ARCHIVAGE_DOCUMENT" | "DIFFUSION_DOCUMENT" | "DIFFUSION_DOCUMENT_OMEKA" | "DIFFUSION_DOCUMENT_DIGITAL_LIBRARY" | "DIFFUSION_DOCUMENT_LOCALE" | "CLOTURE_DOCUMENT">
rolequeryfalseArray<string>
fromqueryfalseDate
toqueryfalseDate
deliveryqueryfalseArray<string>
workflowqueryfalseArray<string>
project_activequeryfalsebooleanfalse
trainqueryfalseArray<string>
pgcnidqueryfalsestring
statusqueryfalseArray<"NOT_STARTED" | "PENDING" | "FINISHED" | "CANCELED" | "FAILED" | "TO_WAIT" | "WAITING" | "WAITING_NEXT_COMPLETED" | "TO_SKIP" | "SKIPPED">
minequeryfalsebooleanfalse
pagequeryfalseint320
sizequeryfalseint3210

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonArray<WorkflowUserProgressDTO> || Array<WorkflowUserActivityDTO> || Array<WorkflowStateProgressDTO> || Array<WorkflowProfileActivityDTO> || Array<WorkflowDocUnitProgressDTOPending> || PageWorkflowDocUnitProgressDTO || Array<WorkflowDocUnitProgressDTO> || PageWorkflowDeliveryProgressDTO

Template


/api/rest/template

GET

Parameters:

nameinrequiredvalue
libraryqueryfalseLibrary

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonArray<Template>

POST

Parameters: NONE

Body:

content-typecontent
application/jsonTemplate

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonTemplate

/api/rest/template/{id}

GET

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKNONENONE

POST

Parameters:

nameinrequiredvalue
idpathtruestring
filequerytrueArray<Binary>

Body:

content-typecontent
application/jsonTemplate

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonTemplate

/api/rest/template/{identifier}

DELETE

Parameters:

nameinrequiredvalue
identifierpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKNONENONE

Train


/api/rest/train

GET

Parameters:

nameinrequiredvaluedefault
projectquerytruestring
searchqueryfalsestring
librariesqueryfalseArray<string>
projectsqueryfalseArray<string>
activequeryfalsebooleantrue
statusesqueryfalseArray<string>
providerSendingDateFromqueryfalseDate
providerSendingDateToqueryfalseDate
returnDateFromqueryfalseDate
returnDateToqueryfalseDate
docNumberqueryfalseint32
pagequeryfalseint320
sizequeryfalseint3210
projectIdsqueryfalseArray<string>

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonPageSimpleTrainDTO || Array<SimpleTrainDTO> || Array<TrainDTO>

POST

Parameters: NONE

Body:

content-typecontent
application/jsonTrainDTO

Responses:

codedescriptioncontent-typebody
200OK/TrainDTO

/api/rest/train/{id}

GET

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonTrainDTO

POST

Parameters: NONE

Body:

content-typecontent
application/jsonTrainDTO

Responses:

codedescriptioncontent-typebody
200OK/TrainDTO

DELETE

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OK/TrainDTO

/api/rest/train/pdf/{id}

GET

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKNONENONE

/api/rest/train/csv/{id}

GET

Parameters:

nameinrequiredvaluedefault
idpathtruestring
encodingqueryfalsestringISO-8859-15
separatorqueryfalsestring;

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKNONENONE

User


/api/rest/user

GET

Parameters:

nameinrequiredvaluedefault
searchqueryfalsestring
initialequeryfalsestring
activequeryfalsebooleantrue
librariesqueryfalseArray<string>
rolesqueryfalseArray<string>
categoriesqueryfalseArray<"PROVIDER" | "OTHER">
pagequeryfalseint320
sizequeryfalseint3210

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonArray<SimpleUserDTO> || PageSimpleUserDTO

POST

Parameters: NONE

Body:

content-typecontent
application/jsonUserCreationDTO

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonUserDTO

/api/rest/user/{id}

GET

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/json Object not handled {additionalProperties: {type: object}} || UserDTO

POST

Parameters:

nameinrequiredvalue
idpathtruestring
filequerytrueArray<Binary>

Body:

content-typecontent
application/jsonUserDTO

Responses:

codedescriptioncontent-typebody
200OKapplication/json Object not handled {additionalProperties: {type: object}} || UserDTO

DELETE

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonUserDTO

/api/rest/user/dashboard

POST

Parameters: NONE

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKNONENONE

Viewer


/api/rest/viewer/document/{identifier}/{pageNumber}/{args1}/{args2}/{test}/default.jpg

GET

Parameters:

nameinrequiredvalue
identifierpathtruestring
pageNumberpathtrueint32
args1pathtruestring
args2pathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKimage/jpegany

/api/rest/viewer/document/{identifier}/{pageNumber}/info.json

GET

Parameters:

nameinrequiredvalue
identifierpathtruestring
pageNumberpathtrueint32

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/json Object not handled {additionalProperties: {type: object}}

/api/rest/viewer/document/{identifier}/{pageNumber}/full/{dim1}/{dim2}/default.jpg

GET

Parameters:

nameinrequiredvalue
identifierpathtruestring
pageNumberpathtrueint32
dim1pathtruestring
dim2pathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKimage/jpegany

/api/rest/viewer/document/{identifier}/toc

GET

Parameters:

nameinrequiredvalue
identifierpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OK/any

/api/rest/viewer/document/{identifier}/thumbnail/{pageNumber}/thumb.jpg

GET

Parameters:

nameinrequiredvalue
identifierpathtruestring
pageNumberpathtrueint32

Body: NONE

Responses:

codedescriptioncontent-typebody
200OK/any

/api/rest/viewer/document/{identifier}/master/{pageNumber}

GET

Parameters:

nameinrequiredvalue
identifierpathtruestring
pageNumberpathtrueint32

Body: NONE

Responses:

codedescriptioncontent-typebody
200OK/any

/api/rest/viewer/document/{identifier}/master/

GET

Parameters:

nameinrequiredvalue
identifierpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OK/any

/api/rest/viewer/document/{identifier}/manifest

GET

Parameters:

nameinrequiredvalue
identifierpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonany

/api/rest/viewer/document/sample/{identifier}/manifest

GET

Parameters:

nameinrequiredvalue
identifierpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonany

Views format configuration


/api/rest/viewsformat

GET

Parameters:

nameinrequiredvaluedefault
searchqueryfalsestring
librariesqueryfalseArray<string>
pagequeryfalseint320
sizequeryfalseint3210
projectquerytruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonArray<SimpleViewsFormatConfigurationDTO> || PageSimpleViewsFormatConfigurationDTO

POST

Parameters: NONE

Body:

content-typecontent
application/jsonViewsFormatConfigurationDTO

Responses:

codedescriptioncontent-typebody
200OK/ViewsFormatConfigurationDTO

/api/rest/viewsformat/{id}

GET

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonViewsFormatConfigurationDTO

POST

Parameters: NONE

Body:

content-typecontent
application/jsonViewsFormatConfigurationDTO

Responses:

codedescriptioncontent-typebody
200OK/ViewsFormatConfigurationDTO

DELETE

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OK/CheckConfigurationDTO

Workflow


/api/rest/workflow

GET

Parameters:

nameinrequiredvalue
docUnitIdquerytruestring
keyquerytrue"INITIALISATION_DOCUMENT" | "GENERATION_BORDEREAU" | "VALIDATION_CONSTAT_ETAT" | "VALIDATION_BORDEREAU_CONSTAT_ETAT" | "CONSTAT_ETAT_AVANT_NUMERISATION" | "NUMERISATION_EN_ATTENTE" | "CONSTAT_ETAT_APRES_NUMERISATION" | "LIVRAISON_DOCUMENT_EN_COURS" | "RELIVRAISON_DOCUMENT_EN_COURS" | "CONTROLES_AUTOMATIQUES_EN_COURS" | "CONTROLE_QUALITE_EN_COURS" | "PREREJET_DOCUMENT" | "PREVALIDATION_DOCUMENT" | "VALIDATION_DOCUMENT" | "VALIDATION_NOTICES" | "RAPPORT_CONTROLES" | "ARCHIVAGE_DOCUMENT" | "DIFFUSION_DOCUMENT" | "DIFFUSION_DOCUMENT_OMEKA" | "DIFFUSION_DOCUMENT_DIGITAL_LIBRARY" | "DIFFUSION_DOCUMENT_LOCALE" | "CLOTURE_DOCUMENT"
docquerytruestring
docUnitquerytruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonStateIsDoneDTO || any || DocUnitWorkflowDTO || BooleanValueDTO

POST

Parameters: NONE

Body:

content-typecontent
application/jsonArray<string>

Responses:

codedescriptioncontent-typebody
200OK/any

/api/rest/workflow/{identifier}

GET

Parameters:

nameinrequiredvalue
identifierpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonDocUnitWorkflowDTO

Workflow group


/api/rest/workflow_group

GET

Parameters:

nameinrequiredvaluedefault
searchqueryfalsestring
initialequeryfalsestring
librariesqueryfalseArray<string>
pagequeryfalseint320
sizequeryfalseint3210
sortsqueryfalseArray<string>
libraryquerytruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonArray<SimpleWorkflowGroupDTO> || PageSimpleWorkflowGroupDTO

POST

Parameters: NONE

Body:

content-typecontent
application/jsonWorkflowGroupDTO

Responses:

codedescriptioncontent-typebody
200OK/WorkflowGroupDTO

/api/rest/workflow_group/{id}

GET

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonWorkflowGroupDTO

POST

Parameters: NONE

Body:

content-typecontent
application/jsonWorkflowGroupDTO

Responses:

codedescriptioncontent-typebody
200OK/WorkflowGroupDTO

DELETE

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OK/any

Workflow model


/api/rest/workflow_model

GET

Parameters:

nameinrequiredvaluedefault
searchqueryfalsestring
initialequeryfalsestring
librariesqueryfalseArray<string>
pagequeryfalseint320
sizequeryfalseint3210
sortsqueryfalseArray<string>
libraryquerytruestring
projectqueryfalsestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonArray<SimpleWorkflowModelDTO> || PageSimpleWorkflowModelDTO

POST

Parameters: NONE

Body:

content-typecontent
application/jsonWorkflowModelDTO

Responses:

codedescriptioncontent-typebody
200OK/WorkflowModelDTO

/api/rest/workflow_model/{id}

GET

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonWorkflowModelDTO

POST

Parameters: NONE

Body:

content-typecontent
application/jsonWorkflowModelDTO

Responses:

codedescriptioncontent-typebody
200OK/WorkflowModelDTO

DELETE

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OK/any

Z 3950


/api/rest/z3950

POST

Parameters:

nameinrequiredvaluedefault
serverquerytrueArray<string>
pagequeryfalseint320
sizequeryfalseint3210
libraryquerytruestring
projectqueryfalsestring
lotqueryfalsestring
mappingquerytruestring
validationqueryfalsebooleanfalse
dedupqueryfalsebooleanfalse
dedupProcessqueryfalse"ADD" | "REPLACE" | "IGNORE"

Body:

content-typecontent
application/jsonZ3950RecordDTO

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonImportReport || PageZ3950RecordDTO

Z 3950 server


/api/rest/z3950Server

GET

Parameters:

nameinrequiredvalue
dtoquerytrueboolean

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonArray<Z3950ServerDTO> || Array<Z3950Server>

POST

Parameters: NONE

Body:

content-typecontent
application/jsonZ3950Server

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonZ3950Server

/api/rest/z3950Server/{id}

GET

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonZ3950Server

POST

Parameters: NONE

Body:

content-typecontent
application/jsonZ3950Server

Responses:

codedescriptioncontent-typebody
200OKapplication/jsonZ3950Server

DELETE

Parameters:

nameinrequiredvalue
idpathtruestring

Body: NONE

Responses:

codedescriptioncontent-typebody
200OKNONENONE

Schemas

LoggerDTO

{
	"name": string,
	"level": string,
}

PageZ3950RecordDTO

{
	"totalElements": int64,
	"totalPages": int32,
	"pageable": PageableObject,
	"first": boolean,
	"size": int32,
	"content": Array<Z3950RecordDTO>,
	"number": int32,
	"sort": Array<SortObject>,
	"numberOfElements": int32,
	"last": boolean,
	"empty": boolean,
}

PageableObject

{
	"pageNumber": int32,
	"pageSize": int32,
	"offset": int64,
	"sort": Array<SortObject>,
	"paged": boolean,
	"unpaged": boolean,
}

SortObject

{
	"direction": string,
	"nullHandling": string,
	"ascending": boolean,
	"property": string,
	"ignoreCase": boolean,
}

Z3950RecordDTO

{
	"z3950Server": Z3950ServerDTO,
	"title": string,
	"author": string,
	"isbn": string,
	"issn": string,
	"marcXml": string,
}

Z3950ServerDTO

{
	"identifier": string,
	"name": string,
	"active": boolean,
	"version": int64,
}

ActivatedOcrLanguage

{
	"identifier": string,
	"version": int64,
	"ocrLangConfiguration": OcrLangConfiguration,
	"ocrLanguage": OcrLanguage,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

Address

{
	"identifier": string,
	"version": int64,
	"label": string,
	"address1": string,
	"address2": string,
	"address3": string,
	"complement": string,
	"postcode": string,
	"city": string,
	"country": string,
	"user": User,
	"library": Library,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

ArchiveCollection

{
	"identifier": string,
	"version": int64,
	"value": string,
	"item": ArchiveItem,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

ArchiveContributor

{
	"identifier": string,
	"version": int64,
	"value": string,
	"item": ArchiveItem,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

ArchiveCoverage

{
	"identifier": string,
	"version": int64,
	"value": string,
	"item": ArchiveItem,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

ArchiveCreator

{
	"identifier": string,
	"version": int64,
	"value": string,
	"item": ArchiveItem,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

ArchiveHeader

{
	"identifier": string,
	"version": int64,
	"value": string,
	"type": string,
	"item": ArchiveItem,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

ArchiveItem

{
	"identifier": string,
	"version": int64,
	"collections": UniqArray<ArchiveCollection>,
	"subjects": UniqArray<ArchiveSubject>,
	"headers": UniqArray<ArchiveHeader>,
	"coverages": UniqArray<ArchiveCoverage>,
	"contributors": UniqArray<ArchiveContributor>,
	"creators": UniqArray<ArchiveCreator>,
	"languages": UniqArray<ArchiveLanguage>,
	"archiveIdentifier": string,
	"credits": string,
	"date": string,
	"description": string,
	"licenseUrl": string,
	"mediatype": string,
	"customMediatype": string,
	"notes": string,
	"publisher": string,
	"rights": string,
	"title": string,
	"type": string,
	"source": string,
	"docUnit": DocUnit,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

ArchiveLanguage

{
	"identifier": string,
	"version": int64,
	"value": string,
	"item": ArchiveItem,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

ArchiveSubject

{
	"identifier": string,
	"version": int64,
	"value": string,
	"item": ArchiveItem,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

Authorization

{
	"identifier": string,
	"version": int64,
	"code": string,
	"label": string,
	"description": string,
	"module": "ADMINISTRATION" | "CHECK" | "DOCUMENT" | "USER" | "LIBRARY" | "PROJECT" | "LOT" | "ROLE" | "DELIVERY" | "TRAIN" | "WORKFLOW",
	"roles": UniqArray<Role>,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

AutomaticCheckResult

{
	"identifier": string,
	"version": int64,
	"result": "OK" | "KO" | "OTHER",
	"message": string,
	"check": AutomaticCheckType,
	"digitalDocument": DigitalDocument,
	"physicalDocument": PhysicalDocument,
	"docUnit": DocUnit,
	"page": DocPage,
	"delivery": Delivery,
	"errorFiles": Array<string>,
	"type": "WITH_MASTER" | "FILE_INTEGRITY" | "FACILE" | "FILE_RADICAL" | "FILE_SEQUENCE" | "FILE_FORMAT" | "FILE_TOTAL_NUMBER" | "FILE_TYPE_COMPR" | "FILE_TAUX_COMPR" | "FILE_RESOLUTION" | "FILE_DEFINITION" | "FILE_COLORSPACE" | "FILE_BIB_PREFIX" | "FILE_CASE_SENSITIVE" | "FILE_IMAGE_METADATA" | "METADATA_FILE" | "FILE_PDF_MULTI" | "GENER_PDF_OCR" | "GENER_PDF_WITHOUT_OCR",
	"label": string,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

AutomaticCheckRule

{
	"identifier": string,
	"version": int64,
	"active": boolean,
	"blocking": boolean,
	"checkConfiguration": CheckConfiguration,
	"automaticCheckType": AutomaticCheckType,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

AutomaticCheckType

{
	"identifier": string,
	"version": int64,
	"label": string,
	"type": "WITH_MASTER" | "FILE_INTEGRITY" | "FACILE" | "FILE_RADICAL" | "FILE_SEQUENCE" | "FILE_FORMAT" | "FILE_TOTAL_NUMBER" | "FILE_TYPE_COMPR" | "FILE_TAUX_COMPR" | "FILE_RESOLUTION" | "FILE_DEFINITION" | "FILE_COLORSPACE" | "FILE_BIB_PREFIX" | "FILE_CASE_SENSITIVE" | "FILE_IMAGE_METADATA" | "METADATA_FILE" | "FILE_PDF_MULTI" | "GENER_PDF_OCR" | "GENER_PDF_WITHOUT_OCR",
	"active": boolean,
	"configurable": boolean,
	"order": int32,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

BibliographicRecord

{
	"identifier": string,
	"version": int64,
	"title": string,
	"sigb": string,
	"sudoc": string,
	"calames": string,
	"docElectronique": string,
	"properties": UniqArray<DocProperty>,
	"docUnit": DocUnit,
	"library": Library,
	"propertyOrder": "BY_CREATION" | "BY_PROPERTY_TYPE",
	"generalLastModifiedDate": DateTime,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

CSVMapping

{
	"identifier": string,
	"version": int64,
	"label": string,
	"library": Library,
	"rules": Array<CSVMappingRule>,
	"joinExpression": string,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

CSVMappingRule

{
	"identifier": string,
	"version": int64,
	"docUnitField": string,
	"csvField": string,
	"bibRecordField": string,
	"condReport": string,
	"metadata": string,
	"rank": int32,
	"property": DocPropertyType,
	"mapping": CSVMapping,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

Check

{
	"identifier": string,
	"version": int64,
	"errorLabel": "UNREADABLE" | "BAD_NAME" | "BAD_HIERARCHY" | "MISSING_PAGE" | "TRUNCATED_INFORMATION" | "BAD_RESOLUTION" | "BAD_THRESHOLD" | "WRONG_FORMAT" | "FOREIGN_BODIES" | "BAD_METADATA" | "INCONSISTENT_METADATA" | "ANOTHER_MAJ" | "BLURRED_IMAGE" | "SLANT_IMAGE" | "HALO_ON_IMAGE" | "SHADOW_ON_IMAGE" | "GEOMETRICAL_ANOMALY" | "CHROMATIC_ANOMALY" | "WRONG_FRAMING" | "WRONG_ORDER" | "BAD_OCR" | "ANOTHER_MIN",
	"errorType": "MAJOR" | "MINOR",
	"page": DocPage,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

CheckConfiguration

{
	"identifier": string,
	"version": int64,
	"label": string,
	"library": Library,
	"majorErrorRate": double,
	"minorErrorRate": double,
	"sampleRate": double,
	"definitionErrorRate": double,
	"sampleMode": string,
	"separators": string,
	"automaticCheckRules": Array<AutomaticCheckRule>,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

CheckSlip

{
	"identifier": string,
	"version": int64,
	"documents": UniqArray<DeliveredDocument>,
	"slipLines": UniqArray<CheckSlipLine>,
	"lotLabel": string,
	"depositDate": Date,
	"uncompleted": boolean,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

CheckSlipConfiguration

{
	"identifier": string,
	"version": int64,
	"library": Library,
	"pgcnId": boolean,
	"title": boolean,
	"state": boolean,
	"errs": boolean,
	"nbPages": boolean,
	"nbPagesToBill": boolean,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

CheckSlipLine

{
	"identifier": string,
	"version": int64,
	"checkSlip": CheckSlip,
	"pgcnId": string,
	"title": string,
	"status": string,
	"docErrors": string,
	"nbPages": int32,
	"nbPagesToBill": int32,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

CinesPAC

{
	"identifier": string,
	"version": int64,
	"name": string,
	"confPac": SftpConfiguration,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

CinesReport

{
	"identifier": string,
	"version": int64,
	"docUnit": DocUnit,
	"status": "EXPORTING" | "SENDING" | "SENT" | "AR_RECEIVED" | "REJECTED" | "ARCHIVED" | "FAILED",
	"dateSent": DateTime,
	"dateAr": DateTime,
	"dateRejection": DateTime,
	"dateArchived": DateTime,
	"rejectionMotive": string,
	"certificate": string,
	"message": string,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

ConditionReportSlipConfiguration

{
	"identifier": string,
	"version": int64,
	"library": Library,
	"pgcnId": boolean,
	"title": boolean,
	"nbPages": boolean,
	"globalReport": boolean,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

Dashboard

{
	"identifier": string,
	"version": int64,
	"dashboard": string,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

DefaultFileFormats

{
	"defThumbHeight": int64,
	"defThumbWidth": int64,
	"defViewHeight": int64,
	"defViewWidth": int64,
	"defPrintHeight": int64,
	"defPrintWidth": int64,
}

DeliveredDocument

{
	"identifier": string,
	"version": int64,
	"delivery": Delivery,
	"digitalDocument": DigitalDocument,
	"status": "CREATING" | "DELIVERING" | "TO_CHECK" | "CHECKING" | "VALIDATED" | "PRE_REJECTED" | "REJECTED" | "WAITING_FOR_REPAIR" | "DELIVERING_ERROR" | "PRE_VALIDATED" | "CANCELED",
	"deliveryDate": Date,
	"nbPages": int32,
	"totalLength": int64,
	"checkSlip": CheckSlip,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

Delivery

{
	"identifier": string,
	"version": int64,
	"lot": Lot,
	"label": string,
	"documentCount": int32,
	"description": string,
	"payment": "PAID" | "UNPAID",
	"status": "SAVED" | "DELIVERING" | "DELIVERED" | "TO_BE_CONTROLLED" | "VALIDATED" | "REJECTED" | "BACK_TO_PROVIDER" | "AUTOMATICALLY_REJECTED" | "DELIVERED_AGAIN" | "DELIVERING_ERROR" | "TREATED" | "CLOSED" | "CANCELED",
	"method": "FTP" | "DISK" | "OTHER",
	"receptionDate": Date,
	"depositDate": Date,
	"folderPath": string,
	"imgFormat": string,
	"digitizingNotes": string,
	"fileFormatOK": boolean,
	"numberOfFilesOK": boolean,
	"sequentialNumbers": boolean,
	"numberOfFilesMatching": boolean,
	"mirePresent": boolean,
	"mireOK": boolean,
	"tableOfContentsPresent": boolean,
	"tableOfContentsOK": boolean,
	"altoPresent": boolean,
	"controlNotes": string,
	"compressionTypeOK": boolean,
	"compressionRateOK": boolean,
	"resolutionOK": boolean,
	"colorspaceOK": boolean,
	"fileIntegrityOk": boolean,
	"fileBibPrefixOK": boolean,
	"fileCaseOK": boolean,
	"pdfMultiPresent": boolean,
	"pdfMultiOK": boolean,
	"fileRadicalOK": boolean,
	"fileImageMetadataOK": boolean,
	"fileDefinitionOK": boolean,
	"deliverySlip": DeliverySlip,
	"automaticCheckResults": UniqArray<AutomaticCheckResult>,
	"documents": UniqArray<DeliveredDocument>,
	"multiLotsDelivery": MultiLotsDelivery,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

DeliverySlip

{
	"identifier": string,
	"version": int64,
	"slipLines": UniqArray<DeliverySlipLine>,
	"delivery": Delivery,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

DeliverySlipConfiguration

{
	"identifier": string,
	"version": int64,
	"library": Library,
	"pgcnId": boolean,
	"lot": boolean,
	"train": boolean,
	"radical": boolean,
	"title": boolean,
	"nbPages": boolean,
	"date": boolean,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

DeliverySlipLine

{
	"identifier": string,
	"version": int64,
	"pgcnId": string,
	"lot": string,
	"train": string,
	"radical": string,
	"title": string,
	"nbPages": string,
	"date": string,
	"slip": DeliverySlip,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

DigitalDocument

{
	"identifier": string,
	"version": int64,
	"docUnit": DocUnit,
	"physicalDocuments": UniqArray<PhysicalDocument>,
	"deliveries": UniqArray<DeliveredDocument>,
	"totalDelivery": int32,
	"status": "CREATING" | "DELIVERING" | "TO_CHECK" | "CHECKING" | "VALIDATED" | "PRE_REJECTED" | "REJECTED" | "WAITING_FOR_REPAIR" | "DELIVERING_ERROR" | "PRE_VALIDATED" | "CANCELED",
	"digitalId": string,
	"minorErrorRate": double,
	"majorErrorRate": double,
	"checkNotes": string,
	"deliveryDate": Date,
	"totalLength": int64,
	"pageNumber": int32,
	"checks": UniqArray<GlobalCheck>,
	"automaticCheckResults": UniqArray<AutomaticCheckResult>,
	"pages": UniqArray<DocPage>,
	"orderedPages": Array<DocPage>,
	"nbPages": int32,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

DocPage

{
	"identifier": string,
	"version": int64,
	"digitalDocument": DigitalDocument,
	"files": UniqArray<StoredFile>,
	"checks": UniqArray<Check>,
	"automaticCheckResults": UniqArray<AutomaticCheckResult>,
	"sample": Sample,
	"number": int32,
	"description": string,
	"checkNotes": string,
	"status": "TO_CHECK" | "VALIDATED" | "REJECTED" | "WAITING",
	"piece": string,
	"pieceNumber": int32,
	"master": StoredFile,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

DocProperty

{
	"identifier": string,
	"version": int64,
	"value": string,
	"type": DocPropertyType,
	"record": BibliographicRecord,
	"language": string,
	"rank": int32,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

DocPropertyType

{
	"identifier": string,
	"version": int64,
	"label": string,
	"superType": "DC" | "DCQ" | "CUSTOM" | "CUSTOM_CINES" | "CUSTOM_ARCHIVE" | "CUSTOM_OMEKA",
	"docProperties": UniqArray<DocProperty>,
	"rank": int32,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

DocSibling

{
	"identifier": string,
	"version": int64,
	"docUnits": Array<DocUnit>,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

DocUnit

{
	"identifier": string,
	"version": int64,
	"library": Library,
	"project": Project,
	"lot": Lot,
	"records": UniqArray<BibliographicRecord>,
	"exportData": ExportData,
	"archiveItem": ArchiveItem,
	"physicalDocuments": UniqArray<PhysicalDocument>,
	"digitalDocuments": UniqArray<DigitalDocument>,
	"automaticCheckResults": UniqArray<AutomaticCheckResult>,
	"pgcnId": string,
	"label": string,
	"type": string,
	"collectionIA": InternetArchiveCollection,
	"omekaCollection": OmekaList,
	"omekaItem": OmekaList,
	"arkUrl": string,
	"planClassementPAC": CinesPAC,
	"cinesVersion": int32,
	"archivable": boolean,
	"distributable": boolean,
	"rights": "TO_CHECK" | "FREE" | "RESTRICTED" | "RESTRICTED_WITH_AUTHORIZATION",
	"embargo": Date,
	"checkDelay": int32,
	"checkEndTime": Date,
	"condReportType": "MONO_PAGE" | "MULTI_PAGE",
	"parent": DocUnit,
	"children": Array<DocUnit>,
	"sibling": DocSibling,
	"state": "AVAILABLE" | "NOT_AVAILABLE" | "DELETED" | "CANCELED" | "CLOSED",
	"cancelingComment": string,
	"workflow": DocUnitWorkflow,
	"digitizingNotes": string,
	"foundRefAuthor": boolean,
	"progressStatus": "NOT_AVAILABLE" | "REQUESTED" | "VALIDATED" | "REFUSED",
	"requestDate": Date,
	"answerDate": Date,
	"omekaExportStatus": "NONE" | "IN_PROGRESS" | "SENT" | "FAILED",
	"omekaExportDate": DateTime,
	"localExportStatus": "NONE" | "IN_PROGRESS" | "SENT" | "FAILED",
	"localExportDate": DateTime,
	"digLibExportStatus": "NONE" | "IN_PROGRESS" | "SENT" | "FAILED",
	"digLibExportDate": DateTime,
	"activeOcrLanguage": OcrLanguage,
	"cinesReports": UniqArray<CinesReport>,
	"iaReports": UniqArray<InternetArchiveReport>,
	"imageHeight": int32,
	"imageWidth": int32,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

DocUnitState

{
	"identifier": string,
	"version": int64,
	"status": "NOT_STARTED" | "PENDING" | "FINISHED" | "CANCELED" | "FAILED" | "TO_WAIT" | "WAITING" | "WAITING_NEXT_COMPLETED" | "TO_SKIP" | "SKIPPED",
	"modelState": WorkflowModelState,
	"workflow": DocUnitWorkflow,
	"startDate": DateTime,
	"endDate": DateTime,
	"dueDate": DateTime,
	"discriminator": "INITIALISATION_DOCUMENT" | "GENERATION_BORDEREAU" | "VALIDATION_CONSTAT_ETAT" | "VALIDATION_BORDEREAU_CONSTAT_ETAT" | "CONSTAT_ETAT_AVANT_NUMERISATION" | "NUMERISATION_EN_ATTENTE" | "CONSTAT_ETAT_APRES_NUMERISATION" | "LIVRAISON_DOCUMENT_EN_COURS" | "RELIVRAISON_DOCUMENT_EN_COURS" | "CONTROLES_AUTOMATIQUES_EN_COURS" | "CONTROLE_QUALITE_EN_COURS" | "PREREJET_DOCUMENT" | "PREVALIDATION_DOCUMENT" | "VALIDATION_DOCUMENT" | "VALIDATION_NOTICES" | "RAPPORT_CONTROLES" | "ARCHIVAGE_DOCUMENT" | "DIFFUSION_DOCUMENT" | "DIFFUSION_DOCUMENT_OMEKA" | "DIFFUSION_DOCUMENT_DIGITAL_LIBRARY" | "DIFFUSION_DOCUMENT_LOCALE" | "CLOTURE_DOCUMENT",
	"user": string,
	"key": "INITIALISATION_DOCUMENT" | "GENERATION_BORDEREAU" | "VALIDATION_CONSTAT_ETAT" | "VALIDATION_BORDEREAU_CONSTAT_ETAT" | "CONSTAT_ETAT_AVANT_NUMERISATION" | "NUMERISATION_EN_ATTENTE" | "CONSTAT_ETAT_APRES_NUMERISATION" | "LIVRAISON_DOCUMENT_EN_COURS" | "RELIVRAISON_DOCUMENT_EN_COURS" | "CONTROLES_AUTOMATIQUES_EN_COURS" | "CONTROLE_QUALITE_EN_COURS" | "PREREJET_DOCUMENT" | "PREVALIDATION_DOCUMENT" | "VALIDATION_DOCUMENT" | "VALIDATION_NOTICES" | "RAPPORT_CONTROLES" | "ARCHIVAGE_DOCUMENT" | "DIFFUSION_DOCUMENT" | "DIFFUSION_DOCUMENT_OMEKA" | "DIFFUSION_DOCUMENT_DIGITAL_LIBRARY" | "DIFFUSION_DOCUMENT_LOCALE" | "CLOTURE_DOCUMENT",
	"done": boolean,
	"skipped": boolean,
	"futureOrCurrentState": boolean,
	"currentState": boolean,
	"rejected": boolean,
	"validated": boolean,
	"waiting": boolean,
	"toSkip": boolean,
	"skippedOrCanceled": boolean,
	"running": boolean,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

DocUnitWorkflow

{
	"identifier": string,
	"version": int64,
	"model": WorkflowModel,
	"states": UniqArray<DocUnitState>,
	"startDate": DateTime,
	"endDate": DateTime,
	"docUnit": DocUnit,
	"done": boolean,
	"futureOrRunning": Array<DocUnitState>,
	"currentStates": Array<DocUnitState>,
	"documentRejected": boolean,
	"documentValidated": boolean,
	"noticeValidated": boolean,
	"rapportSent": boolean,
	"rapportFailed": boolean,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

ExportData

{
	"identifier": string,
	"version": int64,
	"properties": UniqArray<ExportProperty>,
	"docUnit": DocUnit,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

ExportFTPConfiguration

{
	"identifier": string,
	"version": int64,
	"label": string,
	"library": Library,
	"active": boolean,
	"storageServer": string,
	"port": string,
	"address": string,
	"login": string,
	"password": string,
	"exportView": boolean,
	"exportMaster": boolean,
	"exportThumb": boolean,
	"exportPdf": boolean,
	"exportMets": boolean,
	"exportAipSip": boolean,
	"exportAlto": boolean,
	"deliveryFolders": UniqArray<ExportFTPDeliveryFolder>,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

ExportFTPDeliveryFolder

{
	"identifier": string,
	"version": int64,
	"name": string,
	"confExportFtp": ExportFTPConfiguration,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

ExportProperty

{
	"identifier": string,
	"version": int64,
	"value": string,
	"type": DocPropertyType,
	"record": ExportData,
	"rank": int32,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

FTPConfiguration

{
	"identifier": string,
	"version": int64,
	"label": string,
	"library": Library,
	"address": string,
	"login": string,
	"password": string,
	"deliveryFolder": string,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

GlobalCheck

{
	"identifier": string,
	"version": int64,
	"errorLabel": "UNREADABLE" | "BAD_NAME" | "BAD_HIERARCHY" | "MISSING_PAGE" | "TRUNCATED_INFORMATION" | "BAD_RESOLUTION" | "BAD_THRESHOLD" | "WRONG_FORMAT" | "FOREIGN_BODIES" | "BAD_METADATA" | "INCONSISTENT_METADATA" | "ANOTHER_MAJ" | "BLURRED_IMAGE" | "SLANT_IMAGE" | "HALO_ON_IMAGE" | "SHADOW_ON_IMAGE" | "GEOMETRICAL_ANOMALY" | "CHROMATIC_ANOMALY" | "WRONG_FRAMING" | "WRONG_ORDER" | "BAD_OCR" | "ANOTHER_MIN",
	"errorType": "MAJOR" | "MINOR",
	"digitalDocument": DigitalDocument,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

ImportReport

{
	"identifier": string,
	"version": int64,
	"library": Library,
	"project": Project,
	"lot": Lot,
	"mapping": Mapping,
	"mappingChildren": Mapping,
	"csvMapping": CSVMapping,
	"additionnalMapping": string,
	"type": "SIMPLE" | "SIMPLE_MULTI_NOTICE" | "SIMPLE_MULTI_MULTI_NOTICE" | "HIERARCHY_IN_SINGLE_NOTICE" | "HIERARCHY_IN_MULTIPLE_IMPORT",
	"fileFormat": "MARC" | "MARCJSON" | "MARCXML" | "CSV" | "DC" | "DCQ" | "EAD" | "OAIPMH",
	"dataEncoding": "ANSEL" | "ISO_5426" | "ISO_6937" | "ISO_8859_1" | "UTF_8",
	"parentReport": ImportReport,
	"joinExpression": string,
	"files": Array<ImportedFile>,
	"start": DateTime,
	"end": DateTime,
	"runBy": string,
	"status": "PENDING" | "PRE_IMPORTING" | "DEDUPLICATING" | "USER_VALIDATION" | "IMPORTING" | "INDEXING" | "COMPLETED" | "FAILED",
	"message": string,
	"nbImp": int32,
	"docUnits": Array<ImportedDocUnit>,
	"filesAsString": string,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

ImportedDocUnit

{
	"identifier": string,
	"version": int64,
	"report": ImportReport,
	"importDate": DateTime,
	"process": "ADD" | "REPLACE" | "IGNORE",
	"parentKey": string,
	"duplicatedUnits": UniqArray<DocUnit>,
	"messages": UniqArray<Message>,
	"docUnit": DocUnit,
	"docUnitPgcnId": string,
	"docUnitLabel": string,
	"parentDocUnit": string,
	"parentDocUnitPgcnId": string,
	"parentDocUnitLabel": string,
	"groupCode": string,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

ImportedFile

{
	"originalFilename": string,
	"fileSize": int64,
}

InternetArchiveCollection

{
	"identifier": string,
	"version": int64,
	"name": string,
	"confIa": InternetArchiveConfiguration,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

InternetArchiveConfiguration

{
	"identifier": string,
	"version": int64,
	"label": string,
	"library": Library,
	"accessKey": string,
	"secretKey": ,
	"active": boolean,
	"collections": Array<InternetArchiveCollection>,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

InternetArchiveReport

{
	"identifier": string,
	"version": int64,
	"docUnit": DocUnit,
	"internetArchiveIdentifier": string,
	"number": int32,
	"total": int32,
	"status": "EXPORTING" | "SENDING" | "SENT" | "ARCHIVED" | "FAILED",
	"dateSent": DateTime,
	"message": string,
	"dateArchived": DateTime,
	"arkUrl": string,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

Library

{
	"identifier": string,
	"version": int64,
	"name": string,
	"address": Address,
	"website": string,
	"phoneNumber": string,
	"email": string,
	"prefix": string,
	"number": string,
	"active": boolean,
	"institution": string,
	"cinesService": string,
	"defaultRole": Role,
	"superuser": boolean,
	"libRespName": string,
	"libRespPhone": string,
	"libRespEmail": string,
	"platforms": UniqArray<Platform>,
	"ftpConfigurations": UniqArray<FTPConfiguration>,
	"activeFTPConfiguration": FTPConfiguration,
	"checkConfigurations": UniqArray<CheckConfiguration>,
	"deliverySlipConfiguration": DeliverySlipConfiguration,
	"checkSlipConfiguration": CheckSlipConfiguration,
	"condReportSlipConfiguration": ConditionReportSlipConfiguration,
	"activeCheckConfiguration": CheckConfiguration,
	"viewsFormatConfigurations": UniqArray<ViewsFormatConfiguration>,
	"activeFormatConfiguration": ViewsFormatConfiguration,
	"exportFtpConfigurations": UniqArray<ExportFTPConfiguration>,
	"activeExportFTPConfiguration": ExportFTPConfiguration,
	"ocrLangConfigurations": UniqArray<OcrLangConfiguration>,
	"activeOcrLangConfiguration": OcrLangConfiguration,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

Lot

{
	"identifier": string,
	"version": int64,
	"project": Project,
	"deliveries": UniqArray<Delivery>,
	"docUnits": UniqArray<DocUnit>,
	"label": string,
	"code": string,
	"activeFTPConfiguration": FTPConfiguration,
	"activeCheckConfiguration": CheckConfiguration,
	"activeFormatConfiguration": ViewsFormatConfiguration,
	"activeExportFTPConfiguration": ExportFTPConfiguration,
	"provider": User,
	"activeOcrLanguage": OcrLanguage,
	"type": "PHYSICAL" | "DIGITAL",
	"description": string,
	"active": boolean,
	"status": "CREATED" | "ONGOING" | "PENDING" | "CANCELED" | "CLOSED",
	"realEndDate": Date,
	"condNotes": string,
	"numNotes": string,
	"deliveryDateForseen": DateTime,
	"requiredFormat": string,
	"requiredTypeCompression": string,
	"requiredTauxCompression": int32,
	"requiredResolution": string,
	"requiredColorspace": string,
	"collectionIA": InternetArchiveCollection,
	"planClassementPAC": CinesPAC,
	"omekaCollection": OmekaList,
	"omekaItem": OmekaList,
	"platforms": UniqArray<Platform>,
	"workflowModel": WorkflowModel,
	"filesArchived": boolean,
	"omekaConfiguration": OmekaConfiguration,
	"activeExportFTPDeliveryFolder": ExportFTPDeliveryFolder,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

Mapping

{
	"identifier": string,
	"version": int64,
	"label": string,
	"library": Library,
	"type": "EAD" | "DC" | "DCQ" | "MARC",
	"joinExpression": string,
	"rules": Array<MappingRule>,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

MappingRule

{
	"identifier": string,
	"version": int64,
	"docUnitField": string,
	"bibRecordField": string,
	"property": DocPropertyType,
	"expressionConf": string,
	"expression": string,
	"conditionConf": string,
	"condition": string,
	"position": int32,
	"defaultRule": boolean,
	"mapping": Mapping,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

Message

{
	"code": string,
	"complement": string,
}

MultiLotsDelivery

{
	"identifier": string,
	"version": int64,
	"label": string,
	"description": string,
	"payment": "PAID" | "UNPAID",
	"status": "SAVED" | "DELIVERING" | "DELIVERED" | "TO_BE_CONTROLLED" | "VALIDATED" | "REJECTED" | "BACK_TO_PROVIDER" | "AUTOMATICALLY_REJECTED" | "DELIVERED_AGAIN" | "DELIVERING_ERROR" | "TREATED" | "CLOSED" | "CANCELED",
	"method": "FTP" | "DISK" | "OTHER",
	"receptionDate": Date,
	"folderPath": string,
	"digitizingNotes": string,
	"controlNotes": string,
	"selectedByTrain": boolean,
	"trainId": string,
	"deliveries": Array<Delivery>,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

OcrLangConfiguration

{
	"identifier": string,
	"version": int64,
	"label": string,
	"active": boolean,
	"library": Library,
	"activatedOcrLanguages": UniqArray<ActivatedOcrLanguage>,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

OcrLanguage

{
	"identifier": string,
	"version": int64,
	"code": string,
	"label": string,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

OmekaConfiguration

{
	"identifier": string,
	"version": int64,
	"label": string,
	"library": Library,
	"active": boolean,
	"storageServer": string,
	"port": string,
	"address": string,
	"login": string,
	"password": string,
	"accessUrl": string,
	"mailCsv": string,
	"sftp": boolean,
	"exportMets": boolean,
	"exportMaster": boolean,
	"exportView": boolean,
	"exportThumb": boolean,
	"exportPdf": boolean,
	"omekaLists": Array<OmekaList>,
	"omekas": boolean,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

OmekaList

{
	"identifier": string,
	"version": int64,
	"name": string,
	"type": "COLLECTION" | "ITEM",
	"confOmeka": OmekaConfiguration,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

PgcnError

{
	"code": "AUTO_CHECK_TYPE_LABEL_MANDATORY" | "CONDREPORT_DUPLICATE" | "CONDREPORT_DETAIL_EMPTY" | "CONDREPORT_DETAIL_MANDATORY" | "CONDREPORT_DETAIL_DESC_EMPTY" | "CONDREPORT_DETAIL_DESC_NO_VALUE_FOR_PROP" | "CONDREPORT_DETAIL_DESC_BAD_VALUE" | "CONDREPORT_DETAIL_DESC_DIMENSION" | "CONF_CHECK_DEL_EXITS_LIB" | "CONF_CHECK_DEL_EXITS_LOT" | "CONF_CHECK_DEL_EXITS_PROJECT" | "CONF_FTP_DEL_EXITS_LIB" | "CONF_FTP_DEL_EXITS_LOT" | "CONF_FTP_DEL_EXITS_PROJECT" | "CONF_IA_LABEL_MANDATORY" | "CONF_IA_LIBRARY_MANDATORY" | "CONF_OMEKA_LABEL_MANDATORY" | "CONF_OMEKA_LIBRARY_MANDATORY" | "CONF_DIGITAL_LIBRARY_LABEL_MANDATORY" | "CONF_DIGITAL_LIBRARY_LIBRARY_MANDATORY" | "CONF_SFTP_LABEL_MANDATORY" | "CONF_SFTP_LIBRARY_MANDATORY" | "DATA_INTEGRITY_VIOLATION" | "DELIVERY_DUPLICATE_LABEL" | "DELIVERY_LOT_MANDATORY" | "DELIVERY_NO_MATCHING_PREFIX" | "DELIVERY_NO_MASTER_FOUND" | "DELIVERY_NO_CHECK_CONFIGURATION_FOUND" | "DELIVERY_NOT_ENOUGH_AVAILABLE_SPACE" | "DELIVERY_WRONG_FOLDER" | "DELIVERY_WRONG_FILE" | "DESC_PROPERTY_DEL_EXISTS_DESC" | "DESC_PROPERTY_LABEL_MANDATORY" | "DESC_PROPERTY_TYPE_MANDATORY" | "DESC_VALUE_DEL_EXISTS_DESC" | "DESC_VALUE_LABEL_MANDATORY" | "DESC_VALUE_PROPERTY_MANDATORY" | "DOC_PROP_TYPE_DEL_USED_MAPPING" | "DOC_PROP_TYPE_DEL_USED_PROP" | "DOC_PROP_TYPE_LABEL_MANDATORY" | "DOC_UNIT_DUPLICATE_PGCN_ID" | "DOC_UNIT_IMAGERESOLUTION" | "DOC_UNIT_IN_PROJECT" | "DOC_UNIT_IN_ONGOING_LOT" | "DOC_UNIT_LABEL_MANDATORY" | "DOC_UNIT_PGCN_ID_MANDATORY" | "DOC_UNIT_LIBRARY_MANDATORY" | "DOC_UNIT_RIGHT_MANDATORY" | "IMAGE_METADATA_CANT_PARSE" | "IMAGE_METADATA_FIELDS_MANDATORY" | "IMAGE_METADATA_PROPERTY_USED" | "IMAGE_METADATA_SAME_PROPERTY_EXIST" | "IMAGE_METADATA_NOT_EXIST" | "LIBRARY_DEL_EXITS_DOCUNIT" | "LIBRARY_DEL_EXITS_PROJ" | "LIBRARY_DEL_EXITS_RECORD" | "LIBRARY_DEL_EXITS_USER" | "LIBRARY_DEL_EXITS_WGROUP" | "LIBRARY_DEL_EXITS_WMODEL" | "LIBRARY_DUPLICATE_NAME" | "LIBRARY_IN_PROJECT" | "LOT_DEL_EXITS_DELIVERY" | "LOT_DEL_EXITS_DOCUNIT" | "LOT_DUPLICATE_LABEL" | "MAPPING_LABEL_MANDATORY" | "MAPPING_LIBRARY_MANDATORY" | "MAPPING_RULE_LABEL_MANDATORY" | "MAPPING_RULE_PGCNID_MANDATORY" | "MAPPING_RULE_RIGHTS_MANDATORY" | "MAPPING_RULE_FIELD_MANDATORY" | "MAPPING_TYPE_MANDATORY" | "PROJECT_DEL_EXITS_DOCUNITS" | "PROJECT_DEL_EXITS_LOTS" | "PROJECT_DEL_EXITS_TRAINS" | "PROJECT_DUPLICATE_NAME" | "RECORD_LANGUAGE_UNKNOWN" | "REPORT_GENERATION" | "ROLE_DEL_EXITS_LIB" | "ROLE_DEL_EXITS_USER" | "TPL_DUPLICATE" | "TPL_LIBRARY_MANDATORY" | "TPL_NAME_MANDATORY" | "USER_DEL_EXITS_PROJ" | "USER_DEL_EXITS_LOT" | "USER_DUPLICATE_LOGIN" | "USER_EMAIL_INVALID" | "USER_EMAIL_MANDATORY" | "USER_LIBRARY_MANDATORY" | "USER_LOGIN_MANDATORY" | "USER_ROLE_CODE_MANDATORY" | "USER_ROLE_LABEL_MANDATORY" | "USER_ROLE_MANDATORY" | "USER_ROLE_UNIQUE_CODE_VIOLATION" | "USER_ROLE_UNIQUE_LABEL_VIOLATION" | "USER_IN_WORKFLOW_GROUP" | "WORKFLOW_GROUP_NAME_MANDATORY" | "WORKFLOW_GROUP_DUPLICATE_NAME" | "WORKFLOW_GROUP_MIXED_USERS" | "WORKFLOW_GROUP_IS_IN_FUTURE_STATE" | "WORKFLOW_MODEL_MISSING" | "WORKFLOW_MODEL_NAME_MANDATORY" | "WORKFLOW_MODEL_STATE_GROUP_MANDATORY" | "WORKFLOW_MODEL_DUPLICATE_NAME" | "WORKFLOW_MODEL_DEL_EXITS_DOC" | "WORKFLOW_MODEL_DEL_EXITS_LOT" | "WORKFLOW_MODEL_DEL_EXITS_PROJ" | "WORKFLOW_PROCESS_NO_RIGHTS" | "WORKFLOW_LOT_DOCUNIT_MISSING" | "Z3950SERVER_NAME_MANDATORY" | "Z3950SERVER_UNIQUE_NAME_VIOLATION" | "Z3950_CONNECTION_FAILURE" | "Z3950_SEARCH_FAILURE",
	"field": string,
	"complements": Array<string>,
	"additionnalComplements": any,
	"message": string,
}

PhysicalDocument

{
	"identifier": string,
	"version": int64,
	"docUnit": DocUnit,
	"digitalDocuments": UniqArray<DigitalDocument>,
	"status": "CREATED" | "SELECTED" | "GATHERED" | "STATE_CHECK_REALISED" | "IN_DIGITIZATION" | "TO_CHECK" | "TO_SHELVE" | "REINTEGRATED",
	"name": string,
	"totalPage": int32,
	"digitalId": string,
	"train": Train,
	"automaticCheckResults": UniqArray<AutomaticCheckResult>,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

Platform

{
	"identifier": string,
	"version": int64,
	"label": string,
	"url": string,
	"rcr": string,
	"login": string,
	"password": string,
	"format": "DC" | "DCQ",
	"type": "ARCHIVING" | "DIFFUSION",
	"library": Library,
	"associatedProjects": UniqArray<Project>,
	"lot": Lot,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

Project

{
	"identifier": string,
	"version": int64,
	"library": Library,
	"activeFTPConfiguration": FTPConfiguration,
	"activeCheckConfiguration": CheckConfiguration,
	"provider": User,
	"activeFormatConfiguration": ViewsFormatConfiguration,
	"activeExportFTPConfiguration": ExportFTPConfiguration,
	"name": string,
	"description": string,
	"startDate": Date,
	"forecastEndDate": Date,
	"realEndDate": Date,
	"active": boolean,
	"collectionIA": InternetArchiveCollection,
	"planClassementPAC": CinesPAC,
	"omekaCollection": OmekaList,
	"omekaItem": OmekaList,
	"status": "CREATED" | "ONGOING" | "PENDING" | "CANCELED" | "CLOSED",
	"lots": UniqArray<Lot>,
	"trains": UniqArray<Train>,
	"associatedPlatforms": UniqArray<Platform>,
	"associatedLibraries": UniqArray<Library>,
	"associatedUsers": UniqArray<User>,
	"docUnits": UniqArray<DocUnit>,
	"workflowModel": WorkflowModel,
	"cancelingComment": string,
	"filesArchived": boolean,
	"libRespName": string,
	"libRespPhone": string,
	"libRespEmail": string,
	"licenseUrl": string,
	"omekaConfiguration": OmekaConfiguration,
	"activeExportFTPDeliveryFolder": ExportFTPDeliveryFolder,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

Role

{
	"identifier": string,
	"version": int64,
	"*code": string,
	"label": string,
	"description": string,
	"superuser": boolean,
	"authorizations": UniqArray<Authorization>,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

Sample

{
	"identifier": string,
	"version": int64,
	"delivery": Delivery,
	"digitalDocument": DigitalDocument,
	"pages": UniqArray<DocPage>,
	"samplingMode": string,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

SftpConfiguration

{
	"identifier": string,
	"version": int64,
	"label": string,
	"library": Library,
	"username": string,
	"password": ,
	"host": string,
	"port": int32,
	"targetDir": string,
	"pacs": Array<CinesPAC>,
	"active": boolean,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

StoredFile

{
	"identifier": string,
	"version": int64,
	"filename": string,
	"length": int64,
	"width": int64,
	"height": int64,
	"titleToc": string,
	"typeToc": string,
	"orderToc": string,
	"pageDigest": string,
	"mimetype": string,
	"compressionType": string,
	"compressionRate": int32,
	"resolution": int32,
	"colorspace": string,
	"textOcr": string,
	"type": "MASTER" | "DERIVED",
	"page": DocPage,
	"formatConfiguration": ViewsFormatConfiguration,
	"fileFormat": "MASTER" | "PRINT" | "THUMB" | "VIEW" | "ZOOM" | "XTRAZOOM",
	"digest": string,
	"withoutOcrText": StoredFile,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

Train

{
	"identifier": string,
	"version": int64,
	"project": Project,
	"label": string,
	"description": string,
	"active": boolean,
	"status": "CREATED" | "IN_PREPARATION" | "IN_DIGITIZATION" | "RECEIVING_PHYSICAL_DOCUMENTS" | "CANCELED" | "CLOSED",
	"providerSendingDate": Date,
	"returnDate": Date,
	"physicalDocuments": UniqArray<PhysicalDocument>,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

User

{
	"identifier": string,
	"version": int64,
	"login": string,
	"firstname": string,
	"surname": string,
	"function": string,
	"phoneNumber": string,
	"email": string,
	"active": boolean,
	"superuser": boolean,
	"companyName": string,
	"address": Address,
	"library": Library,
	"projects": UniqArray<Project>,
	"role": Role,
	"category": "PROVIDER" | "OTHER",
	"dashboard": Dashboard,
	"lang": "FR" | "EN",
	"groups": UniqArray<WorkflowGroup>,
	"fullName": string,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

ViewsFormatConfiguration

{
	"identifier": string,
	"version": int64,
	"defaultFormats": DefaultFileFormats,
	"label": string,
	"thumbWidth": int64,
	"thumbHeight": int64,
	"viewWidth": int64,
	"viewHeight": int64,
	"printWidth": int64,
	"printHeight": int64,
	"library": Library,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

WorkflowGroup

{
	"identifier": string,
	"version": int64,
	"name": string,
	"description": string,
	"users": UniqArray<User>,
	"states": UniqArray<WorkflowModelState>,
	"library": Library,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

WorkflowModel

{
	"identifier": string,
	"version": int64,
	"name": string,
	"description": string,
	"library": Library,
	"instances": UniqArray<DocUnitWorkflow>,
	"modelStates": UniqArray<WorkflowModelState>,
	"active": boolean,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

WorkflowModelState

{
	"identifier": string,
	"version": int64,
	"group": WorkflowGroup,
	"limitDuration": {
		"seconds": int64,
		"zero": boolean,
		"nano": int32,
		"negative": boolean,
		"units": Array<{
				"durationEstimated": boolean,
				"duration": {
					"seconds": int64,
					"zero": boolean,
					"nano": int32,
					"negative": boolean,
}
,
				"timeBased": boolean,
				"dateBased": boolean,
}
>,
}
,
	"key": "INITIALISATION_DOCUMENT" | "GENERATION_BORDEREAU" | "VALIDATION_CONSTAT_ETAT" | "VALIDATION_BORDEREAU_CONSTAT_ETAT" | "CONSTAT_ETAT_AVANT_NUMERISATION" | "NUMERISATION_EN_ATTENTE" | "CONSTAT_ETAT_APRES_NUMERISATION" | "LIVRAISON_DOCUMENT_EN_COURS" | "RELIVRAISON_DOCUMENT_EN_COURS" | "CONTROLES_AUTOMATIQUES_EN_COURS" | "CONTROLE_QUALITE_EN_COURS" | "PREREJET_DOCUMENT" | "PREVALIDATION_DOCUMENT" | "VALIDATION_DOCUMENT" | "VALIDATION_NOTICES" | "RAPPORT_CONTROLES" | "ARCHIVAGE_DOCUMENT" | "DIFFUSION_DOCUMENT" | "DIFFUSION_DOCUMENT_OMEKA" | "DIFFUSION_DOCUMENT_DIGITAL_LIBRARY" | "DIFFUSION_DOCUMENT_LOCALE" | "CLOTURE_DOCUMENT",
	"type": "REQUIRED" | "TO_SKIP" | "TO_WAIT" | "OTHER",
	"model": WorkflowModel,
	"instances": UniqArray<DocUnitState>,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

Z3950Server

{
	"identifier": string,
	"version": int64,
	"name": string,
	"host": string,
	"port": int32,
	"database": string,
	"userId": string,
	"password": string,
	"active": boolean,
	"dataFormat": "INTERMARC" | "UNIMARC",
	"dataEncoding": "ANSEL" | "ISO_5426" | "ISO_6937" | "ISO_8859_1" | "UTF_8",
	"recordType": "BIBLIOGRAPHIC" | "AUTHORITY",
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

RoleDTO

{
	"identifier": string,
	"code": string,
	"label": string,
}

SimpleLibraryDTO

{
	"version": int64,
	"identifier": string,
	"name": string,
	"prefix": string,
	"defaultRole": RoleDTO,
	"libRespName": string,
	"libRespPhone": string,
	"libRespEmail": string,
	"errors": Array<PgcnError>,
}

SimpleWorkflowGroupDTO

{
	"identifier": string,
	"name": string,
	"errors": Array<PgcnError>,
}

WorkflowModelDTO

{
	"version": int64,
	"identifier": string,
	"name": string,
	"library": SimpleLibraryDTO,
	"description": string,
	"active": boolean,
	"states": Array<WorkflowModelStateDTO>,
	"createdBy": string,
	"createdDate": DateTime,
	"lastModifiedBy": string,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

WorkflowModelStateDTO

{
	"version": int64,
	"identifier": string,
	"key": "INITIALISATION_DOCUMENT" | "GENERATION_BORDEREAU" | "VALIDATION_CONSTAT_ETAT" | "VALIDATION_BORDEREAU_CONSTAT_ETAT" | "CONSTAT_ETAT_AVANT_NUMERISATION" | "NUMERISATION_EN_ATTENTE" | "CONSTAT_ETAT_APRES_NUMERISATION" | "LIVRAISON_DOCUMENT_EN_COURS" | "RELIVRAISON_DOCUMENT_EN_COURS" | "CONTROLES_AUTOMATIQUES_EN_COURS" | "CONTROLE_QUALITE_EN_COURS" | "PREREJET_DOCUMENT" | "PREVALIDATION_DOCUMENT" | "VALIDATION_DOCUMENT" | "VALIDATION_NOTICES" | "RAPPORT_CONTROLES" | "ARCHIVAGE_DOCUMENT" | "DIFFUSION_DOCUMENT" | "DIFFUSION_DOCUMENT_OMEKA" | "DIFFUSION_DOCUMENT_DIGITAL_LIBRARY" | "DIFFUSION_DOCUMENT_LOCALE" | "CLOTURE_DOCUMENT",
	"group": SimpleWorkflowGroupDTO,
	"duration": {
		"seconds": int64,
		"zero": boolean,
		"nano": int32,
		"negative": boolean,
		"units": Array<{
				"durationEstimated": boolean,
				"timeBased": boolean,
				"dateBased": boolean,
}
>,
}
,
	"type": "REQUIRED" | "TO_SKIP" | "TO_WAIT" | "OTHER",
	"errors": Array<PgcnError>,
}

SimpleUserDTO

{
	"identifier": string,
	"surname": string,
	"firstname": string,
	"fullName": string,
	"login": string,
	"library": SimpleLibraryDTO,
}

WorkflowGroupDTO

{
	"version": int64,
	"identifier": string,
	"name": string,
	"library": SimpleLibraryDTO,
	"description": string,
	"users": Array<SimpleUserDTO>,
	"createdBy": string,
	"createdDate": DateTime,
	"lastModifiedBy": string,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

ViewsFormatConfigurationDTO

{
	"version": int64,
	"identifier": string,
	"label": string,
	"thumbWidth": int64,
	"thumbHeight": int64,
	"viewWidth": int64,
	"viewHeight": int64,
	"printWidth": int64,
	"printHeight": int64,
	"thumbDefaultValue": string,
	"viewDefaultValue": string,
	"printDefaultValue": string,
	"library": SimpleLibraryDTO,
	"errors": Array<PgcnError>,
}

AddressDTO

{
	"identifier": string,
	"label": string,
	"address1": string,
	"address2": string,
	"address3": string,
	"complement": string,
	"postcode": string,
	"city": string,
	"country": string,
	"version": int64,
}

UserCreationDTO

{
	"version": int64,
	"identifier": string,
	"login": string,
	"firstname": string,
	"surname": string,
	"active": boolean,
	"category": string,
	"lang": "FR" | "EN",
	"role": RoleDTO,
	"address": AddressDTO,
	"library": SimpleLibraryDTO,
	"phoneNumber": string,
	"email": string,
	"companyName": string,
	"function": string,
	"groups": Array<SimpleWorkflowGroupDTO>,
	"createdBy": string,
	"createdDate": DateTime,
	"lastModifiedBy": string,
	"lastModifiedDate": DateTime,
	"password": string,
	"errors": Array<PgcnError>,
}

UserDTO

{
	"version": int64,
	"identifier": string,
	"login": string,
	"firstname": string,
	"surname": string,
	"active": boolean,
	"category": string,
	"lang": "FR" | "EN",
	"role": RoleDTO,
	"address": AddressDTO,
	"library": SimpleLibraryDTO,
	"phoneNumber": string,
	"email": string,
	"companyName": string,
	"function": string,
	"groups": Array<SimpleWorkflowGroupDTO>,
	"createdBy": string,
	"createdDate": DateTime,
	"lastModifiedBy": string,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

SimplePhysicalDocumentDTO

{
	"identifier": string,
	"name": string,
	"digitalId": string,
	"train": SimpleTrainDTO,
	"errors": Array<PgcnError>,
}

SimpleProjectDTO

{
	"identifier": string,
	"name": string,
	"description": string,
	"status": string,
	"library": SimpleLibraryDTO,
	"cancelingComment": string,
	"filesArchived": boolean,
}

SimpleTrainDTO

{
	"identifier": string,
	"label": string,
	"description": string,
	"status": "CREATED" | "IN_PREPARATION" | "IN_DIGITIZATION" | "RECEIVING_PHYSICAL_DOCUMENTS" | "CANCELED" | "CLOSED",
	"providerSendingDate": Date,
	"returnDate": Date,
	"errors": Array<PgcnError>,
}

TrainDTO

{
	"version": int64,
	"identifier": string,
	"project": SimpleProjectDTO,
	"label": string,
	"description": string,
	"active": boolean,
	"status": "CREATED" | "IN_PREPARATION" | "IN_DIGITIZATION" | "RECEIVING_PHYSICAL_DOCUMENTS" | "CANCELED" | "CLOSED",
	"providerSendingDate": Date,
	"returnDate": Date,
	"physicalDocuments": UniqArray<SimplePhysicalDocumentDTO>,
	"createdBy": string,
	"createdDate": DateTime,
	"lastModifiedBy": string,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

Template

{
	"identifier": string,
	"version": int64,
	"name": "ConditionReport" | "ReinitPassword" | "UserCreation" | "ConditionReportSlip" | "DeliverySlip" | "ControlSlip",
	"originalFilename": string,
	"fileSize": int64,
	"library": Library,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

CinesPACDTO

{
	"identifier": string,
	"name": string,
}

ExportFTPConfigurationDTO

{
	"version": int64,
	"identifier": string,
	"label": string,
	"library": SimpleLibraryDTO,
	"address": string,
	"login": string,
	"password": string,
	"storageServer": string,
	"port": string,
	"active": boolean,
	"exportMets": boolean,
	"exportMaster": boolean,
	"exportView": boolean,
	"exportThumb": boolean,
	"exportPdf": boolean,
	"exportAipSip": boolean,
	"exportAlto": boolean,
	"deliveryFolders": Array<ExportFTPConfigurationDeliveryFolderDTO>,
	"errors": Array<PgcnError>,
}

ExportFTPConfigurationDeliveryFolderDTO

{
	"version": int64,
	"identifier": string,
	"name": string,
	"errors": Array<PgcnError>,
}

InternetArchiveCollectionDTO

{
	"identifier": string,
	"name": string,
}

OmekaConfigurationDTO

{
	"identifier": string,
	"label": string,
	"storageServer": string,
	"port": string,
	"library": SimpleLibraryDTO,
	"omekaCollections": Array<OmekaListDTO>,
	"omekaItems": Array<OmekaListDTO>,
	"omekaLists": Array<OmekaListDTO>,
	"active": boolean,
	"address": string,
	"login": string,
	"password": string,
	"accessUrl": string,
	"mailCsv": string,
	"exportMets": boolean,
	"exportMaster": boolean,
	"exportView": boolean,
	"exportThumb": boolean,
	"exportPdf": boolean,
	"omekas": boolean,
	"sftp": boolean,
	"zip": boolean,
}

OmekaListDTO

{
	"version": int64,
	"identifier": string,
	"name": string,
	"type": string,
	"errors": Array<PgcnError>,
}

ProjectDTO

{
	"version": int64,
	"identifier": string,
	"library": SimpleLibraryDTO,
	"name": string,
	"description": string,
	"active": boolean,
	"startDate": Date,
	"forecastEndDate": Date,
	"realEndDate": Date,
	"status": string,
	"activeFTPConfiguration": SimpleFTPConfigurationDTO,
	"activeExportFTPConfiguration": ExportFTPConfigurationDTO,
	"activeCheckConfiguration": SimpleCheckConfigurationDTO,
	"activeFormatConfiguration": SimpleViewsFormatConfigurationDTO,
	"collectionIA": InternetArchiveCollectionDTO,
	"licenseUrl": string,
	"planClassementPAC": CinesPACDTO,
	"provider": SimpleUserDTO,
	"workflowModel": SimpleWorkflowModelDTO,
	"cancelingComment": string,
	"omekaCollection": OmekaListDTO,
	"omekaItem": OmekaListDTO,
	"omekaConfiguration": OmekaConfigurationDTO,
	"libRespName": string,
	"libRespPhone": string,
	"libRespEmail": string,
	"activeExportFTPDeliveryFolder": ExportFTPConfigurationDeliveryFolderDTO,
	"associatedLibraries": UniqArray<SimpleLibraryDTO>,
	"associatedUsers": UniqArray<SimpleUserDTO>,
	"otherProviders": Array<SimpleUserDTO>,
	"createdBy": string,
	"createdDate": DateTime,
	"lastModifiedBy": string,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

SimpleCheckConfigurationDTO

{
	"identifier": string,
	"label": string,
	"errors": Array<PgcnError>,
}

SimpleFTPConfigurationDTO

{
	"identifier": string,
	"label": string,
	"errors": Array<PgcnError>,
}

SimpleViewsFormatConfigurationDTO

{
	"identifier": string,
	"label": string,
	"errors": Array<PgcnError>,
}

SimpleWorkflowModelDTO

{
	"identifier": string,
	"name": string,
	"errors": Array<PgcnError>,
}

PhysicalDocumentDTO

{
	"version": int64,
	"identifier": string,
	"name": string,
	"digitalId": string,
	"totalPage": int32,
	"train": SimpleTrainDTO,
	"commentaire": string,
	"errors": Array<PgcnError>,
}

OcrLangConfigurationDTO

{
	"version": int64,
	"identifier": string,
	"label": string,
	"library": SimpleLibraryDTO,
	"active": boolean,
	"ocrLanguages": Array<OcrLanguageDTO>,
	"errors": Array<PgcnError>,
}

OcrLanguageDTO

{
	"identifier": string,
	"label": string,
	"code": string,
	"active": boolean,
	"errors": Array<PgcnError>,
}

MultiLotsDeliveryDTO

{
	"identifier": string,
	"label": string,
	"description": string,
	"payment": string,
	"status": string,
	"method": string,
	"receptionDate": Date,
	"folderPath": string,
	"digitizingNotes": string,
	"controlNotes": string,
	"trainId": string,
	"selectedByTrain": boolean,
	"train": SimpleTrainDTO,
	"createdBy": string,
	"deliveries": Array<SimpleDeliveryLotDTO>,
	"lots": Array<SimpleLotForDeliveryDTO>,
	"errors": Array<PgcnError>,
}

SimpleDeliveryLotDTO

{
	"identifier": string,
	"label": string,
	"status": "SAVED" | "DELIVERING" | "DELIVERED" | "TO_BE_CONTROLLED" | "VALIDATED" | "REJECTED" | "BACK_TO_PROVIDER" | "AUTOMATICALLY_REJECTED" | "DELIVERED_AGAIN" | "DELIVERING_ERROR" | "TREATED" | "CLOSED" | "CANCELED",
	"lot": SimpleLotForDeliveryDTO,
}

SimpleLotForDeliveryDTO

{
	"identifier": string,
	"label": string,
	"code": string,
	"status": "CREATED" | "ONGOING" | "PENDING" | "CANCELED" | "CLOSED",
	"type": "PHYSICAL" | "DIGITAL",
	"requiredFormat": string,
}

MultiLotsDeliveryRequestWrapper

{
	"lockedDocs": Array<PreDeliveryLockedDocsDTO>,
	"metadatas": Array<PreDeliveryDocumentDTO>,
}

PreDeliveryDocumentDTO

{
	"digitalId": string,
	"pageNumber": int32,
	"pieces": UniqArray<string>,
	"metaDataFiles": UniqArray<PreDeliveryDocumentFileDTO>,
	"errors": Array<PgcnError>,
}

PreDeliveryDocumentFileDTO

{
	"name": string,
	"role": "NO_ROLE" | "OTHER" | "METS" | "EXCEL" | "PDF_MULTI",
	"errors": Array<PgcnError>,
}

PreDeliveryLockedDocsDTO

{
	"deliveryLabel": string,
	"lockedDocsIdentifiers": Array<string>,
	"errors": Array<PgcnError>,
}

LotDTO

{
	"version": int64,
	"identifier": string,
	"label": string,
	"code": string,
	"type": string,
	"description": string,
	"active": boolean,
	"status": string,
	"condNotes": string,
	"numNotes": string,
	"requiredFormat": string,
	"deliveryDateForseen": DateTime,
	"realEndDate": DateTime,
	"project": ProjectDTO,
	"docUnits": UniqArray<SimpleDocUnitDTO>,
	"activeFTPConfiguration": SimpleFTPConfigurationDTO,
	"activeExportFTPConfiguration": ExportFTPConfigurationDTO,
	"activeCheckConfiguration": SimpleCheckConfigurationDTO,
	"activeFormatConfiguration": SimpleViewsFormatConfigurationDTO,
	"collectionIA": InternetArchiveCollectionDTO,
	"planClassementPAC": CinesPACDTO,
	"provider": SimpleUserDTO,
	"requiredTypeCompression": string,
	"requiredTauxCompression": int32,
	"requiredResolution": string,
	"requiredColorspace": string,
	"workflowModel": SimpleWorkflowModelDTO,
	"omekaConfiguration": OmekaConfigurationDTO,
	"omekaCollection": OmekaListDTO,
	"omekaItem": OmekaListDTO,
	"activeOcrLanguage": OcrLanguageDTO,
	"activeExportFTPDeliveryFolder": ExportFTPConfigurationDeliveryFolderDTO,
	"errors": Array<PgcnError>,
}

SimpleDocUnitDTO

{
	"identifier": string,
	"label": string,
	"pgcnId": string,
	"digitizingNotes": string,
	"library": SimpleLibraryDTO,
	"children": Array<SimpleDocUnitDTO>,
	"parentIdentifier": string,
	"errors": Array<PgcnError>,
}

SearchRequest

{
	"search": string,
	"libraries": Array<string>,
	"projects": Array<string>,
	"active": boolean,
	"lotStatuses": Array<"CREATED" | "ONGOING" | "PENDING" | "CANCELED" | "CLOSED">,
	"docNumber": int32,
	"fileFormats": Array<string>,
	"filter": Array<string>,
}

PageSimpleLotDTO

{
	"totalElements": int64,
	"totalPages": int32,
	"pageable": PageableObject,
	"first": boolean,
	"size": int32,
	"content": Array<SimpleLotDTO>,
	"number": int32,
	"sort": Array<SortObject>,
	"numberOfElements": int32,
	"last": boolean,
	"empty": boolean,
}

SimpleLotDTO

{
	"identifier": string,
	"label": string,
	"code": string,
	"requiredFormat": string,
	"project": SimpleProjectDTO,
	"status": "CREATED" | "ONGOING" | "PENDING" | "CANCELED" | "CLOSED",
	"type": "PHYSICAL" | "DIGITAL",
	"filesArchived": boolean,
	"providerLogin": string,
	"activeOcrLanguage": OcrLanguageDTO,
}

ResultAdminLotDTO

{
	"identifier": string,
	"msg": string,
	"success": boolean,
}

LibraryParameterValueCinesDTO

{
	"identifier": string,
	"type": string,
	"value": string,
	"errors": Array<PgcnError>,
}

LibraryParameterValuedDTO

{
	"identifier": string,
	"type": string,
	"library": SimpleLibraryDTO,
	"values": Array<LibraryParameterValueCinesDTO>,
	"errors": Array<PgcnError>,
}

LibraryDTO

{
	"version": int64,
	"identifier": string,
	"name": string,
	"prefix": string,
	"defaultRole": RoleDTO,
	"libRespName": string,
	"libRespPhone": string,
	"libRespEmail": string,
	"website": string,
	"phoneNumber": string,
	"email": string,
	"number": string,
	"active": boolean,
	"institution": string,
	"address": AddressDTO,
	"cinesService": string,
	"ftpConfigurations": UniqArray<SimpleFTPConfigurationDTO>,
	"activeFTPConfiguration": SimpleFTPConfigurationDTO,
	"checkConfigurations": UniqArray<SimpleCheckConfigurationDTO>,
	"activeCheckConfiguration": SimpleCheckConfigurationDTO,
	"viewsFormatConfigurations": UniqArray<SimpleViewsFormatConfigurationDTO>,
	"activeFormatConfiguration": SimpleViewsFormatConfigurationDTO,
	"ocrLangConfigurations": UniqArray<SimpleOcrLangConfigDTO>,
	"activeOcrLangConfiguration": SimpleOcrLangConfigDTO,
	"createdBy": string,
	"createdDate": DateTime,
	"lastModifiedBy": string,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

SimpleOcrLangConfigDTO

{
	"identifier": string,
	"label": string,
	"errors": Array<PgcnError>,
}

CustomHeader

{
	"type": string,
	"value": string,
	"errors": Array<PgcnError>,
}

InternetArchiveItemDTO

{
	"identifier": string,
	"archiveIdentifier": string,
	"collections": Array<string>,
	"contributors": Array<string>,
	"coverages": Array<string>,
	"creators": Array<string>,
	"credits": string,
	"date": string,
	"description": string,
	"languages": Array<string>,
	"licenseUrl": string,
	"mediatype": "texts" | "image" | "collection" | "autre",
	"customMediatype": string,
	"notes": string,
	"publisher": string,
	"rights": string,
	"subjects": Array<string>,
	"title": string,
	"customHeaders": Array<CustomHeader>,
	"total": int32,
	"type": string,
	"source": string,
	"errors": Array<PgcnError>,
}

ImageMetadataProperty

{
	"identifier": string,
	"version": int64,
	"label": string,
	"repeat": boolean,
	"type": "STRING" | "INTEGER" | "REAL" | "BOOLEAN" | "DATE",
	"iptcTag": string,
	"xmpTag": string,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

ImageMetadataValue

{
	"identifier": string,
	"version": int64,
	"docUnit": DocUnit,
	"metadata": ImageMetadataProperty,
	"value": string,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

HelpPage

{
	"identifier": string,
	"version": int64,
	"title": string,
	"rank": int32,
	"tag": string,
	"module": string,
	"type": "PGCN" | "CUSTOM",
	"content": string,
	"parent": HelpPage,
	"children": UniqArray<HelpPage>,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

FTPConfigurationDTO

{
	"version": int64,
	"identifier": string,
	"label": string,
	"library": SimpleLibraryDTO,
	"address": string,
	"login": string,
	"password": string,
	"deliveryFolder": string,
	"errors": Array<PgcnError>,
}

FilesGestionConfigDTO

{
	"version": int64,
	"identifier": string,
	"triggerType": string,
	"delay": int32,
	"useExportFtp": boolean,
	"destinationDir": string,
	"deleteMaster": boolean,
	"deletePdf": boolean,
	"deletePrint": boolean,
	"deleteView": boolean,
	"deleteThumb": boolean,
	"saveMaster": boolean,
	"savePdf": boolean,
	"savePrint": boolean,
	"saveView": boolean,
	"saveThumb": boolean,
	"saveAipSip": boolean,
	"activeExportFTPConfiguration": ExportFTPConfigurationDTO,
	"activeExportFTPDeliveryFolder": ExportFTPConfigurationDeliveryFolderDTO,
	"library": SimpleLibraryDTO,
	"errors": Array<PgcnError>,
}

BibliographicRecordDcDTO

{
	"title": Array<string>,
	"creator": Array<string>,
	"subject": Array<string>,
	"description": Array<string>,
	"publisher": Array<string>,
	"contributor": Array<string>,
	"date": Array<string>,
	"type": Array<string>,
	"format": Array<string>,
	"identifier": Array<string>,
	"source": Array<string>,
	"language": Array<string>,
	"relation": Array<string>,
	"coverage": Array<string>,
	"rights": Array<string>,
	"customProperties": Array<DocPropertyDTO>,
}

DocPropertyDTO

{
	"identifier": string,
	"value": string,
	"rank": int32,
	"type": DocPropertyTypeDTO,
	"weightedRank": double,
	"errors": Array<PgcnError>,
}

DocPropertyTypeDTO

{
	"identifier": string,
	"label": string,
	"superType": string,
	"rank": int32,
	"errors": Array<PgcnError>,
}

AutomaticCheckResultDTO

{
	"identifier": string,
	"check": AutomaticCheckTypeDTO,
	"result": string,
	"message": string,
	"createdDate": DateTime,
	"errors": Array<PgcnError>,
}

AutomaticCheckTypeDTO

{
	"identifier": string,
	"label": string,
	"type": "WITH_MASTER" | "FILE_INTEGRITY" | "FACILE" | "FILE_RADICAL" | "FILE_SEQUENCE" | "FILE_FORMAT" | "FILE_TOTAL_NUMBER" | "FILE_TYPE_COMPR" | "FILE_TAUX_COMPR" | "FILE_RESOLUTION" | "FILE_DEFINITION" | "FILE_COLORSPACE" | "FILE_BIB_PREFIX" | "FILE_CASE_SENSITIVE" | "FILE_IMAGE_METADATA" | "METADATA_FILE" | "FILE_PDF_MULTI" | "GENER_PDF_OCR" | "GENER_PDF_WITHOUT_OCR",
	"order": int32,
	"active": boolean,
	"errors": Array<PgcnError>,
}

CinesReportDTO

{
	"identifier": string,
	"status": string,
	"dateSent": DateTime,
	"dateAr": DateTime,
	"dateRejection": DateTime,
	"dateArchived": DateTime,
	"lastModifiedDate": DateTime,
	"rejectionMotive": string,
	"certificate": string,
	"message": string,
	"errors": Array<PgcnError>,
}

DocUnitBibliographicRecordDTO

{
	"identifier": string,
	"title": string,
	"calames": string,
	"sigb": string,
	"sudoc": string,
	"properties": Array<DocPropertyDTO>,
	"errors": Array<PgcnError>,
}

DocUnitDTO

{
	"version": int64,
	"identifier": string,
	"library": LibraryDTO,
	"project": SimpleProjectDTO,
	"lot": SimpleLotDTO,
	"digitalDocuments": UniqArray<SimpleDigitalDocumentDTO>,
	"physicalDocuments": UniqArray<SimplePhysicalDocumentDTO>,
	"records": Array<DocUnitBibliographicRecordDTO>,
	"pgcnId": string,
	"label": string,
	"type": string,
	"collectionIA": InternetArchiveCollectionDTO,
	"arkUrl": string,
	"archivable": boolean,
	"distributable": boolean,
	"rights": "TO_CHECK" | "FREE" | "RESTRICTED" | "RESTRICTED_WITH_AUTHORIZATION",
	"embargo": Date,
	"checkDelay": int32,
	"checkEndTime": Date,
	"planClassementPAC": CinesPACDTO,
	"cinesVersion": int32,
	"condReportType": "MONO_PAGE" | "MULTI_PAGE",
	"digitizingNotes": string,
	"cancelingComment": string,
	"state": string,
	"omekaConfiguration": OmekaConfigurationDTO,
	"omekaCollection": OmekaListDTO,
	"omekaItem": OmekaListDTO,
	"foundRefAuthor": boolean,
	"progressStatus": "NOT_AVAILABLE" | "REQUESTED" | "VALIDATED" | "REFUSED",
	"requestDate": Date,
	"answerDate": Date,
	"omekaExportStatus": string,
	"omekaExportDate": DateTime,
	"digLibExportStatus": string,
	"digLibExportDate": DateTime,
	"activeOcrLanguage": OcrLanguageDTO,
	"automaticCheckResults": Array<AutomaticCheckResultDTO>,
	"cinesReports": Array<CinesReportDTO>,
	"iaReports": Array<InternetArchiveReportDTO>,
	"digitalId": string,
	"parentIdentifier": string,
	"parentPgcnId": string,
	"parentLabel": string,
	"nbChildren": int32,
	"nbSiblings": int32,
	"imageHeight": int32,
	"imageWidth": int32,
	"eadExport": boolean,
	"total": int32,
	"createdBy": string,
	"createdDate": DateTime,
	"lastModifiedBy": string,
	"lastModifiedDate": DateTime,
	"workflow": DocUnitWorkflowDTO,
	"errors": Array<PgcnError>,
}

DocUnitStateDTO

{
	"version": int64,
	"identifier": string,
	"key": string,
	"startDate": DateTime,
	"dueDate": DateTime,
	"endDate": DateTime,
	"status": "NOT_STARTED" | "PENDING" | "FINISHED" | "CANCELED" | "FAILED" | "TO_WAIT" | "WAITING" | "WAITING_NEXT_COMPLETED" | "TO_SKIP" | "SKIPPED",
	"user": string,
	"canStateBeProcessed": boolean,
	"errors": Array<PgcnError>,
}

DocUnitWorkflowDTO

{
	"version": int64,
	"identifier": string,
	"startDate": DateTime,
	"endDate": DateTime,
	"states": Array<DocUnitStateDTO>,
	"errors": Array<PgcnError>,
}

InternetArchiveReportDTO

{
	"identifier": string,
	"status": string,
	"dateSent": DateTime,
	"dateArchived": DateTime,
	"internetArchiveIdentifier": string,
	"message": string,
	"number": string,
	"total": string,
	"errors": Array<PgcnError>,
}

SimpleDeliveredDigitalDocDTO

{
	"identifier": string,
	"digitalId": string,
	"deliveryDate": Date,
	"nbPages": int32,
	"totalLength": int64,
	"status": "CREATING" | "DELIVERING" | "TO_CHECK" | "CHECKING" | "VALIDATED" | "PRE_REJECTED" | "REJECTED" | "WAITING_FOR_REPAIR" | "DELIVERING_ERROR" | "PRE_VALIDATED" | "CANCELED",
	"delivery": SimpleDeliveryDTO,
	"createdDate": DateTime,
	"docUnitId": string,
	"progress": string,
}

SimpleDeliveryDTO

{
	"identifier": string,
	"label": string,
	"status": "SAVED" | "DELIVERING" | "DELIVERED" | "TO_BE_CONTROLLED" | "VALIDATED" | "REJECTED" | "BACK_TO_PROVIDER" | "AUTOMATICALLY_REJECTED" | "DELIVERED_AGAIN" | "DELIVERING_ERROR" | "TREATED" | "CLOSED" | "CANCELED",
}

SimpleDigitalDocumentDTO

{
	"identifier": string,
	"digitalId": string,
	"status": "CREATING" | "DELIVERING" | "TO_CHECK" | "CHECKING" | "VALIDATED" | "PRE_REJECTED" | "REJECTED" | "WAITING_FOR_REPAIR" | "DELIVERING_ERROR" | "PRE_VALIDATED" | "CANCELED",
	"totalDelivery": int32,
	"checkNotes": string,
	"automaticCheckResults": Array<AutomaticCheckResultDTO>,
	"docUnit": DocUnitDTO,
	"deliveries": Array<SimpleDeliveredDigitalDocDTO>,
	"errors": Array<PgcnError>,
}

DocUnitUpdateErrorDTO

{
	"identifier": string,
	"label": string,
	"message": string,
}

DocUnitDeletedReportDTO

{
	"identifier": string,
	"label": string,
	"errors": Array<PgcnError>,
}

MinimalListDocUnitDTO

{
	"identifier": string,
	"label": string,
	"pgcnId": string,
	"errors": Array<PgcnError>,
}

PageSimpleListDocUnitDTO

{
	"totalElements": int64,
	"totalPages": int32,
	"pageable": PageableObject,
	"first": boolean,
	"size": int32,
	"content": Array<SimpleListDocUnitDTO>,
	"number": int32,
	"sort": Array<SortObject>,
	"numberOfElements": int32,
	"last": boolean,
	"empty": boolean,
}

SimpleListDocUnitDTO

{
	"identifier": string,
	"label": string,
	"pgcnId": string,
	"library": SimpleLibraryDTO,
	"project": SimpleProjectDTO,
	"lot": SimpleLotDTO,
	"train": SimpleTrainDTO,
	"parentIdentifier": string,
	"parentLabel": string,
	"parentPgcnId": string,
	"hasRecord": boolean,
	"digitalDocumentStatus": string,
	"changeTrainAuthorized": boolean,
	"errors": Array<PgcnError>,
}

DigitalDocumentDTO

{
	"version": int64,
	"identifier": string,
	"digitalId": string,
	"checkNotes": string,
	"nbPages": int32,
	"status": string,
	"docUnit": SimpleDocUnitDTO,
	"automaticCheckResults": Array<AutomaticCheckResultDTO>,
	"errors": Array<PgcnError>,
}

ManualDeliveryDTO

{
	"identifier": string,
	"lot": SimpleLotDTO,
	"label": string,
	"description": string,
	"payment": string,
	"status": string,
	"method": string,
	"receptionDate": Date,
	"folderPath": string,
	"imgFormat": string,
	"digitizingNotes": string,
	"controlNotes": string,
	"errors": Array<PgcnError>,
}

DeliveryDTO

{
	"identifier": string,
	"lot": SimpleLotForDeliveryDTO,
	"label": string,
	"documentCount": int32,
	"description": string,
	"payment": string,
	"status": string,
	"method": string,
	"receptionDate": Date,
	"depositDate": Date,
	"folderPath": string,
	"imgFormat": string,
	"digitizingNotes": string,
	"fileFormatOK": boolean,
	"sequentialNumbers": boolean,
	"numberOfFilesOK": boolean,
	"numberOfFilesMatching": boolean,
	"mirePresent": boolean,
	"mireOK": boolean,
	"tableOfContentsPresent": boolean,
	"tableOfContentsOK": boolean,
	"altoPresent": boolean,
	"controlNotes": string,
	"automaticCheckResults": Array<AutomaticCheckResultDTO>,
	"createdBy": string,
	"createdDate": DateTime,
	"lastModifiedBy": string,
	"lastModifiedDate": DateTime,
	"multiLotsDelId": string,
	"multiLotsDelLabel": string,
	"errors": Array<PgcnError>,
}

MailboxConfiguration

{
	"identifier": string,
	"version": int64,
	"label": string,
	"library": Library,
	"username": string,
	"password": ,
	"host": string,
	"port": int32,
	"inbox": string,
	"properties": UniqArray<Property>,
	"active": boolean,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

Property

{
	"name": string,
	"value": string,
}

DigitalLibraryConfiguration

{
	"identifier": string,
	"version": int64,
	"label": string,
	"library": Library,
	"active": boolean,
	"port": string,
	"address": string,
	"login": string,
	"password": ,
	"deliveryFolder": string,
	"mail": string,
	"sftp": boolean,
	"exportView": boolean,
	"exportPrint": boolean,
	"exportThumb": boolean,
	"exportPdf": boolean,
	"exportMets": boolean,
	"exportAipSip": boolean,
	"exportAlto": boolean,
	"exportMaster": boolean,
	"defaultValue": string,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

CinesLanguageCode

{
	"identifier": string,
	"version": int64,
	"label": string,
	"getlangDC": string,
	"active": boolean,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

PropertyConfigurationDTO

{
	"version": int64,
	"identifier": string,
	"required": boolean,
	"allowComment": boolean,
	"showOnCreation": boolean,
	"types": UniqArray<string>,
	"descPropertyId": string,
	"descPropertyLabel": string,
	"internalProperty": string,
	"library": LibraryDTO,
	"errors": Array<PgcnError>,
}

ConditionReport

{
	"identifier": string,
	"version": int64,
	"details": UniqArray<ConditionReportDetail>,
	"docUnit": DocUnit,
	"libRespName": string,
	"libRespPhone": string,
	"libRespEmail": string,
	"leaderName": string,
	"leaderPhone": string,
	"leaderEmail": string,
	"providerName": string,
	"providerPhone": string,
	"providerEmail": string,
	"providerContactName": string,
	"providerContactPhone": string,
	"providerContactEmail": string,
	"attachments": UniqArray<ConditionReportAttachment>,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

ConditionReportAttachment

{
	"identifier": string,
	"version": int64,
	"report": ConditionReport,
	"originalFilename": string,
	"fileSize": int64,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

ConditionReportDetail

{
	"identifier": string,
	"version": int64,
	"createdBy": string,
	"report": ConditionReport,
	"type": "LIBRARY_LEAVING" | "PROVIDER_RECEPTION" | "DIGITALIZATION" | "LIBRARY_BACK" | "LIBRARY_RETURN" | "LIBRARY_NEW_DIGIT",
	"libWriterName": string,
	"libWriterFunction": string,
	"provWriterName": string,
	"provWriterFunction": string,
	"date": Date,
	"comment": string,
	"position": int32,
	"descriptions": UniqArray<Description>,
	"nbViewBinding": int32,
	"nbViewBody": int32,
	"nbViewAdditionnal": int32,
	"dim1": int32,
	"dim2": int32,
	"dim3": int32,
	"bindingDesc": string,
	"bodyDesc": string,
	"additionnalDesc": string,
	"insurance": double,
	"nbViewTotal": int32,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

Description

{
	"identifier": string,
	"version": int64,
	"property": DescriptionProperty,
	"value": DescriptionValue,
	"comment": string,
	"detail": ConditionReportDetail,
	"empty": boolean,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

DescriptionProperty

{
	"identifier": string,
	"version": int64,
	"label": string,
	"code": string,
	"type": "TYPE" | "DESCRIPTION" | "STATE" | "NUMBERING" | "BINDING" | "VIGILANCE",
	"allowComment": boolean,
	"configurations": UniqArray<PropertyConfiguration>,
	"order": int32,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

DescriptionValue

{
	"identifier": string,
	"version": int64,
	"label": string,
	"property": DescriptionProperty,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

PropertyConfiguration

{
	"identifier": string,
	"version": int64,
	"required": boolean,
	"allowComment": boolean,
	"showOnCreation": boolean,
	"types": UniqArray<"MONO_PAGE" | "MULTI_PAGE">,
	"library": Library,
	"descProperty": DescriptionProperty,
	"internalProperty": "BINDING_DESC" | "BODY_DESC" | "DIMENSION",
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

ConditionReportDTO

{
	"identifier": string,
	"libRespName": string,
	"libRespPhone": string,
	"libRespEmail": string,
	"leaderName": string,
	"leaderPhone": string,
	"leaderEmail": string,
	"providerName": string,
	"providerPhone": string,
	"providerEmail": string,
	"providerContactName": string,
	"providerContactPhone": string,
	"providerContactEmail": string,
}

ConditionReportDetailDTO

{
	"identifier": string,
	"type": string,
	"libWriterName": string,
	"libWriterFunction": string,
	"provWriterName": string,
	"provWriterFunction": string,
	"date": string,
	"comment": string,
	"nbViewBinding": int32,
	"nbViewBody": int32,
	"nbViewAdditionnal": int32,
	"nbViewTotal": int32,
	"dim1": int32,
	"dim2": int32,
	"dim3": int32,
	"bindingDesc": string,
	"bodyDesc": string,
	"additionnalDesc": string,
	"insurance": string,
	"descriptions": Array<ConditionReportValueDTO>,
	"bindings": Array<ConditionReportValueDTO>,
	"body": Array<ConditionReportValueDTO>,
	"numberings": Array<ConditionReportValueDTO>,
	"vigilances": Array<ConditionReportValueDTO>,
	"states": Array<ConditionReportValueDTO>,
	"types": Array<ConditionReportValueDTO>,
}

ConditionReportValueDTO

{
	"propertyId": string,
	"propertyCode": string,
	"propertyLabel": string,
	"propertyType": string,
	"propertyOrder": int32,
	"value": string,
	"comment": string,
}

PageSearchResult

{
	"totalElements": int64,
	"totalPages": int32,
	"pageable": PageableObject,
	"first": boolean,
	"size": int32,
	"content": Array<SearchResult>,
	"number": int32,
	"sort": Array<SortObject>,
	"numberOfElements": int32,
	"last": boolean,
	"empty": boolean,
}

SearchResult

{
	"report": ConditionReportDTO,
	"detail": ConditionReportDetailDTO,
	"docUnit": SimpleListDocUnitDTO,
}

ImportResult

{
	"reportId": string,
	"docUnitId": string,
	"pgcnId": string,
	"errors": Array<PgcnError>,
}

AutomaticCheckRuleDTO

{
	"version": int64,
	"identifier": string,
	"automaticCheckType": AutomaticCheckTypeDTO,
	"active": boolean,
	"blocking": boolean,
	"readOnly": boolean,
	"errors": Array<PgcnError>,
}

CheckConfigurationDTO

{
	"version": int64,
	"identifier": string,
	"label": string,
	"library": SimpleLibraryDTO,
	"minorErrorRate": double,
	"majorErrorRate": double,
	"definitionErrorRate": double,
	"sampleRate": double,
	"sampleMode": string,
	"separators": string,
	"automaticCheckRules": Array<AutomaticCheckRuleDTO>,
	"errors": Array<PgcnError>,
}

CheckDTO

{
	"version": int64,
	"identifier": string,
	"errorLabel": string,
	"errorType": string,
	"page": SimpleDocPageDTO,
	"errors": Array<PgcnError>,
}

SimpleDocPageDTO

{
	"identifier": string,
	"number": int32,
	"checkNotes": string,
	"errors": Array<PgcnError>,
}

DocPageErrorsDTO

{
	"failedChecks": UniqArray<"UNREADABLE" | "BAD_NAME" | "BAD_HIERARCHY" | "MISSING_PAGE" | "TRUNCATED_INFORMATION" | "BAD_RESOLUTION" | "BAD_THRESHOLD" | "WRONG_FORMAT" | "FOREIGN_BODIES" | "BAD_METADATA" | "INCONSISTENT_METADATA" | "ANOTHER_MAJ" | "BLURRED_IMAGE" | "SLANT_IMAGE" | "HALO_ON_IMAGE" | "SHADOW_ON_IMAGE" | "GEOMETRICAL_ANOMALY" | "CHROMATIC_ANOMALY" | "WRONG_FRAMING" | "WRONG_ORDER" | "BAD_OCR" | "ANOTHER_MIN">,
	"checkNotes": string,
	"typeToc": string,
	"orderToc": string,
	"titleToc": string,
	"errors": Array<PgcnError>,
}

DocErrorReport

{
	"nbMinorErrors": int32,
	"nbMajorErrors": int32,
	"minorErrorRateExceeded": boolean,
	"majorErrorRateExceeded": boolean,
}

BibliographicRecordDTO

{
	"version": int64,
	"identifier": string,
	"title": string,
	"calames": string,
	"sigb": string,
	"sudoc": string,
	"docElectronique": string,
	"library": SimpleLibraryDTO,
	"docUnit": SimpleDocUnitDTO,
	"properties": Array<DocPropertyDTO>,
	"createdBy": string,
	"createdDate": DateTime,
	"lastModifiedBy": string,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

UserAccountDTO

{
	"*login": string with unhandled constraints,
	"*password": string with unhandled constraints,
	"firstName": string with unhandled constraints,
	"lastName": string with unhandled constraints,
	"email": string with unhandled constraints,
	"langKey": string with unhandled constraints,
	"roles": Array<string>,
}

PersistentToken

{
	"series": string,
	"ipAddress": string with unhandled constraints,
	"userAgent": string,
	"user": User,
	"formattedTokenDate": DateTime,
}

PageSimpleWorkflowModelDTO

{
	"totalElements": int64,
	"totalPages": int32,
	"pageable": PageableObject,
	"first": boolean,
	"size": int32,
	"content": Array<SimpleWorkflowModelDTO>,
	"number": int32,
	"sort": Array<SortObject>,
	"numberOfElements": int32,
	"last": boolean,
	"empty": boolean,
}

PageSimpleWorkflowGroupDTO

{
	"totalElements": int64,
	"totalPages": int32,
	"pageable": PageableObject,
	"first": boolean,
	"size": int32,
	"content": Array<SimpleWorkflowGroupDTO>,
	"number": int32,
	"sort": Array<SortObject>,
	"numberOfElements": int32,
	"last": boolean,
	"empty": boolean,
}

StateIsDoneDTO

{
	"version": int64,
	"done": boolean,
	"errors": Array<PgcnError>,
}

BooleanValueDTO

{
	"value": boolean,
	"errors": Array<PgcnError>,
}

PageSimpleViewsFormatConfigurationDTO

{
	"totalElements": int64,
	"totalPages": int32,
	"pageable": PageableObject,
	"first": boolean,
	"size": int32,
	"content": Array<SimpleViewsFormatConfigurationDTO>,
	"number": int32,
	"sort": Array<SortObject>,
	"numberOfElements": int32,
	"last": boolean,
	"empty": boolean,
}

PageSimpleUserDTO

{
	"totalElements": int64,
	"totalPages": int32,
	"pageable": PageableObject,
	"first": boolean,
	"size": int32,
	"content": Array<SimpleUserDTO>,
	"number": int32,
	"sort": Array<SortObject>,
	"numberOfElements": int32,
	"last": boolean,
	"empty": boolean,
}

PageSimpleTrainDTO

{
	"totalElements": int64,
	"totalPages": int32,
	"pageable": PageableObject,
	"first": boolean,
	"size": int32,
	"content": Array<SimpleTrainDTO>,
	"number": int32,
	"sort": Array<SortObject>,
	"numberOfElements": int32,
	"last": boolean,
	"empty": boolean,
}

StatisticsProviderTrainDTO

{
	"libraryIdentifier": string,
	"libraryName": string,
	"projectIdentifier": string,
	"projectName": string,
	"trainIdentifier": string,
	"trainLabel": string,
	"status": "CREATED" | "IN_PREPARATION" | "IN_DIGITIZATION" | "RECEIVING_PHYSICAL_DOCUMENTS" | "CANCELED" | "CLOSED",
	"sendingDate": Date,
	"returnDate": Date,
	"duration": int64,
	"nbDoc": int64,
	"insurance": double,
}

PageStatisticsProgressDTO

{
	"totalElements": int64,
	"totalPages": int32,
	"pageable": PageableObject,
	"first": boolean,
	"size": int32,
	"content": Array<StatisticsProgressDTO>,
	"number": int32,
	"sort": Array<SortObject>,
	"numberOfElements": int32,
	"last": boolean,
	"empty": boolean,
}

StatisticsProgressDTO

{
	"libraryIdentifier": string,
	"libraryName": string,
	"projectIdentifier": string,
	"projectName": string,
	"projectStatus": "CREATED" | "ONGOING" | "PENDING" | "CANCELED" | "CLOSED",
	"lotIdentifier": string,
	"lotLabel": string,
	"nbLots": int64,
	"nbDocUnits": int64,
	"nbDigitalDocs": int64,
	"pctDigitalDocs": double,
	"nbDlvControlled": int64,
	"pctDlvControlled": double,
	"nbDlvValidated": int64,
	"pctDlvValidated": double,
	"nbDlvRejected": int64,
	"pctDlvRejected": double,
	"avgDocDlv": double,
	"nbDlv": int64,
	"nbWorkflowValidated": int64,
	"pctWorkflowValidated": double,
	"nbDocDistributable": int64,
	"pctDocDistributable": double,
	"nbDocDistributed": int64,
	"pctDocDistributed": double,
	"nbDocArchivable": int64,
	"pctDocArchivable": double,
	"nbDocArchived": int64,
	"pctDocArchived": double,
}

PageStatisticsProjectDTO

{
	"totalElements": int64,
	"totalPages": int32,
	"pageable": PageableObject,
	"first": boolean,
	"size": int32,
	"content": Array<StatisticsProjectDTO>,
	"number": int32,
	"sort": Array<SortObject>,
	"numberOfElements": int32,
	"last": boolean,
	"empty": boolean,
}

StatisticsProjectDTO

{
	"identifier": string,
	"library": SimpleLibraryDTO,
	"name": string,
	"description": string,
	"active": boolean,
	"startDate": Date,
	"forecastEndDate": Date,
	"realEndDate": Date,
	"status": string,
	"nbDocUnits": int32,
	"provider": SimpleUserDTO,
	"otherProviders": Array<SimpleUserDTO>,
	"errors": Array<PgcnError>,
}

WorkflowUserActivityDTO

{
	"libraryIdentifier": string,
	"libraryName": string,
	"userIdentifier": string,
	"userLogin": string,
	"userFullName": string,
	"roleIdentifier": string,
	"roleLabel": string,
	"projectIdentifier": string,
	"projectName": string,
	"lotIdentifier": string,
	"lotLabel": string,
	"docIdentifier": string,
	"docPgcnId": string,
	"state": "INITIALISATION_DOCUMENT" | "GENERATION_BORDEREAU" | "VALIDATION_CONSTAT_ETAT" | "VALIDATION_BORDEREAU_CONSTAT_ETAT" | "CONSTAT_ETAT_AVANT_NUMERISATION" | "NUMERISATION_EN_ATTENTE" | "CONSTAT_ETAT_APRES_NUMERISATION" | "LIVRAISON_DOCUMENT_EN_COURS" | "RELIVRAISON_DOCUMENT_EN_COURS" | "CONTROLES_AUTOMATIQUES_EN_COURS" | "CONTROLE_QUALITE_EN_COURS" | "PREREJET_DOCUMENT" | "PREVALIDATION_DOCUMENT" | "VALIDATION_DOCUMENT" | "VALIDATION_NOTICES" | "RAPPORT_CONTROLES" | "ARCHIVAGE_DOCUMENT" | "DIFFUSION_DOCUMENT" | "DIFFUSION_DOCUMENT_OMEKA" | "DIFFUSION_DOCUMENT_DIGITAL_LIBRARY" | "DIFFUSION_DOCUMENT_LOCALE" | "CLOTURE_DOCUMENT",
	"startDate": DateTime,
	"endDate": DateTime,
	"duration": int64,
}

WorkflowUserProgressDTO

{
	"libraryIdentifier": string,
	"libraryName": string,
	"userIdentifier": string,
	"userLogin": string,
	"userFullName": string,
	"nbDocUnit": int64,
	"nbValidatedDocUnit": int64,
	"nbRejectedDocUnit": int64,
	"avgTotalPages": int32,
	"avgDuration": int64,
	"nbPreValidatedDocUnit": int64,
	"nbPreRejectedDocUnit": int64,
}

WorkflowStateProgressDTO

{
	"libraryIdentifier": string,
	"libraryName": string,
	"workflowModelIdentifier": string,
	"workflowModelName": string,
	"key": "INITIALISATION_DOCUMENT" | "GENERATION_BORDEREAU" | "VALIDATION_CONSTAT_ETAT" | "VALIDATION_BORDEREAU_CONSTAT_ETAT" | "CONSTAT_ETAT_AVANT_NUMERISATION" | "NUMERISATION_EN_ATTENTE" | "CONSTAT_ETAT_APRES_NUMERISATION" | "LIVRAISON_DOCUMENT_EN_COURS" | "RELIVRAISON_DOCUMENT_EN_COURS" | "CONTROLES_AUTOMATIQUES_EN_COURS" | "CONTROLE_QUALITE_EN_COURS" | "PREREJET_DOCUMENT" | "PREVALIDATION_DOCUMENT" | "VALIDATION_DOCUMENT" | "VALIDATION_NOTICES" | "RAPPORT_CONTROLES" | "ARCHIVAGE_DOCUMENT" | "DIFFUSION_DOCUMENT" | "DIFFUSION_DOCUMENT_OMEKA" | "DIFFUSION_DOCUMENT_DIGITAL_LIBRARY" | "DIFFUSION_DOCUMENT_LOCALE" | "CLOTURE_DOCUMENT",
	"avgDuration": int64,
}

WorkflowProfileActivityDTO

{
	"libraryIdentifier": string,
	"libraryName": string,
	"roleIdentifier": string,
	"roleLabel": string,
	"projectIdentifier": string,
	"projectName": string,
	"lotIdentifier": string,
	"lotLabel": string,
	"docIdentifier": string,
	"docPgcnId": string,
	"state": "INITIALISATION_DOCUMENT" | "GENERATION_BORDEREAU" | "VALIDATION_CONSTAT_ETAT" | "VALIDATION_BORDEREAU_CONSTAT_ETAT" | "CONSTAT_ETAT_AVANT_NUMERISATION" | "NUMERISATION_EN_ATTENTE" | "CONSTAT_ETAT_APRES_NUMERISATION" | "LIVRAISON_DOCUMENT_EN_COURS" | "RELIVRAISON_DOCUMENT_EN_COURS" | "CONTROLES_AUTOMATIQUES_EN_COURS" | "CONTROLE_QUALITE_EN_COURS" | "PREREJET_DOCUMENT" | "PREVALIDATION_DOCUMENT" | "VALIDATION_DOCUMENT" | "VALIDATION_NOTICES" | "RAPPORT_CONTROLES" | "ARCHIVAGE_DOCUMENT" | "DIFFUSION_DOCUMENT" | "DIFFUSION_DOCUMENT_OMEKA" | "DIFFUSION_DOCUMENT_DIGITAL_LIBRARY" | "DIFFUSION_DOCUMENT_LOCALE" | "CLOTURE_DOCUMENT",
	"startDate": DateTime,
	"endDate": DateTime,
	"duration": int64,
}

WorkflowDocUnitInfoDTO

{
	"record": string,
	"lot": string,
	"radical": string,
}

WorkflowDocUnitProgressDTOPending

{
	"projectIdentifier": string,
	"projectName": string,
	"docIdentifier": string,
	"docPgcnId": string,
	"docLabel": string,
	"docStatus": string,
	"lotIdentifier": string,
	"lotLabel": string,
	"totalPage": int32,
	"workflowStateKeys": Array<string>,
	"infos": WorkflowDocUnitInfoDTO,
}

PageWorkflowDocUnitProgressDTO

{
	"totalElements": int64,
	"totalPages": int32,
	"pageable": PageableObject,
	"first": boolean,
	"size": int32,
	"content": Array<WorkflowDocUnitProgressDTO>,
	"number": int32,
	"sort": Array<SortObject>,
	"numberOfElements": int32,
	"last": boolean,
	"empty": boolean,
}

WorkflowDocUnitProgressDTO

{
	"libraryIdentifier": string,
	"libraryName": string,
	"projectIdentifier": string,
	"projectName": string,
	"lotIdentifier": string,
	"lotLabel": string,
	"trainIdentifier": string,
	"trainLabel": string,
	"docIdentifier": string,
	"docPgcnId": string,
	"docLabel": string,
	"docStatus": string,
	"totalPage": int32,
	"workflow": Array<WorkflowState>,
	"infos": WorkflowDocUnitInfoDTO,
}

WorkflowState

{
	"key": "INITIALISATION_DOCUMENT" | "GENERATION_BORDEREAU" | "VALIDATION_CONSTAT_ETAT" | "VALIDATION_BORDEREAU_CONSTAT_ETAT" | "CONSTAT_ETAT_AVANT_NUMERISATION" | "NUMERISATION_EN_ATTENTE" | "CONSTAT_ETAT_APRES_NUMERISATION" | "LIVRAISON_DOCUMENT_EN_COURS" | "RELIVRAISON_DOCUMENT_EN_COURS" | "CONTROLES_AUTOMATIQUES_EN_COURS" | "CONTROLE_QUALITE_EN_COURS" | "PREREJET_DOCUMENT" | "PREVALIDATION_DOCUMENT" | "VALIDATION_DOCUMENT" | "VALIDATION_NOTICES" | "RAPPORT_CONTROLES" | "ARCHIVAGE_DOCUMENT" | "DIFFUSION_DOCUMENT" | "DIFFUSION_DOCUMENT_OMEKA" | "DIFFUSION_DOCUMENT_DIGITAL_LIBRARY" | "DIFFUSION_DOCUMENT_LOCALE" | "CLOTURE_DOCUMENT",
	"status": "NOT_STARTED" | "PENDING" | "FINISHED" | "CANCELED" | "FAILED" | "TO_WAIT" | "WAITING" | "WAITING_NEXT_COMPLETED" | "TO_SKIP" | "SKIPPED",
	"startDate": DateTime,
	"endDate": DateTime,
}

PageWorkflowDeliveryProgressDTO

{
	"totalElements": int64,
	"totalPages": int32,
	"pageable": PageableObject,
	"first": boolean,
	"size": int32,
	"content": Array<WorkflowDeliveryProgressDTO>,
	"number": int32,
	"sort": Array<SortObject>,
	"numberOfElements": int32,
	"last": boolean,
	"empty": boolean,
}

WorkflowDeliveryProgressDTO

{
	"libraryIdentifier": string,
	"libraryName": string,
	"projectIdentifier": string,
	"projectName": string,
	"lotIdentifier": string,
	"lotLabel": string,
	"deliveryIdentifier": string,
	"deliveryLabel": string,
	"docUnitNumber": string,
	"workflow": Array<WorkflowState>,
}

StatisticsProcessedDocUnitDTO

{
	"identifier": string,
	"pgcnId": string,
	"status": string,
	"message": string,
	"date": DateTime,
}

PageString

{
	"totalElements": int64,
	"totalPages": int32,
	"pageable": PageableObject,
	"first": boolean,
	"size": int32,
	"content": Array<string>,
	"number": int32,
	"sort": Array<SortObject>,
	"numberOfElements": int32,
	"last": boolean,
	"empty": boolean,
}

PageStatisticsDocRejectedDTO

{
	"totalElements": int64,
	"totalPages": int32,
	"pageable": PageableObject,
	"first": boolean,
	"size": int32,
	"content": Array<StatisticsDocRejectedDTO>,
	"number": int32,
	"sort": Array<SortObject>,
	"numberOfElements": int32,
	"last": boolean,
	"empty": boolean,
}

StatisticsDocRejectedDTO

{
	"libraryIdentifier": string,
	"libraryName": string,
	"projectIdentifier": string,
	"projectName": string,
	"lotIdentifier": string,
	"lotLabel": string,
	"importDate": Date,
	"providerIdentifier": string,
	"providerLogin": string,
	"providerFullName": string,
	"nbDocRejected": int64,
	"nbDocTotal": int64,
	"pctDocRejected": double,
}

PageStatisticsDocPublishedDTO

{
	"totalElements": int64,
	"totalPages": int32,
	"pageable": PageableObject,
	"first": boolean,
	"size": int32,
	"content": Array<StatisticsDocPublishedDTO>,
	"number": int32,
	"sort": Array<SortObject>,
	"numberOfElements": int32,
	"last": boolean,
	"empty": boolean,
}

StatisticsDocPublishedDTO

{
	"libraryIdentifier": string,
	"libraryName": string,
	"projectIdentifier": string,
	"projectName": string,
	"lotIdentifier": string,
	"lotLabel": string,
	"docUnitIdentifier": string,
	"docUnitPgcnId": string,
	"docUnitLabel": string,
	"docUnitType": string,
	"parentIdentifier": string,
	"parentPgcnId": string,
	"parentLabel": string,
	"workflowState": "INITIALISATION_DOCUMENT" | "GENERATION_BORDEREAU" | "VALIDATION_CONSTAT_ETAT" | "VALIDATION_BORDEREAU_CONSTAT_ETAT" | "CONSTAT_ETAT_AVANT_NUMERISATION" | "NUMERISATION_EN_ATTENTE" | "CONSTAT_ETAT_APRES_NUMERISATION" | "LIVRAISON_DOCUMENT_EN_COURS" | "RELIVRAISON_DOCUMENT_EN_COURS" | "CONTROLES_AUTOMATIQUES_EN_COURS" | "CONTROLE_QUALITE_EN_COURS" | "PREREJET_DOCUMENT" | "PREVALIDATION_DOCUMENT" | "VALIDATION_DOCUMENT" | "VALIDATION_NOTICES" | "RAPPORT_CONTROLES" | "ARCHIVAGE_DOCUMENT" | "DIFFUSION_DOCUMENT" | "DIFFUSION_DOCUMENT_OMEKA" | "DIFFUSION_DOCUMENT_DIGITAL_LIBRARY" | "DIFFUSION_DOCUMENT_LOCALE" | "CLOTURE_DOCUMENT",
	"linkIA": string,
	"urlArk": string,
	"collection": string,
	"nbPages": int32,
	"publicationDate": Date,
}

PageStatisticsDocUnitCountDTO

{
	"totalElements": int64,
	"totalPages": int32,
	"pageable": PageableObject,
	"first": boolean,
	"size": int32,
	"content": Array<StatisticsDocUnitCountDTO>,
	"number": int32,
	"sort": Array<SortObject>,
	"numberOfElements": int32,
	"last": boolean,
	"empty": boolean,
}

StatisticsDocUnitCountDTO

{
	"identifier": string,
	"pgcnId": string,
	"ia": boolean,
	"cines": boolean,
	"totalPage": int32,
	"totalLength": int64,
}

StatisticsDocUnitStatusRatioDTO

{
	"projectIdentifier": string,
	"projectName": string,
	"lotIdentifier": string,
	"lotLabel": string,
	"state": "INITIALISATION_DOCUMENT" | "GENERATION_BORDEREAU" | "VALIDATION_CONSTAT_ETAT" | "VALIDATION_BORDEREAU_CONSTAT_ETAT" | "CONSTAT_ETAT_AVANT_NUMERISATION" | "NUMERISATION_EN_ATTENTE" | "CONSTAT_ETAT_APRES_NUMERISATION" | "LIVRAISON_DOCUMENT_EN_COURS" | "RELIVRAISON_DOCUMENT_EN_COURS" | "CONTROLES_AUTOMATIQUES_EN_COURS" | "CONTROLE_QUALITE_EN_COURS" | "PREREJET_DOCUMENT" | "PREVALIDATION_DOCUMENT" | "VALIDATION_DOCUMENT" | "VALIDATION_NOTICES" | "RAPPORT_CONTROLES" | "ARCHIVAGE_DOCUMENT" | "DIFFUSION_DOCUMENT" | "DIFFUSION_DOCUMENT_OMEKA" | "DIFFUSION_DOCUMENT_DIGITAL_LIBRARY" | "DIFFUSION_DOCUMENT_LOCALE" | "CLOTURE_DOCUMENT",
	"nbDocOnState": int64,
	"nbDoc": int64,
}

StatisticsDocUnitAverageDTO

{
	"projectIdentifier": string,
	"projectName": string,
	"lotIdentifier": string,
	"lotLabel": string,
	"deliveryIdentifier": string,
	"deliveryLabel": string,
	"nbDocs": int32,
	"avgTotalPages": int32,
	"lengthDocs": int64,
	"rejectRatio": double,
	"avgDurControl": int64,
	"avgDurDelivery": int64,
	"avgDurWorkflow": int64,
}

StatisticsProviderDeliveryDTO

{
	"libraryIdentifier": string,
	"libraryName": string,
	"providerIdentifier": string,
	"providerLogin": string,
	"providerFullName": string,
	"nbLot": int64,
	"nbDelivery": int64,
	"delayFirstDelivery": int64,
	"delayNextDelivery": int64,
}

PageObject

{
	"totalElements": int64,
	"totalPages": int32,
	"pageable": PageableObject,
	"first": boolean,
	"size": int32,
	"content": Array<any>,
	"number": int32,
	"sort": Array<SortObject>,
	"numberOfElements": int32,
	"last": boolean,
	"empty": boolean,
}

DocPageDTO

{
	"identifier": string,
	"number": int32,
	"checkNotes": string,
	"digitalDocument": SimpleDigitalDocumentDTO,
	"errors": Array<PgcnError>,
}

SampleDTO

{
	"identifier": string,
	"samplingMode": string,
	"pages": UniqArray<DocPageDTO>,
	"documents": UniqArray<SimpleDigitalDocumentDTO>,
	"delivery": DeliveryDTO,
	"errors": Array<PgcnError>,
}

AuditProjectRevisionDTO

{
	"rev": int32,
	"timestamp": int64,
	"username": string,
	"identifier": string,
	"name": string,
	"status": "CREATED" | "ONGOING" | "PENDING" | "CANCELED" | "CLOSED",
}

PageSimpleProjectDTO

{
	"totalElements": int64,
	"totalPages": int32,
	"pageable": PageableObject,
	"first": boolean,
	"size": int32,
	"content": Array<SimpleProjectDTO>,
	"number": int32,
	"sort": Array<SortObject>,
	"numberOfElements": int32,
	"last": boolean,
	"empty": boolean,
}

ListPhysicalDocumentDTO

{
	"identifier": string,
	"name": string,
	"digitalId": string,
	"totalPage": int32,
	"status": "CREATED" | "SELECTED" | "GATHERED" | "STATE_CHECK_REALISED" | "IN_DIGITIZATION" | "TO_CHECK" | "TO_SHELVE" | "REINTEGRATED",
	"docUnit": SimpleDocUnitDTO,
	"reportDetailDim": string,
	"reportDetailInsurance": string,
	"reportDetailOperture": string,
	"errors": Array<PgcnError>,
}

PageSimpleOcrLangConfigDTO

{
	"totalElements": int64,
	"totalPages": int32,
	"pageable": PageableObject,
	"first": boolean,
	"size": int32,
	"content": Array<SimpleOcrLangConfigDTO>,
	"number": int32,
	"sort": Array<SortObject>,
	"numberOfElements": int32,
	"last": boolean,
	"empty": boolean,
}

DescriptionType

{
	"any": any,
}

IdentifyType

{
	"*repositoryName": string,
	"*baseURL": string,
	"*protocolVersion": string,
	"*adminEmail": Array<string>,
	"*earliestDatestamp": string,
	"*deletedRecord": "NO" | "PERSISTENT" | "TRANSIENT",
	"*granularity": "YYYY_MM_DD" | "YYYY_MM_DD_THH_MM_SS_Z",
	"compression": Array<string>,
	"description": Array<DescriptionType>,
}

PageMultiLotsDeliveryDTO

{
	"totalElements": int64,
	"totalPages": int32,
	"pageable": PageableObject,
	"first": boolean,
	"size": int32,
	"content": Array<MultiLotsDeliveryDTO>,
	"number": int32,
	"sort": Array<SortObject>,
	"numberOfElements": int32,
	"last": boolean,
	"empty": boolean,
}

PreDeliveryDTO

{
	"documents": UniqArray<PreDeliveryDocumentDTO>,
	"lockedDigitalDocuments": UniqArray<DigitalDocumentDTO>,
	"undeliveredDocuments": UniqArray<PhysicalDocumentDTO>,
	"errors": Array<PgcnError>,
}

MappingDTO

{
	"identifier": string,
	"joinExpression": string,
	"label": string,
	"library": SimpleLibraryDTO,
	"type": string,
}

AuditLotRevisionDTO

{
	"rev": int32,
	"timestamp": int64,
	"username": string,
	"identifier": string,
	"label": string,
	"status": "CREATED" | "ONGOING" | "PENDING" | "CANCELED" | "CLOSED",
}

LotListDTO

{
	"identifier": string,
	"label": string,
	"code": string,
	"type": string,
	"description": string,
	"active": boolean,
	"status": string,
	"condNotes": string,
	"numNotes": string,
	"requiredFormat": string,
	"deliveryDateForseen": DateTime,
	"requiredTypeCompression": string,
	"requiredTauxCompression": int32,
	"requiredResolution": string,
	"requiredColorspace": string,
	"projectIdentifier": string,
}

AbstractLibraryParameterValueDTO

{
	"identifier": string,
	"errors": Array<PgcnError>,
}

LibraryParameterDTO

{
	"identifier": string,
	"type": string,
	"library": SimpleLibraryDTO,
	"values": Array<AbstractLibraryParameterValueDTO>,
	"errors": Array<PgcnError>,
}

PageSimpleLibraryDTO

{
	"totalElements": int64,
	"totalPages": int32,
	"pageable": PageableObject,
	"first": boolean,
	"size": int32,
	"content": Array<SimpleLibraryDTO>,
	"number": int32,
	"sort": Array<SortObject>,
	"numberOfElements": int32,
	"last": boolean,
	"empty": boolean,
}

PageImportReport

{
	"totalElements": int64,
	"totalPages": int32,
	"pageable": PageableObject,
	"first": boolean,
	"size": int32,
	"content": Array<ImportReport>,
	"number": int32,
	"sort": Array<SortObject>,
	"numberOfElements": int32,
	"last": boolean,
	"empty": boolean,
}

PageImportedDocUnit

{
	"totalElements": int64,
	"totalPages": int32,
	"pageable": PageableObject,
	"first": boolean,
	"size": int32,
	"content": Array<ImportedDocUnit>,
	"number": int32,
	"sort": Array<SortObject>,
	"numberOfElements": int32,
	"last": boolean,
	"empty": boolean,
}

HelpPageDto

{
	"identifier": string,
	"title": string,
	"rank": int32,
	"module": string,
	"type": "PGCN" | "CUSTOM",
	"parent": string,
}

ModuleDto

{
	"name": string,
	"type": "PGCN" | "CUSTOM",
	"pages": Array<HelpPageDto>,
}

PageSimpleFTPConfigurationDTO

{
	"totalElements": int64,
	"totalPages": int32,
	"pageable": PageableObject,
	"first": boolean,
	"size": int32,
	"content": Array<SimpleFTPConfigurationDTO>,
	"number": int32,
	"sort": Array<SortObject>,
	"numberOfElements": int32,
	"last": boolean,
	"empty": boolean,
}

PageSimpleExportFTPConfDTO

{
	"totalElements": int64,
	"totalPages": int32,
	"pageable": PageableObject,
	"first": boolean,
	"size": int32,
	"content": Array<SimpleExportFTPConfDTO>,
	"number": int32,
	"sort": Array<SortObject>,
	"numberOfElements": int32,
	"last": boolean,
	"empty": boolean,
}

SimpleExportFTPConfDTO

{
	"identifier": string,
	"label": string,
	"errors": Array<PgcnError>,
}

AbstractDTO

{
	"errors": Array<PgcnError>,
}

PageSimpleDocUnitDTO

{
	"totalElements": int64,
	"totalPages": int32,
	"pageable": PageableObject,
	"first": boolean,
	"size": int32,
	"content": Array<SimpleDocUnitDTO>,
	"number": int32,
	"sort": Array<SortObject>,
	"numberOfElements": int32,
	"last": boolean,
	"empty": boolean,
}

PageSummaryDocUnitWithLotDTO

{
	"totalElements": int64,
	"totalPages": int32,
	"pageable": PageableObject,
	"first": boolean,
	"size": int32,
	"content": Array<SummaryDocUnitWithLotDTO>,
	"number": int32,
	"sort": Array<SortObject>,
	"numberOfElements": int32,
	"last": boolean,
	"empty": boolean,
}

SummaryDocUnitWithLotDTO

{
	"identifier": string,
	"library": LibraryDTO,
	"lot": SimpleLotDTO,
	"pgcnId": string,
	"label": string,
	"type": string,
	"archivable": boolean,
	"distributable": boolean,
	"errors": Array<PgcnError>,
}

SummaryDocUnitDTO

{
	"identifier": string,
	"pgcnId": string,
	"label": string,
	"type": string,
	"archivable": boolean,
	"distributable": boolean,
	"errors": Array<PgcnError>,
}

LightCondReportDetailDTO

{
	"identifier": string,
	"nbViewTotal": int32,
	"dim1": int32,
	"dim2": int32,
	"dim3": int32,
	"insurance": string,
}

LightDeliveredDigitalDocDTO

{
	"identifier": string,
	"digitalId": string,
	"deliveryId": string,
	"deliveryDate": DateTime,
	"deliveryStatus": "SAVED" | "DELIVERING" | "DELIVERED" | "TO_BE_CONTROLLED" | "VALIDATED" | "REJECTED" | "BACK_TO_PROVIDER" | "AUTOMATICALLY_REJECTED" | "DELIVERED_AGAIN" | "DELIVERING_ERROR" | "TREATED" | "CLOSED" | "CANCELED",
}

PageSimpleListDigitalDocumentDTO

{
	"totalElements": int64,
	"totalPages": int32,
	"pageable": PageableObject,
	"first": boolean,
	"size": int32,
	"content": Array<SimpleListDigitalDocumentDTO>,
	"number": int32,
	"sort": Array<SortObject>,
	"numberOfElements": int32,
	"last": boolean,
	"empty": boolean,
}

SimpleListDigitalDocumentDTO

{
	"identifier": string,
	"digitalId": string,
	"pgcnId": string,
	"label": string,
	"docUnit": SimpleDocUnitDTO,
	"project": SimpleProjectDTO,
	"lot": SimpleLotDTO,
	"status": "CREATING" | "DELIVERING" | "TO_CHECK" | "CHECKING" | "VALIDATED" | "PRE_REJECTED" | "REJECTED" | "WAITING_FOR_REPAIR" | "DELIVERING_ERROR" | "PRE_VALIDATED" | "CANCELED",
	"totalDelivery": int32,
	"deliveryDate": Date,
	"pageNumber": int32,
	"deliveries": Array<LightDeliveredDigitalDocDTO>,
	"reportDetail": LightCondReportDetailDTO,
	"reducedLabel": string,
	"errors": Array<PgcnError>,
}

AuditDeliveryRevisionDTO

{
	"rev": int32,
	"timestamp": int64,
	"username": string,
	"identifier": string,
	"label": string,
	"status": "SAVED" | "DELIVERING" | "DELIVERED" | "TO_BE_CONTROLLED" | "VALIDATED" | "REJECTED" | "BACK_TO_PROVIDER" | "AUTOMATICALLY_REJECTED" | "DELIVERED_AGAIN" | "DELIVERING_ERROR" | "TREATED" | "CLOSED" | "CANCELED",
	"lotIdentifier": string,
	"lotLabel": string,
}

PageSimpleDeliveryDTO

{
	"totalElements": int64,
	"totalPages": int32,
	"pageable": PageableObject,
	"first": boolean,
	"size": int32,
	"content": Array<SimpleDeliveryDTO>,
	"number": int32,
	"sort": Array<SortObject>,
	"numberOfElements": int32,
	"last": boolean,
	"empty": boolean,
}

SimpleDeliveryForViewerDTO

{
	"identifier": string,
	"label": string,
	"digitizingNotes": string,
	"lot": SimpleLotDTO,
}

CSVMappingDTO

{
	"identifier": string,
	"joinExpression": string,
	"label": string,
	"library": SimpleLibraryDTO,
}

SftpConfigurationDTO

{
	"identifier": string,
	"label": string,
	"username": string,
	"host": string,
	"port": int32,
	"targetDir": string,
	"library": SimpleLibraryDTO,
	"pacs": Array<CinesPACDTO>,
	"active": boolean,
}

PageSftpConfigurationDTO

{
	"totalElements": int64,
	"totalPages": int32,
	"pageable": PageableObject,
	"first": boolean,
	"size": int32,
	"content": Array<SftpConfigurationDTO>,
	"number": int32,
	"sort": Array<SortObject>,
	"numberOfElements": int32,
	"last": boolean,
	"empty": boolean,
}

PageOmekaConfigurationDTO

{
	"totalElements": int64,
	"totalPages": int32,
	"pageable": PageableObject,
	"first": boolean,
	"size": int32,
	"content": Array<OmekaConfigurationDTO>,
	"number": int32,
	"sort": Array<SortObject>,
	"numberOfElements": int32,
	"last": boolean,
	"empty": boolean,
}

MailboxConfigurationDTO

{
	"identifier": string,
	"label": string,
	"username": string,
	"host": string,
	"port": int32,
	"inbox": string,
	"library": SimpleLibraryDTO,
	"properties": UniqArray<Property>,
	"active": boolean,
}

InternetArchiveConfigurationDTO

{
	"identifier": string,
	"label": string,
	"accesKey": string,
	"library": SimpleLibraryDTO,
	"collections": Array<InternetArchiveCollectionDTO>,
	"active": boolean,
}

PageInternetArchiveConfigurationDTO

{
	"totalElements": int64,
	"totalPages": int32,
	"pageable": PageableObject,
	"first": boolean,
	"size": int32,
	"content": Array<InternetArchiveConfigurationDTO>,
	"number": int32,
	"sort": Array<SortObject>,
	"numberOfElements": int32,
	"last": boolean,
	"empty": boolean,
}

DigitalLibraryConfigurationDTO

{
	"identifier": string,
	"label": string,
	"library": Library,
	"active": boolean,
}

PageDigitalLibraryConfigurationDTO

{
	"totalElements": int64,
	"totalPages": int32,
	"pageable": PageableObject,
	"first": boolean,
	"size": int32,
	"content": Array<DigitalLibraryConfigurationDTO>,
	"number": int32,
	"sort": Array<SortObject>,
	"numberOfElements": int32,
	"last": boolean,
	"empty": boolean,
}

PageSimpleCheckConfigurationDTO

{
	"totalElements": int64,
	"totalPages": int32,
	"pageable": PageableObject,
	"first": boolean,
	"size": int32,
	"content": Array<SimpleCheckConfigurationDTO>,
	"number": int32,
	"sort": Array<SortObject>,
	"numberOfElements": int32,
	"last": boolean,
	"empty": boolean,
}

PageSimpleBibliographicRecordDTO

{
	"totalElements": int64,
	"totalPages": int32,
	"pageable": PageableObject,
	"first": boolean,
	"size": int32,
	"content": Array<SimpleBibliographicRecordDTO>,
	"number": int32,
	"sort": Array<SortObject>,
	"numberOfElements": int32,
	"last": boolean,
	"empty": boolean,
}

SimpleBibliographicRecordDTO

{
	"identifier": string,
	"title": string,
	"docUnit": SimpleDocUnitDTO,
}

PageSimpleListBibliographicRecordDTO

{
	"totalElements": int64,
	"totalPages": int32,
	"pageable": PageableObject,
	"first": boolean,
	"size": int32,
	"content": Array<SimpleListBibliographicRecordDTO>,
	"number": int32,
	"sort": Array<SortObject>,
	"numberOfElements": int32,
	"last": boolean,
	"empty": boolean,
}

SimpleListBibliographicRecordDTO

{
	"identifier": string,
	"title": string,
	"docUnit": SimpleDocUnitDTO,
	"project": SimpleProjectDTO,
	"lot": SimpleLotDTO,
	"train": SimpleTrainDTO,
	"errors": Array<PgcnError>,
}

AuthorizationDTO

{
	"identifier": string,
	"code": string,
	"label": string,
	"description": string,
	"module": string,
	"requirements": Array<string>,
	"dependencies": Array<string>,
}

AuditTrainRevisionDTO

{
	"rev": int32,
	"timestamp": int64,
	"username": string,
	"identifier": string,
	"label": string,
	"status": "CREATED" | "IN_PREPARATION" | "IN_DIGITIZATION" | "RECEIVING_PHYSICAL_DOCUMENTS" | "CANCELED" | "CLOSED",
}

AuditRevision

{
	"id": int32,
	"timestamp": int64,
	"username": string,
	"revisionDate": DateTime,
}

AuditDocUnitRevisionDTO

{
	"rev": int32,
	"timestamp": int64,
	"username": string,
	"identifier": string,
	"lotIdentifier": string,
	"lotLabel": string,
}

SimpleUserAccountDTO

{
	"identifier": string,
	"surname": string,
	"firstname": string,
	"login": string,
	"dashboard": string,
	"library": string,
	"category": string,
	"roles": Array<string>,
}

AbstractLibraryParameterValue

{
	"identifier": string,
	"version": int64,
	"parameter": LibraryParameter,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

LibraryParameter

{
	"identifier": string,
	"version": int64,
	"type": "CINES_EXPORT",
	"library": Library,
	"values": UniqArray<LibraryParameterValueCines>,
	"createdDate": DateTime,
	"lastModifiedDate": DateTime,
	"errors": Array<PgcnError>,
}

LibraryParameterValueCines

AbstractLibraryParameterValue
& {
		"type": "TITLE_DEFAULT_VALUE" | "CREATOR_DEFAULT_VALUE" | "SUBJECT_DEFAULT_VALUE" | "PUBLISHER_DEFAULT_VALUE" | "DESCRIPTION_DEFAULT_VALUE" | "TYPE_DEFAULT_VALUE" | "FORMAT_DEFAULT_VALUE" | "LANGUAGE_DEFAULT_VALUE" | "RIGHTS_DEFAULT_VALUE",
		"value": string,
}

Contribuing to numahop.

Developpement environement.

The easiest way to test developpements locally is to use the dockerised version.

The makefile makes management of the developpement loop rather easy. You can see the full list of rules provided by the Makefile by running make list. If you chose to use the docker you should run make setup-docker before running make build-docker.

You can see the NumaHOP logs with make app-logs.

Also the formating of both the front-end and backend is handled in the makefile with make fmt.

The lifecycle of the composition is manage with app-<action> and env-<action> rules. The actions provided by the makefile are:

  • up: Start all containers and start their services.
  • stop: Stop the services keeping the containers up.
  • down: Stop the containers.
  • clean: Same as down detaching the volumes allowing for their deletion.

The makefile also provides ways to manage the mounted volumes in the docker images. For example:

  • to reset the db you can run make reset-db.
  • to get a clean reinstall of Numahop make reset-all. Note the volumes can only be reset by unmouting them from the containers.