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: docs/CollaborationApi.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -956,7 +956,7 @@ Name | Type | Description | Notes
956
956
957
957
Create a document
958
958
959
-
Create a document. If the document is one of {'GLTF', 'POINT_CLOUD', 'DWG', 'OBJ', 'IFC', 'DXF'}, a model will be created and attached to this document Required scopes: document:write
959
+
Create a document. If the document is one of {'GLTF', 'DXF', 'POINT_CLOUD', 'OBJ', 'IFC', 'DWG'}, a model will be created and attached to this document Required scopes: document:write
Copy file name to clipboardExpand all lines: docs/Document.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,8 +20,9 @@ Name | Type | Description | Notes
20
20
**modelId** | **Number** | | [readonly]
21
21
**modelType** | **String** | Model's type. Values can be IFC, DWG, DXF, GLTF, PDF, JPEG, PNG, OBJ, POINT_CLOUD | [readonly]
22
22
**ifcId** | **Number** | DEPRECATED: Use 'model_id' instead. | [readonly]
23
-
**userPermission** | **Number** | Aggregate of group user permissions and folder default permission | [readonly]
23
+
**headId** | **Number** | Document id of head version | [readonly]
24
24
**isHeadVersion** | **Boolean** | Document is a head of version or is owned by another document | [readonly]
25
+
**userPermission** | **Number** | Aggregate of group user permissions and folder default permission | [readonly]
25
26
**officePreview** | **String** | Office files will be converted as pdf to provide a web preview. Supported extensions are .ppt, .pptx, .odp, .xls, .xlsx, .ods, .doc, .docx, .odt | [readonly]
Copy file name to clipboardExpand all lines: src/api/CollaborationApi.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -859,7 +859,7 @@ export default class CollaborationApi {
859
859
860
860
/**
861
861
* Create a document
862
-
* Create a document. If the document is one of {'GLTF', 'POINT_CLOUD', 'DWG', 'OBJ', 'IFC', 'DXF'}, a model will be created and attached to this document Required scopes: document:write
862
+
* Create a document. If the document is one of {'GLTF', 'DXF', 'POINT_CLOUD', 'OBJ', 'IFC', 'DWG'}, a model will be created and attached to this document Required scopes: document:write
863
863
* @param {Number} cloudPk A unique integer value identifying this cloud.
864
864
* @param {Number} projectPk A unique integer value identifying this project.
865
865
* @param {String} name Shown name of the file
@@ -925,7 +925,7 @@ export default class CollaborationApi {
925
925
926
926
/**
927
927
* Create a document
928
-
* Create a document. If the document is one of {'GLTF', 'POINT_CLOUD', 'DWG', 'OBJ', 'IFC', 'DXF'}, a model will be created and attached to this document Required scopes: document:write
928
+
* Create a document. If the document is one of {'GLTF', 'DXF', 'POINT_CLOUD', 'OBJ', 'IFC', 'DWG'}, a model will be created and attached to this document Required scopes: document:write
929
929
* @param {Number} cloudPk A unique integer value identifying this cloud.
930
930
* @param {Number} projectPk A unique integer value identifying this project.
Copy file name to clipboardExpand all lines: src/model/Document.js
+21-10Lines changed: 21 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -38,21 +38,22 @@ class Document {
38
38
* @param modelId {Number}
39
39
* @param modelType {module:model/Document.ModelTypeEnum} Model's type. Values can be IFC, DWG, DXF, GLTF, PDF, JPEG, PNG, OBJ, POINT_CLOUD
40
40
* @param ifcId {Number} DEPRECATED: Use 'model_id' instead.
41
-
* @paramuserPermission {module:model/Document.UserPermissionEnum} Aggregate of group user permissions and folder default permission
41
+
* @paramheadId {Number} Document id of head version
42
42
* @param isHeadVersion {Boolean} Document is a head of version or is owned by another document
43
+
* @param userPermission {module:model/Document.UserPermissionEnum} Aggregate of group user permissions and folder default permission
43
44
* @param officePreview {String} Office files will be converted as pdf to provide a web preview. Supported extensions are .ppt, .pptx, .odp, .xls, .xlsx, .ods, .doc, .docx, .odt
0 commit comments