Skip to content
This repository was archived by the owner on Nov 18, 2025. It is now read-only.

Commit f2ce2ea

Browse files
committed
PATCH: fix BCF projects serialization
1 parent 2077710 commit f2ce2ea

18 files changed

Lines changed: 54 additions & 106 deletions

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ Class | Method | HTTP request | Description
237237
*bimdata.CollaborationApi* | [**getClassifications**](docs/CollaborationApi.md#getClassifications) | **GET** /cloud/{cloud_pk}/project/{project_pk}/classification | Retrieve all classifications
238238
*bimdata.CollaborationApi* | [**getCloud**](docs/CollaborationApi.md#getCloud) | **GET** /cloud/{id} | Retrieve one cloud
239239
*bimdata.CollaborationApi* | [**getCloudInvitations**](docs/CollaborationApi.md#getCloudInvitations) | **GET** /cloud/{cloud_pk}/invitation | Retrieve all pending invitations in the cloud
240-
*bimdata.CollaborationApi* | [**getCloudSize**](docs/CollaborationApi.md#getCloudSize) | **GET** /cloud/{id}/size | Get size of all files in the cloud
240+
*bimdata.CollaborationApi* | [**getCloudSize**](docs/CollaborationApi.md#getCloudSize) | **GET** /cloud/{id}/size | Get size of all ifc files in the cloud
241241
*bimdata.CollaborationApi* | [**getCloudUser**](docs/CollaborationApi.md#getCloudUser) | **GET** /cloud/{cloud_pk}/user/{id} | Retrieve a user in a cloud
242242
*bimdata.CollaborationApi* | [**getCloudUsers**](docs/CollaborationApi.md#getCloudUsers) | **GET** /cloud/{cloud_pk}/user | Retrieve all users in a cloud, or a list with a filter by email
243243
*bimdata.CollaborationApi* | [**getClouds**](docs/CollaborationApi.md#getClouds) | **GET** /cloud | Retrieve all clouds
@@ -413,7 +413,6 @@ Class | Method | HTTP request | Description
413413
## Documentation for Models
414414

415415
- [bimdata.BcfProject](docs/BcfProject.md)
416-
- [bimdata.BcfUser](docs/BcfUser.md)
417416
- [bimdata.CheckPlan](docs/CheckPlan.md)
418417
- [bimdata.CheckerResult](docs/CheckerResult.md)
419418
- [bimdata.Classification](docs/Classification.md)

docs/BcfApi.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ null (empty response body)
460460

461461
## downloadBcfExport
462462

463-
> downloadBcfExport(id, opts)
463+
> File downloadBcfExport(id, opts)
464464
465465
Export project's topics in bcf-xml format
466466

@@ -489,8 +489,8 @@ let opts = {
489489
'topics': "topics_example", // String | topic guids to export, comma separated. Default = all
490490
'format': "format_example" // String | topic format to export, comma separated. Default = all
491491
};
492-
apiInstance.downloadBcfExport(id, opts).then(() => {
493-
console.log('API called successfully.');
492+
apiInstance.downloadBcfExport(id, opts).then((data) => {
493+
console.log('API called successfully. Returned data: ' + data);
494494
}, (error) => {
495495
console.error(error);
496496
});
@@ -508,7 +508,7 @@ Name | Type | Description | Notes
508508

509509
### Return type
510510

511-
null (empty response body)
511+
**File**
512512

513513
### Authorization
514514

@@ -517,7 +517,7 @@ null (empty response body)
517517
### HTTP request headers
518518

519519
- **Content-Type**: Not defined
520-
- **Accept**: Not defined
520+
- **Accept**: application/json
521521

522522

523523
## fullUpdateBcfProject
@@ -1588,7 +1588,7 @@ Name | Type | Description | Notes
15881588
15891589
Get current user info
15901590

1591-
Get current user info Required scopes: bcf:read
1591+
Get current user info. If request comes from an App, the response is always: { \"id\": None, \"name\": None, \"is_client\": True, } Required scopes: bcf:read
15921592

15931593
### Example
15941594

docs/BcfProject.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**id** | **Number** | | [optional] [readonly]
8+
**projectId** | **String** | | [optional] [readonly]
89
**name** | **String** | Name of the project |
910

1011

docs/BcfUser.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

docs/CollaborationApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Method | HTTP request | Description
3535
[**getClassifications**](CollaborationApi.md#getClassifications) | **GET** /cloud/{cloud_pk}/project/{project_pk}/classification | Retrieve all classifications
3636
[**getCloud**](CollaborationApi.md#getCloud) | **GET** /cloud/{id} | Retrieve one cloud
3737
[**getCloudInvitations**](CollaborationApi.md#getCloudInvitations) | **GET** /cloud/{cloud_pk}/invitation | Retrieve all pending invitations in the cloud
38-
[**getCloudSize**](CollaborationApi.md#getCloudSize) | **GET** /cloud/{id}/size | Get size of all files in the cloud
38+
[**getCloudSize**](CollaborationApi.md#getCloudSize) | **GET** /cloud/{id}/size | Get size of all ifc files in the cloud
3939
[**getCloudUser**](CollaborationApi.md#getCloudUser) | **GET** /cloud/{cloud_pk}/user/{id} | Retrieve a user in a cloud
4040
[**getCloudUsers**](CollaborationApi.md#getCloudUsers) | **GET** /cloud/{cloud_pk}/user | Retrieve all users in a cloud, or a list with a filter by email
4141
[**getClouds**](CollaborationApi.md#getClouds) | **GET** /cloud | Retrieve all clouds
@@ -1941,7 +1941,7 @@ Name | Type | Description | Notes
19411941

19421942
> Number getCloudSize(id)
19431943
1944-
Get size of all files in the cloud
1944+
Get size of all ifc files in the cloud
19451945

19461946
Returns the size of the cloud in Bytes
19471947

docs/Comment.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**guid** | **String** | | [optional]
88
**_date** | **Date** | | [optional]
9-
**author** | **String** | | [optional] [readonly]
9+
**author** | **String** | | [optional]
1010
**comment** | **String** | | [optional]
1111
**viewpointGuid** | **String** | | [optional]
1212
**replyToCommentGuid** | **String** | | [optional]
1313
**topicGuid** | **String** | | [optional] [readonly]
14-
**modifiedAuthor** | **String** | | [optional] [readonly]
14+
**modifiedAuthor** | **String** | | [optional]
1515
**modifiedDate** | **Date** | | [optional] [readonly]
1616
**viewpointTempId** | **Number** | Only used when using POST on the full-topic route to bind viewpoint with comment | [optional]
1717

docs/FullTopic.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**guid** | **String** | | [optional]
88
**creationDate** | **Date** | | [optional]
9-
**creationAuthor** | **String** | | [optional] [readonly]
9+
**creationAuthor** | **String** | | [optional]
1010
**modifiedDate** | **Date** | | [optional] [readonly]
11-
**modifiedAuthor** | **String** | | [optional] [readonly]
11+
**modifiedAuthor** | **String** | | [optional]
1212
**title** | **String** | |
1313
**description** | **String** | | [optional]
1414
**referenceLinks** | **[String]** | | [optional]

docs/Organization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**id** | **Number** | | [optional] [readonly]
88
**name** | **String** | Name of the organization |
9-
**isPersonnal** | **Boolean** | | [optional]
9+
**isPersonnal** | **Boolean** | | [optional] [readonly]
1010

1111

docs/SelfBcfUser.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ Name | Type | Description | Notes
77
**id** | **String** | |
88
**name** | **String** | | [optional] [readonly]
99
**email** | **String** | |
10+
**isClient** | **Boolean** | | [optional] [readonly]
1011

1112

docs/Topic.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ Name | Type | Description | Notes
1111
**priority** | **String** | | [optional]
1212
**labels** | **[String]** | | [optional]
1313
**creationDate** | **Date** | | [optional]
14-
**creationAuthor** | **String** | | [optional] [readonly]
14+
**creationAuthor** | **String** | | [optional]
1515
**modifiedDate** | **Date** | | [optional] [readonly]
16-
**modifiedAuthor** | **String** | | [optional] [readonly]
16+
**modifiedAuthor** | **String** | | [optional]
1717
**assignedTo** | **String** | | [optional]
1818
**referenceLinks** | **[String]** | | [optional]
1919
**stage** | **String** | | [optional]

0 commit comments

Comments
 (0)