Bump API version to 2.23

This commit is contained in:
allegroai 2022-12-21 18:46:12 +02:00
parent 7e97ec5555
commit a392bc0bd7
6 changed files with 15 additions and 15 deletions

View File

@ -241,7 +241,7 @@ get_all_ex {
default: false default: false
} }
} }
"999.0": ${get_all_ex."2.20"} { "2.23": ${get_all_ex."2.20"} {
request.properties { request.properties {
allow_public { allow_public {
description: "Allow public models to be returned in the results" description: "Allow public models to be returned in the results"

View File

@ -176,7 +176,7 @@ get_entities_count {
} }
} }
} }
"999.0": ${get_entities_count."2.22"} { "2.23": ${get_entities_count."2.22"} {
request.properties { request.properties {
reports { reports {
type: object type: object

View File

@ -611,7 +611,7 @@ get_all_ex {
default: false default: false
} }
} }
"999.0": ${get_all_ex."2.20"} { "2.23": ${get_all_ex."2.20"} {
request.properties { request.properties {
allow_public { allow_public {
description: "Allow public projects to be returned in the results" description: "Allow public projects to be returned in the results"

View File

@ -101,7 +101,7 @@ _definitions {
} }
} }
create { create {
"999.0" { "2.23" {
description: "Create a new report" description: "Create a new report"
request { request {
type: object type: object
@ -148,7 +148,7 @@ create {
} }
} }
update { update {
"999.0" { "2.23" {
description: "Create a new report" description: "Create a new report"
request { request {
type: object type: object
@ -183,7 +183,7 @@ update {
} }
} }
move { move {
"999.0" { "2.23" {
description: "Move reports to a project" description: "Move reports to a project"
request { request {
type: object type: object
@ -215,7 +215,7 @@ move {
} }
} }
publish { publish {
"999.0" { "2.23" {
description: "Publish report" description: "Publish report"
request { request {
type: object type: object
@ -237,7 +237,7 @@ publish {
} }
} }
archive { archive {
"999.0" { "2.23" {
description: "Archive report" description: "Archive report"
request { request {
type: object type: object
@ -268,7 +268,7 @@ archive {
} }
} }
unarchive { unarchive {
"999.0" { "2.23" {
description: "Unarchive report" description: "Unarchive report"
request { request {
type: object type: object
@ -331,7 +331,7 @@ unarchive {
// } // }
//} //}
delete { delete {
"999.0" { "2.23" {
description: "Delete report" description: "Delete report"
request { request {
type: object type: object
@ -363,7 +363,7 @@ delete {
} }
} }
get_task_data { get_task_data {
"999.0" { "2.23" {
description: "Get the tasks data according the passed search criteria + requested events" description: "Get the tasks data according the passed search criteria + requested events"
request { request {
type: object type: object
@ -551,7 +551,7 @@ get_task_data {
} }
} }
get_all_ex { get_all_ex {
"999.0" { "2.23" {
description: "Get all the company's and public report tasks" description: "Get all the company's and public report tasks"
request { request {
type: object type: object
@ -670,7 +670,7 @@ get_all_ex {
} }
} }
get_tags { get_tags {
"999.0" { "2.23" {
description: "Get all the user tags used for the company reports" description: "Get all the user tags used for the company reports"
request { request {
type: object type: object

View File

@ -181,7 +181,7 @@ get_all_ex {
description: "Scroll ID that can be used with the next calls to get_all_ex to retrieve more data" description: "Scroll ID that can be used with the next calls to get_all_ex to retrieve more data"
} }
} }
"999.0": ${get_all_ex."2.15"} { "2.23": ${get_all_ex."2.15"} {
request.properties { request.properties {
allow_public { allow_public {
description: "Allow public tasks to be returned in the results" description: "Allow public tasks to be returned in the results"

View File

@ -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 """If the check is set, parsing will fail for endpoint request with the version that is grater than the current
maximum """ maximum """
_max_version = PartialVersion("2.22") _max_version = PartialVersion("2.23")
""" Maximum version number (the highest min_version value across all endpoints) """ """ Maximum version number (the highest min_version value across all endpoints) """
_endpoint_exp = ( _endpoint_exp = (