Cheat sheet of the REST API¶
This quick reference of the REST API of Orthanc is automatically generated from the source code of Orthanc. Clicking on one of the HTTP methods will open its full OpenAPI documentation.
If you are looking for samples, check out the dedicated FAQ entry.
Path |
GET |
POST |
DELETE |
PUT |
Summary |
---|---|---|---|---|---|
|
List changes |
||||
|
List exports |
||||
|
List the available instances |
||||
|
Get information about some instance |
||||
|
Anonymize instance |
||||
|
List attachments |
||||
|
List operations on attachments |
||||
|
Compress attachment |
||||
|
Get attachment (no decompression) |
||||
|
Get MD5 of attachment on disk |
||||
|
Get size of attachment on disk |
||||
|
Get attachment |
||||
|
Get info about the attachment |
||||
|
Is attachment compressed? |
||||
|
Get MD5 of attachment |
||||
|
Get size of attachment |
||||
|
Uncompress attachment |
||||
|
Verify attachment |
||||
|
Get raw tag |
||||
|
Write DICOM onto filesystem |
||||
|
Download DICOM |
||||
|
List available frames |
||||
|
List operations |
||||
|
Decode a frame (int16) |
||||
|
Decode a frame (uint16) |
||||
|
Decode a frame (uint8) |
||||
|
Decode frame for Matlab |
||||
|
Decode frame for numpy |
||||
|
Decode a frame (preview) |
||||
|
Access raw frame |
||||
|
Access raw frame (compressed) |
||||
|
Render a frame |
||||
|
Get DICOM meta-header |
||||
|
Decode an image (int16) |
||||
|
Decode an image (uint16) |
||||
|
Decode an image (uint8) |
||||
|
List labels |
||||
|
Test label |
||||
|
Decode frame for Matlab |
||||
|
List metadata |
||||
|
Get metadata |
||||
|
Modify instance |
||||
|
Get instance module |
||||
|
Decode instance for numpy |
||||
|
Get parent patient |
||||
|
Get embedded PDF |
||||
|
Decode an image (preview) |
||||
|
Reconstruct tags & optionally files of instance |
||||
|
Render an image |
||||
|
Get parent series |
||||
|
Get human-readable tags |
||||
|
Get instance statistics |
||||
|
Get parent study |
||||
|
Get DICOM tags |
||||
|
List jobs |
||||
|
Get job |
||||
|
Cancel job |
||||
|
Pause job |
||||
|
Resubmit job |
||||
|
Resume job |
||||
|
Get job output |
||||
|
List DICOM modalities |
||||
|
List operations on modality |
||||
|
Get modality configuration |
||||
|
Trigger C-ECHO SCU |
||||
|
(deprecated) Hierarchical C-FIND SCU |
||||
|
(deprecated) C-FIND SCU for instances |
||||
|
(deprecated) C-FIND SCU for patients |
||||
|
(deprecated) C-FIND SCU for series |
||||
|
(deprecated) C-FIND SCU for studies |
||||
|
C-FIND SCU for worklist |
||||
|
Trigger C-MOVE SCU |
||||
|
Trigger C-FIND SCU |
||||
|
Trigger storage commitment request |
||||
|
Trigger C-STORE SCU |
||||
|
Straight C-STORE SCU |
||||
|
List the available patients |
||||
|
Get information about some patient |
||||
|
Anonymize patient |
||||
|
Create ZIP archive |
||||
|
List attachments |
||||
|
List operations on attachments |
||||
|
Compress attachment |
||||
|
Get attachment (no decompression) |
||||
|
Get MD5 of attachment on disk |
||||
|
Get size of attachment on disk |
||||
|
Get attachment |
||||
|
Get info about the attachment |
||||
|
Is attachment compressed? |
||||
|
Get MD5 of attachment |
||||
|
Get size of attachment |
||||
|
Uncompress attachment |
||||
|
Verify attachment |
||||
|
Get child instances |
||||
|
Get tags of instances |
||||
|
List labels |
||||
|
Test label |
||||
|
Create DICOMDIR media |
||||
|
List metadata |
||||
|
Get metadata |
||||
|
Modify patient |
||||
|
Get patient module |
||||
|
Is the patient protected against recycling? |
||||
|
Reconstruct tags & optionally files of patient |
||||
|
Get child series |
||||
|
Get shared tags |
||||
|
Get patient statistics |
||||
|
Get child studies |
||||
|
List Orthanc peers |
||||
|
List operations on peer |
||||
|
Get peer configuration |
||||
|
Send to Orthanc peer |
||||
|
Straight store to peer |
||||
|
Get peer system information |
||||
|
List plugins |
||||
|
JavaScript extensions to Orthanc Explorer |
||||
|
Get plugin |
||||
|
List query/retrieve operations |
||||
|
List operations on a query |
||||
|
List answers to a query |
||||
|
List operations on an answer |
||||
|
Get one answer |
||||
|
Query the child instances of an answer |
||||
|
Query the child series of an answer |
||||
|
Query the child studies of an answer |
||||
|
Retrieve one answer |
||||
|
Get level of original query |
||||
|
Get modality of original query |
||||
|
Get original query arguments |
||||
|
Retrieve all answers |
||||
|
List the available series |
||||
|
Get information about some series |
||||
|
Anonymize series |
||||
|
Create ZIP archive |
||||
|
List attachments |
||||
|
List operations on attachments |
||||
|
Compress attachment |
||||
|
Get attachment (no decompression) |
||||
|
Get MD5 of attachment on disk |
||||
|
Get size of attachment on disk |
||||
|
Get attachment |
||||
|
Get info about the attachment |
||||
|
Is attachment compressed? |
||||
|
Get MD5 of attachment |
||||
|
Get size of attachment |
||||
|
Uncompress attachment |
||||
|
Verify attachment |
||||
|
Get child instances |
||||
|
Get tags of instances |
||||
|
List labels |
||||
|
Test label |
||||
|
Create DICOMDIR media |
||||
|
List metadata |
||||
|
Get metadata |
||||
|
Modify series |
||||
|
Get series module |
||||
|
Decode series for numpy |
||||
|
(deprecated) Order the slices |
||||
|
Get parent patient |
||||
|
Reconstruct tags & optionally files of series |
||||
|
Get shared tags |
||||
|
Get series statistics |
||||
|
Get parent study |
||||
|
Get database statistics |
||||
|
Get storage commitment report |
||||
|
Remove after storage commitment |
||||
|
List the available studies |
||||
|
Get information about some study |
||||
|
Anonymize study |
||||
|
Create ZIP archive |
||||
|
List attachments |
||||
|
List operations on attachments |
||||
|
Compress attachment |
||||
|
Get attachment (no decompression) |
||||
|
Get MD5 of attachment on disk |
||||
|
Get size of attachment on disk |
||||
|
Get attachment |
||||
|
Get info about the attachment |
||||
|
Is attachment compressed? |
||||
|
Get MD5 of attachment |
||||
|
Get size of attachment |
||||
|
Uncompress attachment |
||||
|
Verify attachment |
||||
|
Get child instances |
||||
|
Get tags of instances |
||||
|
List labels |
||||
|
Test label |
||||
|
Create DICOMDIR media |
||||
|
Merge study |
||||
|
List metadata |
||||
|
Get metadata |
||||
|
Modify study |
||||
|
Get study module |
||||
|
Get patient module of study |
||||
|
Get parent patient |
||||
|
Reconstruct tags & optionally files of study |
||||
|
Get child series |
||||
|
Get shared tags |
||||
|
Split study |
||||
|
Get study statistics |
||||
|
Get system information |
||||
|
List operations |
||||
|
Get accepted transfer syntaxes |
||||
|
Anonymize a set of resources |
||||
|
Describe a set of resources |
||||
|
Delete a set of resources |
||||
|
Modify a set of resources |
||||
|
Create ZIP archive |
||||
|
Create one DICOM instance |
||||
|
Create DICOMDIR media |
||||
|
Create DICOMDIR media |
||||
|
Get default encoding |
||||
|
Get DICOM conformance |
||||
|
Trigger C-ECHO SCU |
||||
|
Execute Lua script |
||||
|
Look for local resources |
||||
|
Generate an identifier |
||||
|
Invalidate DICOM-as-JSON summaries |
||||
|
Get all the used labels |
||||
|
Get main log level |
||||
|
Get log level for dicom |
||||
|
Get log level for generic |
||||
|
Get log level for http |
||||
|
Get log level for jobs |
||||
|
Get log level for lua |
||||
|
Get log level for plugins |
||||
|
Get log level for sqlite |
||||
|
Look for DICOM identifiers |
||||
|
Are metrics collected? |
||||
|
Get usage metrics |
||||
|
Get UTC time |
||||
|
Get local time |
||||
|
Reconstruct all the index |
||||
|
Restart Orthanc |
||||
|
Shutdown Orthanc |
||||
|
Is unknown SOP class accepted? |
NB: Up to Orthanc 1.8.1, this cheat sheet was manually published as an online spreadsheet. This spreadsheet is still available online for history purpose, but is now left unmaintained.