uniqc.gateway.api.archive module

Archive management API — /api/archive and /api/tasks/{id}/archive.

uniqc.gateway.api.archive.archive_task(task_id)[source]

Move a task from the active tasks table into the archive.

uniqc.gateway.api.archive.delete_archived(task_id)[source]

Permanently delete an archived task.

uniqc.gateway.api.archive.get_archived(task_id)[source]

Return full details of an archived task.

Credential-like fields in metadata/result are redacted.

uniqc.gateway.api.archive.list_archived(status=None, backend=None, limit=100, offset=0)[source]

List archived tasks.

uniqc.gateway.api.archive.restore_task(task_id)[source]

Restore an archived task back to the active task list.