Skip to content

Commit 8ec4ab1

Browse files
committed
PATCH: create DMS Tree return same datas as the get route (#587)
1 parent 69f2d85 commit 8ec4ab1

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

bimdata_api_client/api/collaboration_api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,7 @@ def __init__(self, api_client=None):
792792
)
793793
self.create_dms_tree_endpoint = _Endpoint(
794794
settings={
795-
'response_type': ([Folder],),
795+
'response_type': (Folder,),
796796
'auth': [
797797
'ApiKey',
798798
'BIMData_Connect',
@@ -7981,7 +7981,7 @@ def create_dms_tree(
79817981
async_req (bool): execute request asynchronously
79827982

79837983
Returns:
7984-
[Folder]
7984+
Folder
79857985
If the method is called asynchronously, returns the request
79867986
thread.
79877987
"""
@@ -8027,7 +8027,7 @@ def create_document(
80278027
):
80288028
"""Create a document # noqa: E501
80298029

8030-
Create a document. If the document is one of {'DWG', 'DAE', 'OBJ', 'GLTF', 'POINT_CLOUD', 'BFX', 'DXF', 'IFC'}, a model will be created and attached to this document Required scopes: document:write # noqa: E501
8030+
Create a document. If the document is one of {'POINT_CLOUD', 'DWG', 'DXF', 'DAE', 'OBJ', 'BFX', 'GLTF', 'IFC'}, a model will be created and attached to this document Required scopes: document:write # noqa: E501
80318031
This method makes a synchronous HTTP request by default. To make an
80328032
asynchronous HTTP request, please pass async_req=True
80338033

docs/CollaborationApi.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1296,7 +1296,7 @@ Name | Type | Description | Notes
12961296
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
12971297

12981298
# **create_dms_tree**
1299-
> [Folder] create_dms_tree(cloud_pk, id, write_folder_request)
1299+
> Folder create_dms_tree(cloud_pk, id, write_folder_request)
13001300
13011301
Create a complete DMS tree
13021302

@@ -1388,7 +1388,7 @@ Name | Type | Description | Notes
13881388

13891389
### Return type
13901390

1391-
[**[Folder]**](Folder.md)
1391+
[**Folder**](Folder.md)
13921392

13931393
### Authorization
13941394

@@ -1418,7 +1418,7 @@ Name | Type | Description | Notes
14181418
14191419
Create a document
14201420

1421-
Create a document. If the document is one of {'DWG', 'DAE', 'OBJ', 'GLTF', 'POINT_CLOUD', 'BFX', 'DXF', 'IFC'}, a model will be created and attached to this document Required scopes: document:write
1421+
Create a document. If the document is one of {'POINT_CLOUD', 'DWG', 'DXF', 'DAE', 'OBJ', 'BFX', 'GLTF', 'IFC'}, a model will be created and attached to this document Required scopes: document:write
14221422

14231423
### Example
14241424

0 commit comments

Comments
 (0)