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

Commit 1cadc78

Browse files
committed
PATCH: Add BCF document references (#903)
* add tests, improve documentation * remove useless field, add some tests * remove document_url * add warning
1 parent 7ba33a9 commit 1cadc78

24 files changed

+949
-288
lines changed

.openapi-generator/FILES

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ docs/Direction.md
3939
docs/DirectionRequest.md
4040
docs/Document.md
4141
docs/DocumentPreviewFile.md
42+
docs/DocumentReference.md
43+
docs/DocumentReferenceRequest.md
4244
docs/DocumentText.md
4345
docs/DocumentWithElementList.md
4446
docs/Drawing.md
@@ -319,6 +321,8 @@ src/model/Direction.js
319321
src/model/DirectionRequest.js
320322
src/model/Document.js
321323
src/model/DocumentPreviewFile.js
324+
src/model/DocumentReference.js
325+
src/model/DocumentReferenceRequest.js
322326
src/model/DocumentText.js
323327
src/model/DocumentWithElementList.js
324328
src/model/Drawing.js
@@ -592,6 +596,8 @@ test/model/Direction.spec.js
592596
test/model/DirectionRequest.spec.js
593597
test/model/Document.spec.js
594598
test/model/DocumentPreviewFile.spec.js
599+
test/model/DocumentReference.spec.js
600+
test/model/DocumentReferenceRequest.spec.js
595601
test/model/DocumentText.spec.js
596602
test/model/DocumentWithElementList.spec.js
597603
test/model/Drawing.spec.js

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ All URIs are relative to *http://localhost*
142142
Class | Method | HTTP request | Description
143143
------------ | ------------- | ------------- | -------------
144144
*bimdata.BcfApi* | [**createComment**](docs/BcfApi.md#createComment) | **POST** /bcf/2.1/projects/{projects_pk}/topics/{topics_guid}/comments | Create a comment
145+
*bimdata.BcfApi* | [**createDocumentReference**](docs/BcfApi.md#createDocumentReference) | **POST** /bcf/2.1/projects/{projects_pk}/topics/{guid}/document_references | Create a reference to a document
145146
*bimdata.BcfApi* | [**createExtensionLabel**](docs/BcfApi.md#createExtensionLabel) | **POST** /bcf/2.1/projects/{projects_pk}/extension/label | Create a Label
146147
*bimdata.BcfApi* | [**createExtensionPriority**](docs/BcfApi.md#createExtensionPriority) | **POST** /bcf/2.1/projects/{projects_pk}/extension/priority | Create a Priority
147148
*bimdata.BcfApi* | [**createExtensionStage**](docs/BcfApi.md#createExtensionStage) | **POST** /bcf/2.1/projects/{projects_pk}/extension/stage | Create a Stage
@@ -164,6 +165,7 @@ Class | Method | HTTP request | Description
164165
*bimdata.BcfApi* | [**downloadBcfExportXlsx**](docs/BcfApi.md#downloadBcfExportXlsx) | **GET** /bcf/2.1/projects/{id}/export-xlsx | Export project's topics in excel format
165166
*bimdata.BcfApi* | [**fullUpdateBcfProject**](docs/BcfApi.md#fullUpdateBcfProject) | **PUT** /bcf/2.1/projects/{id} | Update all fields of a BCF project
166167
*bimdata.BcfApi* | [**fullUpdateComment**](docs/BcfApi.md#fullUpdateComment) | **PUT** /bcf/2.1/projects/{projects_pk}/topics/{topics_guid}/comments/{guid} | Update all fields of a comment
168+
*bimdata.BcfApi* | [**fullUpdateDocumentReference**](docs/BcfApi.md#fullUpdateDocumentReference) | **PUT** /bcf/2.1/projects/{projects_pk}/topics/{guid}/document_references | Add or update document references to a topic
167169
*bimdata.BcfApi* | [**fullUpdateFullTopic**](docs/BcfApi.md#fullUpdateFullTopic) | **PUT** /bcf/2.1/projects/{projects_pk}/full-topic/{guid} | Update all fields of a topic
168170
*bimdata.BcfApi* | [**fullUpdatePin**](docs/BcfApi.md#fullUpdatePin) | **PUT** /bcf/2.1/projects/{projects_pk}/topics/{topics_guid}/viewpoints/{viewpoints_guid}/pin/{guid} | Update all fields of a Pin
169171
*bimdata.BcfApi* | [**fullUpdateTopic**](docs/BcfApi.md#fullUpdateTopic) | **PUT** /bcf/2.1/projects/{projects_pk}/topics/{guid} | Update all fields of a topic
@@ -174,6 +176,7 @@ Class | Method | HTTP request | Description
174176
*bimdata.BcfApi* | [**getComment**](docs/BcfApi.md#getComment) | **GET** /bcf/2.1/projects/{projects_pk}/topics/{topics_guid}/comments/{guid} | Retrieve a comment
175177
*bimdata.BcfApi* | [**getComments**](docs/BcfApi.md#getComments) | **GET** /bcf/2.1/projects/{projects_pk}/topics/{topics_guid}/comments | Retrieve all comments
176178
*bimdata.BcfApi* | [**getDetailedExtensions**](docs/BcfApi.md#getDetailedExtensions) | **GET** /bcf/2.1/projects/{id}/detailed-extensions | Retrieve project detailed extensions
179+
*bimdata.BcfApi* | [**getDocumentReferences**](docs/BcfApi.md#getDocumentReferences) | **GET** /bcf/2.1/projects/{projects_pk}/topics/{guid}/document_references | Retrieve all documents referenced by the topic
177180
*bimdata.BcfApi* | [**getExtensions**](docs/BcfApi.md#getExtensions) | **GET** /bcf/2.1/projects/{id}/extensions | Retrieve project extensions
178181
*bimdata.BcfApi* | [**getFullTopic**](docs/BcfApi.md#getFullTopic) | **GET** /bcf/2.1/projects/{projects_pk}/full-topic/{guid} | Retrieve a full topic
179182
*bimdata.BcfApi* | [**getFullTopics**](docs/BcfApi.md#getFullTopics) | **GET** /bcf/2.1/projects/{projects_pk}/full-topic | Retrieve all full topics
@@ -182,7 +185,6 @@ Class | Method | HTTP request | Description
182185
*bimdata.BcfApi* | [**getSelections**](docs/BcfApi.md#getSelections) | **GET** /bcf/2.1/projects/{projects_pk}/topics/{topics_guid}/viewpoints/{guid}/selection | Retrieve all selections of a viewpoint
183186
*bimdata.BcfApi* | [**getSnapshot**](docs/BcfApi.md#getSnapshot) | **GET** /bcf/2.1/projects/{projects_pk}/topics/{topics_guid}/viewpoints/{guid}/snapshot | Retrieve the viewpoint' snapshot
184187
*bimdata.BcfApi* | [**getTopic**](docs/BcfApi.md#getTopic) | **GET** /bcf/2.1/projects/{projects_pk}/topics/{guid} | Retrieve a topic
185-
*bimdata.BcfApi* | [**getTopicDocumentReferences**](docs/BcfApi.md#getTopicDocumentReferences) | **GET** /bcf/2.1/projects/{projects_pk}/topics/{guid}/document_references | Get all related documents
186188
*bimdata.BcfApi* | [**getTopicViewpoints**](docs/BcfApi.md#getTopicViewpoints) | **GET** /bcf/2.1/projects/{projects_pk}/topics/{topics_guid}/topic-viewpoints | Retrieve all viewpoints attached to the topic
187189
*bimdata.BcfApi* | [**getTopics**](docs/BcfApi.md#getTopics) | **GET** /bcf/2.1/projects/{projects_pk}/topics | Retrieve all topics
188190
*bimdata.BcfApi* | [**getTopicsPins**](docs/BcfApi.md#getTopicsPins) | **GET** /bcf/2.1/projects/{projects_pk}/topics/pins | Get pins of all or many topics
@@ -536,6 +538,8 @@ Class | Method | HTTP request | Description
536538
- [bimdata.DirectionRequest](docs/DirectionRequest.md)
537539
- [bimdata.Document](docs/Document.md)
538540
- [bimdata.DocumentPreviewFile](docs/DocumentPreviewFile.md)
541+
- [bimdata.DocumentReference](docs/DocumentReference.md)
542+
- [bimdata.DocumentReferenceRequest](docs/DocumentReferenceRequest.md)
539543
- [bimdata.DocumentText](docs/DocumentText.md)
540544
- [bimdata.DocumentWithElementList](docs/DocumentWithElementList.md)
541545
- [bimdata.Drawing](docs/Drawing.md)

0 commit comments

Comments
 (0)