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

Commit f26be31

Browse files
committed
PATCH: allow empty files
1 parent 9e44b9d commit f26be31

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/CollaborationApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,7 @@ Name | Type | Description | Notes
824824
825825
Create a document
826826

827-
Create a document. If the document is one of {'DWG', 'OBJ', 'GLTF', 'IFC', 'BFX', 'DXF', 'DAE'}, a model will be created and attached to this document Required scopes: document:write
827+
Create a document. If the document is one of {'BFX', 'DXF', 'DAE', 'GLTF', 'OBJ', 'DWG', 'IFC'}, a model will be created and attached to this document Required scopes: document:write
828828

829829
### Example
830830

src/api/CollaborationApi.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@ export default class CollaborationApi {
751751

752752
/**
753753
* Create a document
754-
* Create a document. If the document is one of {'DWG', 'OBJ', 'GLTF', 'IFC', 'BFX', 'DXF', 'DAE'}, a model will be created and attached to this document Required scopes: document:write
754+
* Create a document. If the document is one of {'BFX', 'DXF', 'DAE', 'GLTF', 'OBJ', 'DWG', 'IFC'}, a model will be created and attached to this document Required scopes: document:write
755755
* @param {Number} cloudPk A unique integer value identifying this cloud.
756756
* @param {Number} projectPk A unique integer value identifying this project.
757757
* @param {String} name Shown name of the file
@@ -819,7 +819,7 @@ export default class CollaborationApi {
819819

820820
/**
821821
* Create a document
822-
* Create a document. If the document is one of {'DWG', 'OBJ', 'GLTF', 'IFC', 'BFX', 'DXF', 'DAE'}, a model will be created and attached to this document Required scopes: document:write
822+
* Create a document. If the document is one of {'BFX', 'DXF', 'DAE', 'GLTF', 'OBJ', 'DWG', 'IFC'}, a model will be created and attached to this document Required scopes: document:write
823823
* @param {Number} cloudPk A unique integer value identifying this cloud.
824824
* @param {Number} projectPk A unique integer value identifying this project.
825825
* @param {String} name Shown name of the file

0 commit comments

Comments
 (0)