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
{{ message }}
This repository was archived by the owner on Nov 18, 2025. It is now read-only.
* add document full text search
* use cloud language if no language provided
* enable text only on ai clouds
* fix tests
* add comment to doc
* fix test with new field
*bimdata.CollaborationApi* | [**updateCloud**](docs/CollaborationApi.md#updateCloud) | **PATCH** /cloud/{id} | Update some fields of a cloud
303
303
*bimdata.CollaborationApi* | [**updateCloudUser**](docs/CollaborationApi.md#updateCloudUser) | **PATCH** /cloud/{cloud_pk}/user/{id} | Change the user role in the cloud
304
304
*bimdata.CollaborationApi* | [**updateDocument**](docs/CollaborationApi.md#updateDocument) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/document/{id} | Update some fields of the document
305
+
*bimdata.CollaborationApi* | [**updateDocumentText**](docs/CollaborationApi.md#updateDocumentText) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/document/{id}/text | Update the text representation of a document
305
306
*bimdata.CollaborationApi* | [**updateFolder**](docs/CollaborationApi.md#updateFolder) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/folder/{id} | Update some fields of a folder
306
307
*bimdata.CollaborationApi* | [**updateGroupFolder**](docs/CollaborationApi.md#updateGroupFolder) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/folder/{folder_pk}/group/{id} | Update the permission of a group on a folder. When propagate is set to True, the permission of all children in the folder will be updated.
307
308
*bimdata.CollaborationApi* | [**updateManageGroup**](docs/CollaborationApi.md#updateManageGroup) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/group/{id} | Update some fields of a group
[**updateCloud**](CollaborationApi.md#updateCloud) | **PATCH** /cloud/{id} | Update some fields of a cloud
103
103
[**updateCloudUser**](CollaborationApi.md#updateCloudUser) | **PATCH** /cloud/{cloud_pk}/user/{id} | Change the user role in the cloud
104
104
[**updateDocument**](CollaborationApi.md#updateDocument) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/document/{id} | Update some fields of the document
105
+
[**updateDocumentText**](CollaborationApi.md#updateDocumentText) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/document/{id}/text | Update the text representation of a document
105
106
[**updateFolder**](CollaborationApi.md#updateFolder) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/folder/{id} | Update some fields of a folder
106
107
[**updateGroupFolder**](CollaborationApi.md#updateGroupFolder) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/folder/{folder_pk}/group/{id} | Update the permission of a group on a folder. When propagate is set to True, the permission of all children in the folder will be updated.
107
108
[**updateManageGroup**](CollaborationApi.md#updateManageGroup) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/group/{id} | Update some fields of a group
@@ -960,7 +961,7 @@ Name | Type | Description | Notes
960
961
961
962
Create a document
962
963
963
-
Create a document. If the document is one of {'GLTF', 'IFC', 'OBJ', 'POINT_CLOUD', 'DXF', 'DWG'}, a model will be created and attached to this document Required scopes: document:write
964
+
Create a document. If the document is one of {'IFC', 'POINT_CLOUD', 'DWG', 'DXF', 'GLTF', 'OBJ'}, a model will be created and attached to this document Required scopes: document:write
964
965
965
966
### Example
966
967
@@ -3387,7 +3388,7 @@ Name | Type | Description | Notes
3387
3388
3388
3389
Retrieve all documents
3389
3390
3390
-
Retrieve all documents in the project. Filters are case insentive Required scopes: document:read
3391
+
Retrieve all documents in the project. Filters are case insentive. Search filter only works if AI features are enabled. Required scopes: document:read
'tags': ["null"], // [String] | Multiple values may be separated by commas.
3439
+
'text':true, // Boolean | If this field is present (with any value), the full text representation of the documents will be added to the response under the field `text`
'visaDeadlineAfter':newDate("2013-10-20"), // Date |
3439
3442
'visaDeadlineBefore':newDate("2013-10-20"), // Date |
@@ -3475,9 +3478,11 @@ Name | Type | Description | Notes
3475
3478
**nameContains** | **String**| | [optional]
3476
3479
**nameEndswith** | **String**| | [optional]
3477
3480
**nameStartswith** | **String**| | [optional]
3481
+
**search** | **String**| | [optional]
3478
3482
**sizeMax** | **Number**| Size of the file. | [optional]
3479
3483
**sizeMin** | **Number**| Size of the file. | [optional]
3480
3484
**tags** | [**[String]**](String.md)| Multiple values may be separated by commas. | [optional]
3485
+
**text** | **Boolean**| If this field is present (with any value), the full text representation of the documents will be added to the response under the field `text` | [optional]
Update the text representation of a document. The document itself will not be changed. It is useful for full text search Required scopes: document:write
6636
+
6637
+
### Example
6638
+
6639
+
```javascript
6640
+
importbimdatafrom'@bimdata/bimdata-api-client';
6641
+
let defaultClient =bimdata.ApiClient.instance;
6642
+
// Configure API key authorization: ApiKey
6643
+
let ApiKey =defaultClient.authentications['ApiKey'];
6644
+
ApiKey.apiKey='YOUR API KEY';
6645
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
6646
+
//ApiKey.apiKeyPrefix = 'Token';
6647
+
// Configure OAuth2 access token for authorization: BIMData_Connect
6648
+
let BIMData_Connect =defaultClient.authentications['BIMData_Connect'];
6649
+
BIMData_Connect.accessToken='YOUR ACCESS TOKEN';
6650
+
// Configure OAuth2 access token for authorization: BIMData_Connect
6651
+
let BIMData_Connect =defaultClient.authentications['BIMData_Connect'];
6652
+
BIMData_Connect.accessToken='YOUR ACCESS TOKEN';
6653
+
// Configure API key authorization: Bearer
6654
+
let Bearer =defaultClient.authentications['Bearer'];
6655
+
Bearer.apiKey='YOUR API KEY';
6656
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
6657
+
//Bearer.apiKeyPrefix = 'Token';
6658
+
6659
+
let apiInstance =newbimdata.CollaborationApi();
6660
+
let cloudPk =56; // Number | A unique integer value identifying this cloud.
6661
+
let id =56; // Number | A unique integer value identifying this document.
6662
+
let projectPk =56; // Number | A unique integer value identifying this project.
**type** | **String** | DEPRECATED: Use 'nature' instead. Value is \"Folder\". It is usefull to parse the tree and discriminate folders and files | [readonly]
7
8
**parentId** | **Number** | | [optional]
9
+
**createdAt** | **Date** | Creation date | [readonly]
**userPermission** | **Number** | Aggregate of group user permissions and folder default permission | [readonly]
14
17
**nature** | **String** | Value is \"Folder\". It is usefull to parse the tree and discriminate folders and files | [readonly]
15
-
**createdAt** | **Date** | Creation date | [readonly]
16
-
**type** | **String** | DEPRECATED: Use 'nature' instead. Value is \"Folder\". It is usefull to parse the tree and discriminate folders and files | [readonly]
0 commit comments