From 752020c66a0141999c2e07f57acb021c4aaf009e Mon Sep 17 00:00:00 2001 From: allegroai <> Date: Wed, 26 Jul 2023 18:44:20 +0300 Subject: [PATCH] Update API version to 2.26 --- apiserver/schema/services/events.conf | 2 +- apiserver/schema/services/models.conf | 2 +- apiserver/schema/services/organization.conf | 4 ++-- apiserver/schema/services/pipelines.conf | 2 +- apiserver/schema/services/projects.conf | 8 ++++---- apiserver/schema/services/reports.conf | 4 ++-- apiserver/schema/services/tasks.conf | 2 +- apiserver/schema/services/workers.conf | 2 +- apiserver/service_repo/service_repo.py | 2 +- 9 files changed, 14 insertions(+), 14 deletions(-) diff --git a/apiserver/schema/services/events.conf b/apiserver/schema/services/events.conf index 2a6c4b8..e369787 100644 --- a/apiserver/schema/services/events.conf +++ b/apiserver/schema/services/events.conf @@ -1149,7 +1149,7 @@ get_multi_task_plots { default: false } } - "999.0": ${get_multi_task_plots."2.22"} { + "2.26": ${get_multi_task_plots."2.22"} { request.properties.last_iters_per_task_metric { type: boolean description: If set to 'true' and iters passed then last iterations for each task metrics are retrieved. Otherwise last iterations for the whole task are retrieved diff --git a/apiserver/schema/services/models.conf b/apiserver/schema/services/models.conf index ae44395..502e3a2 100644 --- a/apiserver/schema/services/models.conf +++ b/apiserver/schema/services/models.conf @@ -395,7 +395,7 @@ get_all { description: "Scroll ID that can be used with the next calls to get_all to retrieve more data" } } - "999.0": ${get_all."2.15"} { + "2.26": ${get_all."2.15"} { request { properties { include_subprojects { diff --git a/apiserver/schema/services/organization.conf b/apiserver/schema/services/organization.conf index 57025d5..5e9e793 100644 --- a/apiserver/schema/services/organization.conf +++ b/apiserver/schema/services/organization.conf @@ -231,7 +231,7 @@ get_entities_count { } } prepare_download_for_get_all { - "999.0": { + "2.26": { description: Prepares download from get_all_ex parameters request { type: object @@ -279,7 +279,7 @@ prepare_download_for_get_all { } } download_for_get_all { - "999.0": { + "2.26": { description: Generates a file for the download request { type: object diff --git a/apiserver/schema/services/pipelines.conf b/apiserver/schema/services/pipelines.conf index cdd5a74..70e86b0 100644 --- a/apiserver/schema/services/pipelines.conf +++ b/apiserver/schema/services/pipelines.conf @@ -3,7 +3,7 @@ _definitions { include "_common.conf" } delete_runs { - "999.0": ${_definitions.batch_operation} { + "2.26": ${_definitions.batch_operation} { description: Delete pipeline runs request { required: [ids, project] diff --git a/apiserver/schema/services/projects.conf b/apiserver/schema/services/projects.conf index 5c98b87..aa8ba61 100644 --- a/apiserver/schema/services/projects.conf +++ b/apiserver/schema/services/projects.conf @@ -808,7 +808,7 @@ validate_delete { } } } - "999.0": ${validate_delete."2.14"} { + "2.26": ${validate_delete."2.14"} { response.properties { reports { description: "The total number of reports under the project and all its children" @@ -979,7 +979,7 @@ get_hyperparam_values { } } } - "999.0": ${get_hyperparam_values."2.13"} { + "2.26": ${get_hyperparam_values."2.13"} { request.properties { page { description: "Page number" @@ -1090,7 +1090,7 @@ get_model_metadata_values { } } } - "999.0": ${get_model_metadata_values."2.17"} { + "2.26": ${get_model_metadata_values."2.17"} { request.properties { page { description: "Page number" @@ -1297,7 +1297,7 @@ get_task_parents { } } get_user_names { - "999.0" { + "2.26" { description: "Get names and ids of the users who created child entitites under the passed projects" request { type: object diff --git a/apiserver/schema/services/reports.conf b/apiserver/schema/services/reports.conf index c9df092..4fe9b72 100644 --- a/apiserver/schema/services/reports.conf +++ b/apiserver/schema/services/reports.conf @@ -587,7 +587,7 @@ get_task_data { items {"$ref": "#/definitions/single_value_task_metrics"} } } - "999.0": ${get_task_data."2.25"} { + "2.26": ${get_task_data."2.25"} { request.properties.plots.properties.last_iters_per_task_metric { type: boolean description: If set to 'true' and iters passed then last iterations for each task metrics are retrieved. Otherwise last iterations for the whole task are retrieved @@ -713,7 +713,7 @@ get_all_ex { } } } - "999.0": ${get_all_ex."2.23"} { + "2.26": ${get_all_ex."2.23"} { request.properties.include_subprojects { description: "If set to 'true' and project field is set then reports from the subprojects are searched too" type: boolean diff --git a/apiserver/schema/services/tasks.conf b/apiserver/schema/services/tasks.conf index 4d9526a..8e7230d 100644 --- a/apiserver/schema/services/tasks.conf +++ b/apiserver/schema/services/tasks.conf @@ -334,7 +334,7 @@ get_all { description: "Scroll ID that can be used with the next calls to get_all to retrieve more data" } } - "999.0": ${get_all."2.15"} { + "2.26": ${get_all."2.15"} { request { properties { include_subprojects { diff --git a/apiserver/schema/services/workers.conf b/apiserver/schema/services/workers.conf index 37022e2..1d732bf 100644 --- a/apiserver/schema/services/workers.conf +++ b/apiserver/schema/services/workers.conf @@ -312,7 +312,7 @@ get_all { } } get_count { - "999.0": { + "2.26": { description: "Returns the number of registered workers." request { type: object diff --git a/apiserver/service_repo/service_repo.py b/apiserver/service_repo/service_repo.py index 3c4ee65..12b30f9 100644 --- a/apiserver/service_repo/service_repo.py +++ b/apiserver/service_repo/service_repo.py @@ -39,7 +39,7 @@ class ServiceRepo(object): """If the check is set, parsing will fail for endpoint request with the version that is grater than the current maximum """ - _max_version = PartialVersion("2.25") + _max_version = PartialVersion("2.26") """ Maximum version number (the highest min_version value across all endpoints) """ _endpoint_exp = (