API Reference
Proteus Bridge exposes a REST interface to interact with the configured PACS nodes. All requests (except /healthz) must include the security token in the authorization header.
Authentication
All requests must include the Authorization header:
Authorization: Bearer <CONFIG_TOKEN>
Where <CONFIG_TOKEN> is the value defined in the global token field in config.yaml.
Study Search
/find/all/studies [POST]
Searches studies on all configured nodes in parallel.
- Body (JSON):
FindStudiesPayload(see below). - Response: Returns a combined list of all studies found.
/find/first/studies [POST]
Searches studies sequentially. Stops and returns results from the first node that finds matches.
- Purpose: Reduce PACS load when only a single match is needed.
Series Search
/find/all/series [POST]
Searches series on all configured nodes in parallel.
/find/first/series [POST]
Searches series sequentially, returning results from the first node with a successful response.
Link Generation
/viewer [POST]
Generates a dynamic link to the viewer or print (film) system.
- Body (JSON):
{
"iuids": ["1.2.3.4"],
"source": "SiteA",
"isMobile": false,
"duration": 15778800
} - Logic:
- If the study contains the KO (Key Object) modality, the node's
filmtemplate is used. - Otherwise, the
viewertemplate is used. - If the template contains
%token%, the bridge requests a temporary token from the PACS before returning the URL.
- If the study contains the KO (Key Object) modality, the node's
Utilities
/healthz [GET]
Public endpoint (no authentication) to check the bridge's status.
- Response:
{
"status": "ok",
"version": "0.1.2"
}
Data Structures (Payloads)
FindStudiesPayload
| Field | Type | Description |
|---|---|---|
studyIuid | array<string> | List of Study Instance UIDs. |
patName | string | Patient name. |
patId | string | Patient ID. |
accessionNo | string | Accession number. |
studyDate | string | Study date (YYYYMMDD). |
limit | number | Result limit per node. |
offset | number | Pagination offset. |
sort | object | { "by": "studyDate", "desc": true }. |