Orthanc API
This is the full documentation of the of Orthanc.
This reference is automatically generated from the source code of Orthanc. A is part of the Orthanc Book.
An earlier, manually crafted version from August 2019, is still available [blocked], but is not up-to-date anymore ().
- Homepage
- https://api.apis.guru/v2/specs/orthanc-server.com/1.11.3.json
- Provider
- orthanc-server.com
- OpenAPI version
- 3.0.0
- Spec (JSON)
- https://api.apis.guru/v2/specs/orthanc-server.com/1.11.3/openapi.json
- Spec (YAML)
- https://api.apis.guru/v2/specs/orthanc-server.com/1.11.3/openapi.yaml
Tools (276)
Extracted live via the executor SDK.
-
instances.deleteInstancesIdDelete the DICOM instance whose Orthanc identifier is provided in the URL
-
instances.deleteInstancesIdAttachmentsNameDelete an attachment associated with the given DICOM instance. This call will fail if trying to delete a system attachment (i.e. whose index is < 1024).
-
instances.deleteInstancesIdMetadataNameDelete some metadata associated with the given DICOM instance. This call will fail if trying to delete a system metadata (i.e. whose index is < 1024).
-
instances.getInstancesList the Orthanc identifiers of all the available DICOM instances
-
instances.getInstancesIdGet detailed information about the DICOM instance whose Orthanc identifier is provided in the URL
-
instances.getInstancesIdAttachmentsGet the list of attachments that are associated with the given instance
-
instances.getInstancesIdAttachmentsNameCompressedDataGet the (binary) content of one attachment associated with the given instance. The attachment will not be decompressed if
StorageCompressionistrue. -
instances.getInstancesIdAttachmentsNameCompressedMd5Get the MD5 hash of one attachment associated with the given instance, as stored on the disk. This is different from
.../md5iffEnableStorageistrue. -
instances.getInstancesIdAttachmentsNameCompressedSizeGet the size of one attachment associated with the given instance, as stored on the disk. This is different from
.../sizeiffEnableStorageistrue. -
instances.getInstancesIdAttachmentsNameDataGet the (binary) content of one attachment associated with the given instance
-
instances.getInstancesIdAttachmentsNameInfoGet all the information about the attachment associated with the given instance
-
instances.getInstancesIdAttachmentsNameIsCompressedTest whether the attachment has been stored as a compressed file on the disk.
-
instances.getInstancesIdAttachmentsNameMd5Get the MD5 hash of one attachment associated with the given instance
-
instances.getInstancesIdAttachmentsNameSizeGet the size of one attachment associated with the given instance
-
instances.getInstancesIdContentGet the raw content of one DICOM tag in the hierarchy of DICOM dataset
-
instances.getInstancesIdFileDownload one DICOM instance
-
instances.getInstancesIdFramesList the frames that are available in the DICOM instance of interest
-
instances.getInstancesIdFramesFrameImageInt16Decode one frame of interest from the given DICOM instance. Pixels of grayscale images are truncated to the [-32768,32767] range. Negative values must be interpreted according to two's complement.
-
instances.getInstancesIdFramesFrameImageUint16Decode one frame of interest from the given DICOM instance. Pixels of grayscale images are truncated to the [0,65535] range.
-
instances.getInstancesIdFramesFrameImageUint8Decode one frame of interest from the given DICOM instance. Pixels of grayscale images are truncated to the [0,255] range.
-
instances.getInstancesIdFramesFrameMatlabDecode one frame of interest from the given DICOM instance, and export this frame as a Octave/Matlab matrix to be imported with
eval(): -
instances.getInstancesIdFramesFrameNumpyDecode one frame of interest from the given DICOM instance, for use with numpy in Python. The numpy array has 3 dimensions: (height, width, color channel).
-
instances.getInstancesIdFramesFramePreviewDecode one frame of interest from the given DICOM instance. The full dynamic range of grayscale images is rescaled to the [0,255] range.
-
instances.getInstancesIdFramesFrameRawAccess the raw content of one individual frame of the DICOM instance of interest, bypassing image decoding. This is notably useful to access the source files in compressed transfer syntaxes.
-
instances.getInstancesIdFramesFrameRawGzAccess the raw content of one individual frame of the DICOM instance of interest, bypassing image decoding. This is notably useful to access the source files in compressed transfer syntaxes. The image is compressed using gzip
-
instances.getInstancesIdFramesFrameRenderedRender one frame of interest from the given DICOM instance. This function takes scaling into account (
RescaleSlopeandRescaleIntercepttags), as well as the default windowing stored in the DICOM file (WindowCenterandWindowWidthtags), and can be used to resize the resulting image. Color images are not affected by windowing. -
instances.getInstancesIdHeaderGet the DICOM tags in the meta-header of the DICOM instance. By default, the
fullformat is used, which combines hexadecimal tags with human-readable description. -
instances.getInstancesIdImageInt16Decode the first frame of the given DICOM instance. Pixels of grayscale images are truncated to the [-32768,32767] range. Negative values must be interpreted according to two's complement.
-
instances.getInstancesIdImageUint16Decode the first frame of the given DICOM instance. Pixels of grayscale images are truncated to the [0,65535] range.
-
instances.getInstancesIdImageUint8Decode the first frame of the given DICOM instance. Pixels of grayscale images are truncated to the [0,255] range.
-
instances.getInstancesIdMatlabDecode the first frame of the given DICOM instance., and export this frame as a Octave/Matlab matrix to be imported with
eval(): -
instances.getInstancesIdMetadataGet the list of metadata that are associated with the given instance
-
instances.getInstancesIdMetadataNameGet the value of a metadata that is associated with the given instance
-
instances.getInstancesIdModuleGet the instance module of the DICOM instance whose Orthanc identifier is provided in the URL
-
instances.getInstancesIdNumpyDecode the given DICOM instance, for use with numpy in Python. The numpy array has 4 dimensions: (frame, height, width, color channel).
-
instances.getInstancesIdPatientGet detailed information about the parent patient of the DICOM instance whose Orthanc identifier is provided in the URL
-
instances.getInstancesIdPdfGet the PDF file that is embedded in one DICOM instance. If the DICOM instance doesn't contain the
EncapsulatedDocumenttag or if theMIMETypeOfEncapsulatedDocumenttag doesn't correspond to the PDF type, a404HTTP error is raised. -
instances.getInstancesIdPreviewDecode the first frame of the given DICOM instance. The full dynamic range of grayscale images is rescaled to the [0,255] range.
-
instances.getInstancesIdRenderedRender the first frame of the given DICOM instance. This function takes scaling into account (
RescaleSlopeandRescaleIntercepttags), as well as the default windowing stored in the DICOM file (WindowCenterandWindowWidthtags), and can be used to resize the resulting image. Color images are not affected by windowing. -
instances.getInstancesIdSeriesGet detailed information about the parent series of the DICOM instance whose Orthanc identifier is provided in the URL
-
instances.getInstancesIdSimplifiedTagsGet the DICOM tags in human-readable format (same as the
/instances/{id}/tags?simplifyroute) -
instances.getInstancesIdStatisticsGet statistics about the given instance
-
instances.getInstancesIdStudyGet detailed information about the parent study of the DICOM instance whose Orthanc identifier is provided in the URL
-
instances.getInstancesIdTagsGet the DICOM tags in the specified format. By default, the
fullformat is used, which combines hexadecimal tags with human-readable description. -
instances.postInstancesUpload DICOM instances
-
instances.postInstancesIdAnonymizeDownload an anonymized version of the DICOM instance whose Orthanc identifier is provided in the URL:
-
instances.postInstancesIdAttachmentsNameCompressChange the compression scheme that is used to store an attachment.
-
instances.postInstancesIdAttachmentsNameUncompressChange the compression scheme that is used to store an attachment.
-
instances.postInstancesIdAttachmentsNameVerifyMd5Verify that the attachment is not corrupted, by validating its MD5 hash
-
instances.postInstancesIdExportWrite the DICOM file onto the filesystem where Orthanc is running
-
instances.postInstancesIdModifyDownload a modified version of the DICOM instance whose Orthanc identifier is provided in the URL:
-
instances.postInstancesIdReconstructReconstruct the main DICOM tags in DB of the instance whose Orthanc identifier is provided in the URL. This is useful if child studies/series/instances have inconsistent values for higher-level tags, in order to force Orthanc to use the value from the resource of interest. Beware that this is a time-consuming operation, as all the children DICOM instances will be parsed again, and the Orthanc index will be updated accordingly.
-
instances.putInstancesIdAttachmentsNameAttach a file to the given DICOM instance. This call will fail if trying to modify a system attachment (i.e. whose index is < 1024).
-
instances.putInstancesIdMetadataNameSet the value of some metadata in the given DICOM instance. This call will fail if trying to modify a system metadata (i.e. whose index is < 1024).
-
jobs.getJobsList all the available jobs
-
jobs.getJobsIdRetrieve detailed information about the job whose identifier is provided in the URL:
-
jobs.getJobsIdKeyRetrieve some output produced by a job. As of Orthanc 1.8.2, only the jobs that generate a DICOMDIR media or a ZIP archive provide such an output (with
keyequals toarchive). -
jobs.postJobsIdCancelCancel the job whose identifier is provided in the URL. Check out the Orthanc Book for more information about the state machine applicable to jobs:
-
jobs.postJobsIdPausePause the job whose identifier is provided in the URL. Check out the Orthanc Book for more information about the state machine applicable to jobs:
-
jobs.postJobsIdResubmitResubmit the job whose identifier is provided in the URL. Check out the Orthanc Book for more information about the state machine applicable to jobs:
-
jobs.postJobsIdResumeResume the job whose identifier is provided in the URL. Check out the Orthanc Book for more information about the state machine applicable to jobs:
-
logs.getToolsLogLevelGet the main log level of Orthanc
-
logs.getToolsLogLevelDicomGet the log level of the log category
dicom -
logs.getToolsLogLevelGenericGet the log level of the log category
generic -
logs.getToolsLogLevelHttpGet the log level of the log category
http -
logs.getToolsLogLevelJobsGet the log level of the log category
jobs -
logs.getToolsLogLevelLuaGet the log level of the log category
lua -
logs.getToolsLogLevelPluginsGet the log level of the log category
plugins -
logs.getToolsLogLevelSqliteGet the log level of the log category
sqlite -
logs.putToolsLogLevelSet the main log level of Orthanc
-
logs.putToolsLogLevelDicomSet the log level of the log category
dicom -
logs.putToolsLogLevelGenericSet the log level of the log category
generic -
logs.putToolsLogLevelHttpSet the log level of the log category
http -
logs.putToolsLogLevelJobsSet the log level of the log category
jobs -
logs.putToolsLogLevelLuaSet the log level of the log category
lua -
logs.putToolsLogLevelPluginsSet the log level of the log category
plugins -
logs.putToolsLogLevelSqliteSet the log level of the log category
sqlite -
networking.deleteModalitiesIdDelete one DICOM modality. This change is permanent iff.
DicomModalitiesInDatabaseistrue, otherwise it is lost at the next restart of Orthanc. -
networking.deletePeersIdDelete one Orthanc peer. This change is permanent iff.
OrthancPeersInDatabaseistrue, otherwise it is lost at the next restart of Orthanc. -
networking.deleteQueriesIdDelete the query/retrieve operation whose identifier is provided in the URL
-
networking.getModalitiesList all the DICOM modalities that are known to Orthanc. This corresponds either to the content of the
DicomModalitiesconfiguration option, or to the information stored in the database ifDicomModalitiesInDatabaseistrue. -
networking.getModalitiesIdList the operations that are available for a DICOM modality.
-
networking.getModalitiesIdConfigurationGet detailed information about the configuration of some DICOM modality
-
networking.getPeersList all the Orthanc peers that are known to Orthanc. This corresponds either to the content of the
OrthancPeersconfiguration option, or to the information stored in the database ifOrthancPeersInDatabaseistrue. -
networking.getPeersIdList the operations that are available for an Orthanc peer.
-
networking.getPeersIdConfigurationGet detailed information about the configuration of some Orthanc peer
-
networking.getPeersIdSystemGet system information about some Orthanc peer. This corresponds to doing a
GETrequest against the/systemURI of the remote peer. This route can be used to test connectivity. -
networking.getQueriesList the identifiers of all the query/retrieve operations on DICOM modalities, as initiated by calls to
/modalities/{id}/query. The length of this list is bounded by theQueryRetrieveSizeconfiguration option of Orthanc. -
networking.getQueriesIdList the available operations for the query/retrieve operation whose identifier is provided in the URL
-
networking.getQueriesIdAnswersList the indices of all the available answers resulting from a query/retrieve operation on some DICOM modality, whose identifier is provided in the URL
-
networking.getQueriesIdAnswersIndexList the available operations on an answer associated with the query/retrieve operation whose identifier is provided in the URL
-
networking.getQueriesIdAnswersIndexContentGet the content (DICOM tags) of one answer associated with the query/retrieve operation whose identifier is provided in the URL
-
networking.getQueriesIdLevelGet the query level (value of the
QueryRetrieveLeveltag) of the query/retrieve operation whose identifier is provided in the URL -
networking.getQueriesIdModalityGet the identifier of the DICOM modality that was targeted by the query/retrieve operation whose identifier is provided in the URL
-
networking.getQueriesIdQueryGet the original DICOM filter associated with the query/retrieve operation whose identifier is provided in the URL
-
networking.getStorageCommitmentIdGet the storage commitment report whose identifier is provided in the URL:
-
networking.postModalitiesIdEchoTrigger C-ECHO SCU command against the DICOM modality whose identifier is provided in URL:
-
networking.postModalitiesIdFindTrigger a sequence of C-FIND SCU commands against the DICOM modality whose identifier is provided in URL, in order to discover a hierarchy of matching patients/studies/series. Deprecated in favor of
/modalities/{id}/query. -
networking.postModalitiesIdFindInstanceTrigger C-FIND SCU command against the DICOM modality whose identifier is provided in URL, in order to find an instance. Deprecated in favor of
/modalities/{id}/query. -
networking.postModalitiesIdFindPatientTrigger C-FIND SCU command against the DICOM modality whose identifier is provided in URL, in order to find a patient. Deprecated in favor of
/modalities/{id}/query. -
networking.postModalitiesIdFindSeriesTrigger C-FIND SCU command against the DICOM modality whose identifier is provided in URL, in order to find a series. Deprecated in favor of
/modalities/{id}/query. -
networking.postModalitiesIdFindStudyTrigger C-FIND SCU command against the DICOM modality whose identifier is provided in URL, in order to find a study. Deprecated in favor of
/modalities/{id}/query. -
networking.postModalitiesIdFindWorklistTrigger C-FIND SCU command against the remote worklists of the DICOM modality whose identifier is provided in URL
-
networking.postModalitiesIdMoveStart a C-MOVE SCU command as a job, in order to drive the execution of a sequence of C-STORE commands by some remote DICOM modality whose identifier is provided in the URL:
-
networking.postModalitiesIdQueryTrigger C-FIND SCU command against the DICOM modality whose identifier is provided in URL:
-
networking.postModalitiesIdStorageCommitmentTrigger a storage commitment request to some remote DICOM modality whose identifier is provided in the URL:
-
networking.postModalitiesIdStoreStart a C-STORE SCU command as a job, in order to send DICOM resources stored locally to some remote DICOM modality whose identifier is provided in the URL:
-
networking.postModalitiesIdStoreStraightSynchronously send the DICOM instance in the POST body to the remote DICOM modality whose identifier is provided in URL, without having to first store it locally within Orthanc. This is an alternative to command-line tools such as
storescufrom DCMTK or dcm4che. -
networking.postPeersIdStoreSend DICOM resources stored locally to some remote Orthanc peer whose identifier is provided in the URL:
-
networking.postPeersIdStoreStraightSynchronously send the DICOM instance in the POST body to the Orthanc peer whose identifier is provided in URL, without having to first store it locally within Orthanc. This is an alternative to command-line tools such as
curl. -
networking.postQueriesIdAnswersIndexQueryInstancesIssue a second DICOM C-FIND operation, in order to query the child instances associated with one answer to some query/retrieve operation whose identifiers are provided in the URL
-
networking.postQueriesIdAnswersIndexQuerySeriesIssue a second DICOM C-FIND operation, in order to query the child series associated with one answer to some query/retrieve operation whose identifiers are provided in the URL
-
networking.postQueriesIdAnswersIndexQueryStudiesIssue a second DICOM C-FIND operation, in order to query the child studies associated with one answer to some query/retrieve operation whose identifiers are provided in the URL
-
networking.postQueriesIdAnswersIndexRetrieveStart a C-MOVE SCU command as a job, in order to retrieve one answer associated with the query/retrieve operation whose identifiers are provided in the URL:
-
networking.postQueriesIdRetrieveStart a C-MOVE SCU command as a job, in order to retrieve all the answers associated with the query/retrieve operation whose identifier is provided in the URL:
-
networking.postStorageCommitmentIdRemoveRemove out of Orthanc, the DICOM instances that have been reported to have been properly received the storage commitment report whose identifier is provided in the URL. This is only possible if the
Statusof the storage commitment report isSuccess. -
networking.putModalitiesIdDefine a new DICOM modality, or update an existing one. This change is permanent iff.
DicomModalitiesInDatabaseistrue, otherwise it is lost at the next restart of Orthanc. -
networking.putPeersIdDefine a new Orthanc peer, or update an existing one. This change is permanent iff.
OrthancPeersInDatabaseistrue, otherwise it is lost at the next restart of Orthanc. -
other.getInstancesIdAttachmentsNameGet the list of the operations that are available for attachments associated with the given instance
-
other.getInstancesIdFramesFrameList the available operations under URI
/instances/{id}/frames/{frame}/ -
other.getPatientsIdAttachmentsNameGet the list of the operations that are available for attachments associated with the given patient
-
other.getSeriesIdAttachmentsNameGet the list of the operations that are available for attachments associated with the given series
-
other.getStudiesIdAttachmentsNameGet the list of the operations that are available for attachments associated with the given study
-
other.getToolsList the available operations under URI
/tools/ -
patients.deletePatientsIdDelete the DICOM patient whose Orthanc identifier is provided in the URL
-
patients.deletePatientsIdAttachmentsNameDelete an attachment associated with the given DICOM patient. This call will fail if trying to delete a system attachment (i.e. whose index is < 1024).
-
patients.deletePatientsIdMetadataNameDelete some metadata associated with the given DICOM patient. This call will fail if trying to delete a system metadata (i.e. whose index is < 1024).
-
patients.getPatientsList the Orthanc identifiers of all the available DICOM patients
-
patients.getPatientsIdGet detailed information about the DICOM patient whose Orthanc identifier is provided in the URL
-
patients.getPatientsIdArchiveSynchronously create a ZIP archive containing the DICOM patient whose Orthanc identifier is provided in the URL. This flavor is synchronous, which might not be desirable to archive large amount of data, as it might lead to network timeouts. Prefer the asynchronous version using
POSTmethod. -
patients.getPatientsIdAttachmentsGet the list of attachments that are associated with the given patient
-
patients.getPatientsIdAttachmentsNameCompressedDataGet the (binary) content of one attachment associated with the given patient. The attachment will not be decompressed if
StorageCompressionistrue. -
patients.getPatientsIdAttachmentsNameCompressedMd5Get the MD5 hash of one attachment associated with the given patient, as stored on the disk. This is different from
.../md5iffEnableStorageistrue. -
patients.getPatientsIdAttachmentsNameCompressedSizeGet the size of one attachment associated with the given patient, as stored on the disk. This is different from
.../sizeiffEnableStorageistrue. -
patients.getPatientsIdAttachmentsNameDataGet the (binary) content of one attachment associated with the given patient
-
patients.getPatientsIdAttachmentsNameInfoGet all the information about the attachment associated with the given patient
-
patients.getPatientsIdAttachmentsNameIsCompressedTest whether the attachment has been stored as a compressed file on the disk.
-
patients.getPatientsIdAttachmentsNameMd5Get the MD5 hash of one attachment associated with the given patient
-
patients.getPatientsIdAttachmentsNameSizeGet the size of one attachment associated with the given patient
-
patients.getPatientsIdInstancesGet detailed information about the child instances of the DICOM patient whose Orthanc identifier is provided in the URL
-
patients.getPatientsIdInstancesTagsGet the tags of all the child instances of the DICOM patient whose Orthanc identifier is provided in the URL
-
patients.getPatientsIdMediaSynchronously create a DICOMDIR media containing the DICOM patient whose Orthanc identifier is provided in the URL. This flavor is synchronous, which might not be desirable to archive large amount of data, as it might lead to network timeouts. Prefer the asynchronous version using
POSTmethod. -
patients.getPatientsIdMetadataGet the list of metadata that are associated with the given patient
-
patients.getPatientsIdMetadataNameGet the value of a metadata that is associated with the given patient
-
patients.getPatientsIdModuleGet the patient module of the DICOM patient whose Orthanc identifier is provided in the URL
-
patients.getPatientsIdProtectedIs the patient protected against recycling?
-
patients.getPatientsIdSeriesGet detailed information about the child series of the DICOM patient whose Orthanc identifier is provided in the URL
-
patients.getPatientsIdSharedTagsExtract the DICOM tags whose value is constant across all the child instances of the DICOM patient whose Orthanc identifier is provided in the URL
-
patients.getPatientsIdStatisticsGet statistics about the given patient
-
patients.getPatientsIdStudiesGet detailed information about the child studies of the DICOM patient whose Orthanc identifier is provided in the URL
-
patients.postPatientsIdAnonymizeStart a job that will anonymize all the DICOM instances within the patient whose identifier is provided in the URL. The modified DICOM instances will be stored into a brand new patient, whose Orthanc identifiers will be returned by the job.
-
patients.postPatientsIdArchiveCreate a ZIP archive containing the DICOM patient whose Orthanc identifier is provided in the URL
-
patients.postPatientsIdAttachmentsNameCompressChange the compression scheme that is used to store an attachment.
-
patients.postPatientsIdAttachmentsNameUncompressChange the compression scheme that is used to store an attachment.
-
patients.postPatientsIdAttachmentsNameVerifyMd5Verify that the attachment is not corrupted, by validating its MD5 hash
-
patients.postPatientsIdMediaCreate a DICOMDIR media containing the DICOM patient whose Orthanc identifier is provided in the URL
-
patients.postPatientsIdModifyStart a job that will modify all the DICOM instances within the patient whose identifier is provided in the URL. The modified DICOM instances will be stored into a brand new patient, whose Orthanc identifiers will be returned by the job.
-
patients.postPatientsIdReconstructReconstruct the main DICOM tags in DB of the patient whose Orthanc identifier is provided in the URL. This is useful if child studies/series/instances have inconsistent values for higher-level tags, in order to force Orthanc to use the value from the resource of interest. Beware that this is a time-consuming operation, as all the children DICOM instances will be parsed again, and the Orthanc index will be updated accordingly.
-
patients.putPatientsIdAttachmentsNameAttach a file to the given DICOM patient. This call will fail if trying to modify a system attachment (i.e. whose index is < 1024).
-
patients.putPatientsIdMetadataNameSet the value of some metadata in the given DICOM patient. This call will fail if trying to modify a system metadata (i.e. whose index is < 1024).
-
patients.putPatientsIdProtectedCheck out configuration options
MaximumStorageSizeandMaximumPatientCount -
series.deleteSeriesIdDelete the DICOM series whose Orthanc identifier is provided in the URL
-
series.deleteSeriesIdAttachmentsNameDelete an attachment associated with the given DICOM series. This call will fail if trying to delete a system attachment (i.e. whose index is < 1024).
-
series.deleteSeriesIdMetadataNameDelete some metadata associated with the given DICOM series. This call will fail if trying to delete a system metadata (i.e. whose index is < 1024).
-
series.getSeriesList the Orthanc identifiers of all the available DICOM series
-
series.getSeriesIdGet detailed information about the DICOM series whose Orthanc identifier is provided in the URL
-
series.getSeriesIdArchiveSynchronously create a ZIP archive containing the DICOM series whose Orthanc identifier is provided in the URL. This flavor is synchronous, which might not be desirable to archive large amount of data, as it might lead to network timeouts. Prefer the asynchronous version using
POSTmethod. -
series.getSeriesIdAttachmentsGet the list of attachments that are associated with the given series
-
series.getSeriesIdAttachmentsNameCompressedDataGet the (binary) content of one attachment associated with the given series. The attachment will not be decompressed if
StorageCompressionistrue. -
series.getSeriesIdAttachmentsNameCompressedMd5Get the MD5 hash of one attachment associated with the given series, as stored on the disk. This is different from
.../md5iffEnableStorageistrue. -
series.getSeriesIdAttachmentsNameCompressedSizeGet the size of one attachment associated with the given series, as stored on the disk. This is different from
.../sizeiffEnableStorageistrue. -
series.getSeriesIdAttachmentsNameDataGet the (binary) content of one attachment associated with the given series
-
series.getSeriesIdAttachmentsNameInfoGet all the information about the attachment associated with the given series
-
series.getSeriesIdAttachmentsNameIsCompressedTest whether the attachment has been stored as a compressed file on the disk.
-
series.getSeriesIdAttachmentsNameMd5Get the MD5 hash of one attachment associated with the given series
-
series.getSeriesIdAttachmentsNameSizeGet the size of one attachment associated with the given series
-
series.getSeriesIdInstancesGet detailed information about the child instances of the DICOM series whose Orthanc identifier is provided in the URL
-
series.getSeriesIdInstancesTagsGet the tags of all the child instances of the DICOM series whose Orthanc identifier is provided in the URL
-
series.getSeriesIdMediaSynchronously create a DICOMDIR media containing the DICOM series whose Orthanc identifier is provided in the URL. This flavor is synchronous, which might not be desirable to archive large amount of data, as it might lead to network timeouts. Prefer the asynchronous version using
POSTmethod. -
series.getSeriesIdMetadataGet the list of metadata that are associated with the given series
-
series.getSeriesIdMetadataNameGet the value of a metadata that is associated with the given series
-
series.getSeriesIdModuleGet the series module of the DICOM series whose Orthanc identifier is provided in the URL
-
series.getSeriesIdNumpyDecode the given DICOM series, for use with numpy in Python. The numpy array has 4 dimensions: (frame, height, width, color channel).
-
series.getSeriesIdOrderedSlicesSort the instances and frames (slices) of the DICOM series whose Orthanc identifier is provided in the URL. This URI is essentially used by the Orthanc Web viewer and by the Osimis Web viewer.
-
series.getSeriesIdPatientGet detailed information about the parent patient of the DICOM series whose Orthanc identifier is provided in the URL
-
series.getSeriesIdSharedTagsExtract the DICOM tags whose value is constant across all the child instances of the DICOM series whose Orthanc identifier is provided in the URL
-
series.getSeriesIdStatisticsGet statistics about the given series
-
series.getSeriesIdStudyGet detailed information about the parent study of the DICOM series whose Orthanc identifier is provided in the URL
-
series.postSeriesIdAnonymizeStart a job that will anonymize all the DICOM instances within the series whose identifier is provided in the URL. The modified DICOM instances will be stored into a brand new series, whose Orthanc identifiers will be returned by the job.
-
series.postSeriesIdArchiveCreate a ZIP archive containing the DICOM series whose Orthanc identifier is provided in the URL
-
series.postSeriesIdAttachmentsNameCompressChange the compression scheme that is used to store an attachment.
-
series.postSeriesIdAttachmentsNameUncompressChange the compression scheme that is used to store an attachment.
-
series.postSeriesIdAttachmentsNameVerifyMd5Verify that the attachment is not corrupted, by validating its MD5 hash
-
series.postSeriesIdMediaCreate a DICOMDIR media containing the DICOM series whose Orthanc identifier is provided in the URL
-
series.postSeriesIdModifyStart a job that will modify all the DICOM instances within the series whose identifier is provided in the URL. The modified DICOM instances will be stored into a brand new series, whose Orthanc identifiers will be returned by the job.
-
series.postSeriesIdReconstructReconstruct the main DICOM tags in DB of the series whose Orthanc identifier is provided in the URL. This is useful if child studies/series/instances have inconsistent values for higher-level tags, in order to force Orthanc to use the value from the resource of interest. Beware that this is a time-consuming operation, as all the children DICOM instances will be parsed again, and the Orthanc index will be updated accordingly.
-
series.putSeriesIdAttachmentsNameAttach a file to the given DICOM series. This call will fail if trying to modify a system attachment (i.e. whose index is < 1024).
-
series.putSeriesIdMetadataNameSet the value of some metadata in the given DICOM series. This call will fail if trying to modify a system metadata (i.e. whose index is < 1024).
-
studies.deleteStudiesIdDelete the DICOM study whose Orthanc identifier is provided in the URL
-
studies.deleteStudiesIdAttachmentsNameDelete an attachment associated with the given DICOM study. This call will fail if trying to delete a system attachment (i.e. whose index is < 1024).
-
studies.deleteStudiesIdMetadataNameDelete some metadata associated with the given DICOM study. This call will fail if trying to delete a system metadata (i.e. whose index is < 1024).
-
studies.getStudiesList the Orthanc identifiers of all the available DICOM studies
-
studies.getStudiesIdGet detailed information about the DICOM study whose Orthanc identifier is provided in the URL
-
studies.getStudiesIdArchiveSynchronously create a ZIP archive containing the DICOM study whose Orthanc identifier is provided in the URL. This flavor is synchronous, which might not be desirable to archive large amount of data, as it might lead to network timeouts. Prefer the asynchronous version using
POSTmethod. -
studies.getStudiesIdAttachmentsGet the list of attachments that are associated with the given study
-
studies.getStudiesIdAttachmentsNameCompressedDataGet the (binary) content of one attachment associated with the given study. The attachment will not be decompressed if
StorageCompressionistrue. -
studies.getStudiesIdAttachmentsNameCompressedMd5Get the MD5 hash of one attachment associated with the given study, as stored on the disk. This is different from
.../md5iffEnableStorageistrue. -
studies.getStudiesIdAttachmentsNameCompressedSizeGet the size of one attachment associated with the given study, as stored on the disk. This is different from
.../sizeiffEnableStorageistrue. -
studies.getStudiesIdAttachmentsNameDataGet the (binary) content of one attachment associated with the given study
-
studies.getStudiesIdAttachmentsNameInfoGet all the information about the attachment associated with the given study
-
studies.getStudiesIdAttachmentsNameIsCompressedTest whether the attachment has been stored as a compressed file on the disk.
-
studies.getStudiesIdAttachmentsNameMd5Get the MD5 hash of one attachment associated with the given study
-
studies.getStudiesIdAttachmentsNameSizeGet the size of one attachment associated with the given study
-
studies.getStudiesIdInstancesGet detailed information about the child instances of the DICOM study whose Orthanc identifier is provided in the URL
-
studies.getStudiesIdInstancesTagsGet the tags of all the child instances of the DICOM study whose Orthanc identifier is provided in the URL
-
studies.getStudiesIdMediaSynchronously create a DICOMDIR media containing the DICOM study whose Orthanc identifier is provided in the URL. This flavor is synchronous, which might not be desirable to archive large amount of data, as it might lead to network timeouts. Prefer the asynchronous version using
POSTmethod. -
studies.getStudiesIdMetadataGet the list of metadata that are associated with the given study
-
studies.getStudiesIdMetadataNameGet the value of a metadata that is associated with the given study
-
studies.getStudiesIdModuleGet the study module of the DICOM study whose Orthanc identifier is provided in the URL
-
studies.getStudiesIdModulePatientGet the patient module of the DICOM study whose Orthanc identifier is provided in the URL
-
studies.getStudiesIdPatientGet detailed information about the parent patient of the DICOM study whose Orthanc identifier is provided in the URL
-
studies.getStudiesIdSeriesGet detailed information about the child series of the DICOM study whose Orthanc identifier is provided in the URL
-
studies.getStudiesIdSharedTagsExtract the DICOM tags whose value is constant across all the child instances of the DICOM study whose Orthanc identifier is provided in the URL
-
studies.getStudiesIdStatisticsGet statistics about the given study
-
studies.postStudiesIdAnonymizeStart a job that will anonymize all the DICOM instances within the study whose identifier is provided in the URL. The modified DICOM instances will be stored into a brand new study, whose Orthanc identifiers will be returned by the job.
-
studies.postStudiesIdArchiveCreate a ZIP archive containing the DICOM study whose Orthanc identifier is provided in the URL
-
studies.postStudiesIdAttachmentsNameCompressChange the compression scheme that is used to store an attachment.
-
studies.postStudiesIdAttachmentsNameUncompressChange the compression scheme that is used to store an attachment.
-
studies.postStudiesIdAttachmentsNameVerifyMd5Verify that the attachment is not corrupted, by validating its MD5 hash
-
studies.postStudiesIdMediaCreate a DICOMDIR media containing the DICOM study whose Orthanc identifier is provided in the URL
-
studies.postStudiesIdMergeStart a new job so as to move some DICOM resources into the DICOM study whose Orthanc identifier is provided in the URL:
-
studies.postStudiesIdModifyStart a job that will modify all the DICOM instances within the study whose identifier is provided in the URL. The modified DICOM instances will be stored into a brand new study, whose Orthanc identifiers will be returned by the job.
-
studies.postStudiesIdReconstructReconstruct the main DICOM tags in DB of the study whose Orthanc identifier is provided in the URL. This is useful if child studies/series/instances have inconsistent values for higher-level tags, in order to force Orthanc to use the value from the resource of interest. Beware that this is a time-consuming operation, as all the children DICOM instances will be parsed again, and the Orthanc index will be updated accordingly.
-
studies.postStudiesIdSplitStart a new job so as to split the DICOM study whose Orthanc identifier is provided in the URL, by taking some of its children series or instances out of it and putting them into a brand new study (this new study is created by setting the
StudyInstanceUIDtag to a random identifier): -
studies.putStudiesIdAttachmentsNameAttach a file to the given DICOM study. This call will fail if trying to modify a system attachment (i.e. whose index is < 1024).
-
studies.putStudiesIdMetadataNameSet the value of some metadata in the given DICOM study. This call will fail if trying to modify a system metadata (i.e. whose index is < 1024).
-
system.getPluginsList all the installed plugins
-
system.getPluginsExplorerJsGet the JavaScript extensions that are installed by all the plugins using the
OrthancPluginExtendOrthancExplorer()function of the plugin SDK. This route is for internal use of Orthanc Explorer. -
system.getPluginsIdGet system information about the plugin whose identifier is provided in the URL
-
system.getStatisticsGet statistics related to the database of Orthanc
-
system.getSystemGet system information about Orthanc
-
system.getToolsAcceptedTransferSyntaxesGet the list of UIDs of the DICOM transfer syntaxes that are accepted by Orthanc C-STORE SCP. This corresponds to the configuration options
AcceptedTransferSyntaxesandXXXTransferSyntaxAccepted. -
system.getToolsDefaultEncodingGet the default encoding that is used by Orthanc if parsing a DICOM instance without the
SpecificCharacterEncodingtag, or during C-FIND. This corresponds to the configuration optionDefaultEncoding. -
system.getToolsDicomConformanceGet the DICOM conformance statement of Orthanc
-
system.getToolsGenerateUidGenerate a random DICOM identifier
-
system.getToolsMetricsReturns a Boolean specifying whether Prometheus metrics are collected and exposed at
/tools/metrics-prometheus -
system.getToolsMetricsPrometheusGet usage metrics of Orthanc in the Prometheus file format (OpenMetrics):
-
system.getToolsNowGet UTC time
-
system.getToolsNowLocalGet local time
-
system.getToolsUnknownSopClassAcceptedShall Orthanc C-STORE SCP accept DICOM instances with an unknown SOP class UID?
-
system.postToolsBulkAnonymizeStart a job that will anonymize all the DICOM patients, studies, series or instances whose identifiers are provided in the
Resourcesfield. -
system.postToolsBulkContentGet the content all the DICOM patients, studies, series or instances whose identifiers are provided in the
Resourcesfield, in one single call. -
system.postToolsBulkDeleteDelete all the DICOM patients, studies, series or instances whose identifiers are provided in the
Resourcesfield. -
system.postToolsBulkModifyStart a job that will modify all the DICOM patients, studies, series or instances whose identifiers are provided in the
Resourcesfield. -
system.postToolsCreateArchiveCreate a ZIP archive containing the DICOM resources (patients, studies, series, or instances) whose Orthanc identifiers are provided in the body
-
system.postToolsCreateDicomCreate one DICOM instance, and store it into Orthanc
-
system.postToolsCreateMediaCreate a DICOMDIR media containing the DICOM resources (patients, studies, series, or instances) whose Orthanc identifiers are provided in the body
-
system.postToolsCreateMediaExtendedCreate a DICOMDIR media containing the DICOM resources (patients, studies, series, or instances) whose Orthanc identifiers are provided in the body
-
system.postToolsDicomEchoTrigger C-ECHO SCU command against a DICOM modality described in the POST body, without having to register the modality in some
/modalities/{id}(new in Orthanc 1.8.1) -
system.postToolsExecuteScriptExecute the provided Lua script by the Orthanc server. This is very insecure for Orthanc servers that are remotely accessible, cf. configuration option
ExecuteLuaEnabled -
system.postToolsFindThis URI can be used to perform a search on the content of the local Orthanc server, in a way that is similar to querying remote DICOM modalities using C-FIND SCU:
-
system.postToolsInvalidateTagsRemove all the attachments of the type "DICOM-as-JSON" that are associated will all the DICOM instances stored in Orthanc. These summaries will be automatically re-created on the next access. This is notably useful after changes to the
Dictionaryconfiguration option. -
system.postToolsLookupThis URI can be used to convert one DICOM identifier to a list of matching Orthanc resources
-
system.postToolsReconstructReconstruct the index of all the tags of all the DICOM instances that are stored in Orthanc. This is notably useful after the deletion of resources whose children resources have inconsistent values with their sibling resources. Beware that this is a highly time-consuming operation, as all the DICOM instances will be parsed again, and as all the Orthanc index will be regenerated. If you have a large database to process, it is advised to use the Housekeeper plugin to perform this action resource by resource
-
system.postToolsResetRestart Orthanc
-
system.postToolsShutdownShutdown Orthanc
-
system.putToolsAcceptedTransferSyntaxesSet the DICOM transfer syntaxes that accepted by Orthanc C-STORE SCP
-
system.putToolsDefaultEncodingChange the default encoding that is used by Orthanc if parsing a DICOM instance without the
SpecificCharacterEncodingtag, or during C-FIND. This corresponds to the configuration optionDefaultEncoding. -
system.putToolsMetricsEnable or disable the collection and publication of metrics at
/tools/metrics-prometheus -
system.putToolsUnknownSopClassAcceptedSet whether Orthanc C-STORE SCP should accept DICOM instances with an unknown SOP class UID
-
trackingChanges.deleteChangesClear the full history stored in the changes log
-
trackingChanges.deleteExportsClear the full history stored in the exports log
-
trackingChanges.getChangesWhenever Orthanc receives a new DICOM instance, this event is recorded in the so-called Changes Log. This enables remote scripts to react to the arrival of new DICOM resources. A typical application is auto-routing, where an external script waits for a new DICOM instance to arrive into Orthanc, then forward this instance to another modality.
-
trackingChanges.getExportsFor medical traceability, Orthanc can be configured to store a log of all the resources that have been exported to remote modalities. In auto-routing scenarios, it is important to prevent this log to grow indefinitely as incoming instances are routed. You can either disable this logging by setting the option
LogExportedResourcestofalsein the configuration file, or periodically clear this log byDELETE-ing this URI. This route might be removed in future versions of Orthanc. -
openapi.previewSpecPreview an OpenAPI document before adding it as a source
-
openapi.addSourceAdd an OpenAPI source and register its operations as tools