Skip to content

List Documents

Objects used

Allowed roles

Permissions depend on the document type. The document type configuration defines which roles are authorized to list documents of that type. Documents of types the requesting user is not allowed to see are excluded from the results.

Description

Returns document metadata for a given list of document IDs. The document module has no knowledge of who owns those IDs — the calling module provides the IDs it has stored in its own record and receives the corresponding documents back.

No entity scope in the document module

There is no "list documents of participant X" endpoint in the document module. The calling module must supply the document IDs it already holds. Scoping by entity is the caller's responsibility.

Pagination

Results are paginated. Refer to pagination for details.

Filters

Document type

PropertyValue
Typearray (of enum)
Strictnessstrict
Requiredno
Eligible for searchtype

Status

PropertyValue
Typearray (of enum)
Strictnessstrict
Requiredno
Eligible for searchstatus

Default status filter

By default, only CLEAN documents are returned. Pass an explicit status filter to include PENDING, INFECTED, or REJECTED documents (requires elevated role).

PropertyValue
Typetext
Strictnessnon-strict
Requiredno
Eligible for searchname

Workflow

INFO

Access to the project or organization scope is automatically gated by the authentication profile check.