You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bimdata_api_client/api/collaboration_api.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8741,7 +8741,7 @@ def create_document(
8741
8741
):
8742
8742
"""Create a document # noqa: E501
8743
8743
8744
-
Create a document. If the document is one of {'GLTF', 'DXF', 'IFC', 'POINT_CLOUD', 'DWG', 'OBJ'}, a model will be created and attached to this document Required scopes: document:write # noqa: E501
8744
+
Create a document. If the document is one of {'OBJ', 'DWG', 'POINT_CLOUD', 'DXF', 'IFC', 'GLTF'}, a model will be created and attached to this document Required scopes: document:write # noqa: E501
8745
8745
This method makes a synchronous HTTP request by default. To make an
Copy file name to clipboardExpand all lines: docs/CollaborationApi.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1482,9 +1482,9 @@ with bimdata_api_client.ApiClient(configuration) as api_client:
1482
1482
id=1# int | A unique integer value identifying this project.
1483
1483
write_folder_request = [
1484
1484
WriteFolderRequest(
1485
-
parent_id=1,
1486
-
name="name_example",
1487
1485
default_permission=1,
1486
+
name="name_example",
1487
+
parent_id=1,
1488
1488
children=[
1489
1489
WriteFolderRequest(),
1490
1490
],
@@ -1541,7 +1541,7 @@ Name | Type | Description | Notes
1541
1541
1542
1542
Create a document
1543
1543
1544
-
Create a document. If the document is one of {'GLTF', 'DXF', 'IFC', 'POINT_CLOUD', 'DWG', 'OBJ'}, a model will be created and attached to this document Required scopes: document:write
1544
+
Create a document. If the document is one of {'OBJ', 'DWG', 'POINT_CLOUD', 'DXF', 'IFC', 'GLTF'}, a model will be created and attached to this document Required scopes: document:write
1545
1545
1546
1546
### Example
1547
1547
@@ -2301,6 +2301,7 @@ with bimdata_api_client.ApiClient(configuration) as api_client:
2301
2301
visa_pk =1# int | A unique integer value identifying this visa.
2302
2302
visa_validation_request = VisaValidationRequest(
2303
2303
validator_id=1,
2304
+
attachment=open('/path/to/file', 'rb'),
2304
2305
) # VisaValidationRequest |
2305
2306
2306
2307
# example passing only required values which don't have defaults set
@@ -11907,6 +11908,7 @@ with bimdata_api_client.ApiClient(configuration) as api_client:
11907
11908
visa_pk =1# int | A unique integer value identifying this visa.
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
9
10
10
11
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
15
16
16
17
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
9
10
10
11
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
0 commit comments