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
@@ -9344,7 +9344,7 @@ def create_document(
9344
9344
):
9345
9345
"""Create a document # noqa: E501
9346
9346
9347
-
Create a document. If the document is one of {'DXF', 'DWG', 'IFC', 'GLTF', 'POINT_CLOUD', 'PHOTOSPHERE', 'OBJ'}, a model will be created and attached to this document Required scopes: document:write # noqa: E501
9347
+
Create a document. If the document is one of {'IFC', 'OBJ', 'PHOTOSPHERE', 'DWG', 'GLTF', 'DXF', 'POINT_CLOUD'}, a model will be created and attached to this document Required scopes: document:write # noqa: E501
9348
9348
This method makes a synchronous HTTP request by default. To make an
email_impersonation (str, none_type): If the request is made from an SSO application, you can link the token to a user. All calls made with the token will populate created_by fields with the user. If the user don't have access to some data, the token won't have access. . [optional] # noqa: E501
162
+
email_impersonation (str, none_type): If the request is made from an SSO application, you can link the token to a user. All calls made with the token will populate created_by fields with the user. If the user don't have access to some data, the token won't have access. `available_models` can't be set when a user is impersonated. . [optional] # noqa: E501
163
+
available_models ([int]): List of model IDs that the token can access. If not specified, the token can access all models of the project. This field can't be set if email_impersonation is set. This field can't be set if `document:read` is in scopes. . [optional] # noqa: E501
email_impersonation (str, none_type): If the request is made from an SSO application, you can link the token to a user. All calls made with the token will populate created_by fields with the user. If the user don't have access to some data, the token won't have access. . [optional] # noqa: E501
250
+
email_impersonation (str, none_type): If the request is made from an SSO application, you can link the token to a user. All calls made with the token will populate created_by fields with the user. If the user don't have access to some data, the token won't have access. `available_models` can't be set when a user is impersonated. . [optional] # noqa: E501
251
+
available_models ([int]): List of model IDs that the token can access. If not specified, the token can access all models of the project. This field can't be set if email_impersonation is set. This field can't be set if `document:read` is in scopes. . [optional] # noqa: E501
email_impersonation (str, none_type): If the request is made from an SSO application, you can link the token to a user. All calls made with the token will populate created_by fields with the user. If the user don't have access to some data, the token won't have access. . [optional] # noqa: E501
161
+
email_impersonation (str, none_type): If the request is made from an SSO application, you can link the token to a user. All calls made with the token will populate created_by fields with the user. If the user don't have access to some data, the token won't have access. `available_models` can't be set when a user is impersonated. . [optional] # noqa: E501
162
+
available_models ([int]): List of model IDs that the token can access. If not specified, the token can access all models of the project. This field can't be set if email_impersonation is set. This field can't be set if `document:read` is in scopes. . [optional] # noqa: E501
email_impersonation (str, none_type): If the request is made from an SSO application, you can link the token to a user. All calls made with the token will populate created_by fields with the user. If the user don't have access to some data, the token won't have access. . [optional] # noqa: E501
249
+
email_impersonation (str, none_type): If the request is made from an SSO application, you can link the token to a user. All calls made with the token will populate created_by fields with the user. If the user don't have access to some data, the token won't have access. `available_models` can't be set when a user is impersonated. . [optional] # noqa: E501
250
+
available_models ([int]): List of model IDs that the token can access. If not specified, the token can access all models of the project. This field can't be set if email_impersonation is set. This field can't be set if `document:read` is in scopes. . [optional] # noqa: E501
Copy file name to clipboardExpand all lines: docs/CollaborationApi.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1872,7 +1872,7 @@ Name | Type | Description | Notes
1872
1872
1873
1873
Create a document
1874
1874
1875
-
Create a document. If the document is one of {'DXF', 'DWG', 'IFC', 'GLTF', 'POINT_CLOUD', 'PHOTOSPHERE', 'OBJ'}, a model will be created and attached to this document Required scopes: document:write
1875
+
Create a document. If the document is one of {'IFC', 'OBJ', 'PHOTOSPHERE', 'DWG', 'GLTF', 'DXF', 'POINT_CLOUD'}, a model will be created and attached to this document Required scopes: document:write
1876
1876
1877
1877
### Example
1878
1878
@@ -2407,6 +2407,9 @@ with bimdata_api_client.ApiClient(configuration) as api_client:
**text** | **str, none_type** | The full text representation of a document if the feature is enabled and the file format supported | [optional]
9
-
**language** | **str, none_type** | * `spanish` - spanish * `german` - german * `english` - english * `french` - french * `italian` - italian | [optional]
9
+
**language** | **str, none_type** | * `english` - english * `german` - german * `spanish` - spanish * `italian` - italian * `french` - french | [optional]
10
10
**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]
11
11
12
12
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**text** | **str, none_type** | The full text representation of a document if the feature is enabled and the file format supported | [optional]
8
-
**language** | **str, none_type** | * `spanish` - spanish * `german` - german * `english` - english * `french` - french * `italian` - italian | [optional]
8
+
**language** | **str, none_type** | * `english` - english * `german` - german * `spanish` - spanish * `italian` - italian * `french` - french | [optional]
9
9
**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]
10
10
11
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)
0 commit comments