Skip to content

Commit 1ee0d3a

Browse files
Upgrade api specification
1 parent 98cacb4 commit 1ee0d3a

File tree

6 files changed

+10
-6
lines changed

6 files changed

+10
-6
lines changed

packages/generator/spec.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1023,6 +1023,9 @@
10231023
"404": {
10241024
"$ref": "#/components/responses/404"
10251025
},
1026+
"425": {
1027+
"$ref": "#/components/responses/425"
1028+
},
10261029
"429": {
10271030
"$ref": "#/components/responses/429"
10281031
}
@@ -1624,7 +1627,7 @@
16241627
"name": "project_id",
16251628
"schema": {
16261629
"type": "string",
1627-
"description": "The `project_id` for which you want to retrieve the list of boards. If this parameter is sent in the request, the `query` and `owner` parameters are ignored."
1630+
"description": "The `project_id` for which you want to retrieve the list of boards. Note that Projects have been renamed to Spaces. Use this as the unique identifier (ID) of the space. If this parameter is included in the request, the `query` and `owner` parameters are ignored."
16281631
}
16291632
},
16301633
{
@@ -13660,7 +13663,7 @@
1366013663
},
1366113664
"projectId": {
1366213665
"type": "string",
13663-
"description": "Unique identifier (ID) of the project to which the board must be added."
13666+
"description": "Unique identifier (ID) of the project to which the board must be added. Note that Projects have been renamed to Spaces. Use this parameter to update the space."
1366413667
}
1366513668
}
1366613669
},

packages/miro-api-python/miro_api/api/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1151,6 +1151,7 @@ def enterprise_create_board_export(
11511151
"401": None,
11521152
"403": None,
11531153
"404": None,
1154+
"425": None,
11541155
"429": None,
11551156
}
11561157
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)

packages/miro-api-python/miro_api/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, cook
8282
self.default_headers[header_name] = header_value
8383
self.cookie = cookie
8484
# Set default User-Agent.
85-
self.user_agent = "OpenAPI-Generator/2.2.3/python"
85+
self.user_agent = "OpenAPI-Generator/2.2.4/python"
8686
self.client_side_validation = configuration.client_side_validation
8787

8888
def __enter__(self):

packages/miro-api-python/miro_api/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ def to_debug_report(self):
390390
"OS: {env}\n"
391391
"Python Version: {pyversion}\n"
392392
"Version of the API: v2.0\n"
393-
"SDK Package Version: 2.2.3".format(env=sys.platform, pyversion=sys.version)
393+
"SDK Package Version: 2.2.4".format(env=sys.platform, pyversion=sys.version)
394394
)
395395

396396
def get_host_settings(self):

packages/miro-api-python/miro_api/models/board_changes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class BoardChanges(BaseModel):
4242
)
4343
project_id: Optional[StrictStr] = Field(
4444
default=None,
45-
description="Unique identifier (ID) of the project to which the board must be added.",
45+
description="Unique identifier (ID) of the project to which the board must be added. Note that Projects have been renamed to Spaces. Use this parameter to update the space.",
4646
alias="projectId",
4747
)
4848
additional_properties: Dict[str, Any] = {}

packages/miro-api/model/boardChanges.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export class BoardChanges {
2727
*/
2828
'teamId'?: string
2929
/**
30-
* Unique identifier (ID) of the project to which the board must be added.
30+
* Unique identifier (ID) of the project to which the board must be added. Note that Projects have been renamed to Spaces. Use this parameter to update the space.
3131
*/
3232
'projectId'?: string
3333

0 commit comments

Comments
 (0)