changeset 3305:aee8d160df43

changed API version to number 2
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 25 Feb 2019 09:31:12 +0100
parents e83546f4adcc
children 010d5e6edabe 66745b9039aa
files NEWS Resources/CMake/OrthancFrameworkConfiguration.cmake Resources/CMake/OrthancFrameworkParameters.cmake
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/NEWS	Sun Feb 24 10:05:08 2019 +0100
+++ b/NEWS	Mon Feb 25 09:31:12 2019 +0100
@@ -13,7 +13,7 @@
 REST API
 --------
 
-* API version has been upgraded to 1.5
+* API version has been upgraded to 2
 * "DicomMoveScu" jobs provide the associated C-FIND answer in their "Query" public field
 
 Plugins
--- a/Resources/CMake/OrthancFrameworkConfiguration.cmake	Sun Feb 24 10:05:08 2019 +0100
+++ b/Resources/CMake/OrthancFrameworkConfiguration.cmake	Mon Feb 25 09:31:12 2019 +0100
@@ -505,7 +505,7 @@
 #####################################################################
 
 add_definitions(
-  -DORTHANC_API_VERSION="${ORTHANC_API_VERSION}"
+  -DORTHANC_API_VERSION=${ORTHANC_API_VERSION}
   -DORTHANC_DATABASE_VERSION=${ORTHANC_DATABASE_VERSION}
   -DORTHANC_DEFAULT_DICOM_ENCODING=Encoding_Latin1
   -DORTHANC_ENABLE_BASE64=1
--- a/Resources/CMake/OrthancFrameworkParameters.cmake	Sun Feb 24 10:05:08 2019 +0100
+++ b/Resources/CMake/OrthancFrameworkParameters.cmake	Mon Feb 25 09:31:12 2019 +0100
@@ -17,7 +17,7 @@
 # Version of the Orthanc API, can be retrieved from "/system" URI in
 # order to check whether new URI endpoints are available even if using
 # the mainline version of Orthanc
-set(ORTHANC_API_VERSION "1.5")
+set(ORTHANC_API_VERSION "2")
 
 
 #####################################################################