Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
GET - /data/prearchive/projects/{project-id}/{timestamp}/{session}/scans/{scan-ID}/resources/{resource}/files/{filename}


Set Project Prearchive Settings

Code Block
PUT - /data/projects/{project-id}/prearchive_code/{prearchive-code}

Parameters

project-idRequired body parameter. Specify the project ID of the project to set
prearchive-code

Use one of the following three single-digit options:

  • "0": All uploaded image data will be placed into the prearchive. Users will have to manually transfer sessions into the permanent archive
  • "4": All uploaded image data will be auto-archived. If a session with the same label already exists, new files will NOT overwrite old ones
  • "5": All uploaded image data will be auto-archived. If a session with the same label already exists, new files WILL overwrite old ones


Check Project Prearchive Settings

Code Block
GET - /data/projects/{project-id}/prearchive_code