Skip to content

Commit 787dd4a

Browse files
committed
PATCH: add meta routes for model elements (#881)
1 parent 2c3b1b2 commit 787dd4a

File tree

15 files changed

+913
-50
lines changed

15 files changed

+913
-50
lines changed

.openapi-generator/FILES

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ bimdata_api_client/model/project_role.py
181181
bimdata_api_client/model/project_size.py
182182
bimdata_api_client/model/property_definition.py
183183
bimdata_api_client/model/property_definition_request.py
184+
bimdata_api_client/model/property_list.py
184185
bimdata_api_client/model/property_request.py
185186
bimdata_api_client/model/property_set.py
186187
bimdata_api_client/model/property_set_request.py
@@ -452,6 +453,7 @@ docs/ProjectRole.md
452453
docs/ProjectSize.md
453454
docs/PropertyDefinition.md
454455
docs/PropertyDefinitionRequest.md
456+
docs/PropertyList.md
455457
docs/PropertyRequest.md
456458
docs/PropertySet.md
457459
docs/PropertySetRequest.md
@@ -726,6 +728,7 @@ test/test_project_role.py
726728
test/test_project_size.py
727729
test/test_property_definition.py
728730
test/test_property_definition_request.py
731+
test/test_property_list.py
729732
test/test_property_request.py
730733
test/test_property_set.py
731734
test/test_property_set_request.py

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,7 @@ Class | Method | HTTP request | Description
428428
*ModelApi* | [**get_models**](docs/ModelApi.md#get_models) | **GET** /cloud/{cloud_pk}/project/{project_pk}/model | Retrieve all models
429429
*ModelApi* | [**get_processor_handler**](docs/ModelApi.md#get_processor_handler) | **GET** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/processorhandler/{id} | Retrieve a processor handler
430430
*ModelApi* | [**get_processor_handlers**](docs/ModelApi.md#get_processor_handlers) | **GET** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/processorhandler | Get all processor handlers
431+
*ModelApi* | [**get_properties_types**](docs/ModelApi.md#get_properties_types) | **GET** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/element/properties | Retrieve all property types and their value type used in this model
431432
*ModelApi* | [**get_property_set**](docs/ModelApi.md#get_property_set) | **GET** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/propertyset/{id} | Retrieve a PropertySet of a model
432433
*ModelApi* | [**get_property_sets**](docs/ModelApi.md#get_property_sets) | **GET** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/propertyset | Retrieve all PropertySets of a model
433434
*ModelApi* | [**get_raw_elements**](docs/ModelApi.md#get_raw_elements) | **GET** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/element/raw | Retrieve all elements in a optimized format
@@ -441,6 +442,7 @@ Class | Method | HTTP request | Description
441442
*ModelApi* | [**get_system**](docs/ModelApi.md#get_system) | **GET** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/system/{uuid} | Retrieve a system of a model
442443
*ModelApi* | [**get_systems**](docs/ModelApi.md#get_systems) | **GET** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/system | Retrieve all systems of a model
443444
*ModelApi* | [**get_tileset**](docs/ModelApi.md#get_tileset) | **GET** /cloud/{cloud_pk}/project/{project_pk}/model/{id}/tileset | Retrieve the tileset of the model
445+
*ModelApi* | [**get_types**](docs/ModelApi.md#get_types) | **GET** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/element/types | Retrieve all IFC Types used in this model
444446
*ModelApi* | [**get_zone**](docs/ModelApi.md#get_zone) | **GET** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/zone/{id} | Retrieve one zone of a model
445447
*ModelApi* | [**get_zone_space**](docs/ModelApi.md#get_zone_space) | **GET** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/zone/{zone_pk}/space/{id} | Retrieve one space of a zone
446448
*ModelApi* | [**get_zone_spaces**](docs/ModelApi.md#get_zone_spaces) | **GET** /cloud/{cloud_pk}/project/{project_pk}/model/{model_pk}/zone/{zone_pk}/space | Retrieve all spaces of a zone
@@ -673,6 +675,7 @@ Class | Method | HTTP request | Description
673675
- [ProjectSize](docs/ProjectSize.md)
674676
- [PropertyDefinition](docs/PropertyDefinition.md)
675677
- [PropertyDefinitionRequest](docs/PropertyDefinitionRequest.md)
678+
- [PropertyList](docs/PropertyList.md)
676679
- [PropertyRequest](docs/PropertyRequest.md)
677680
- [PropertySet](docs/PropertySet.md)
678681
- [PropertySetRequest](docs/PropertySetRequest.md)

bimdata_api_client/api/collaboration_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8599,7 +8599,7 @@ def create_document(
85998599
):
86008600
"""Create a document # noqa: E501
86018601

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

0 commit comments

Comments
 (0)