All URIs are relative to https://api-beta.bimdata.io
| Method | HTTP request | Description |
|---|---|---|
| createClassification | POST /cloud/{cloud_pk}/project/{project_pk}/classification | |
| createDocument | POST /cloud/{cloud_pk}/project/{project_pk}/document | |
| createFolder | POST /cloud/{cloud_pk}/project/{project_pk}/folder | |
| createProject | POST /cloud/{cloud_pk}/project | |
| deleteClassification | DELETE /cloud/{cloud_pk}/project/{project_pk}/classification/{id} | |
| deleteDocument | DELETE /cloud/{cloud_pk}/project/{project_pk}/document/{id} | |
| deleteFolder | DELETE /cloud/{cloud_pk}/project/{project_pk}/folder/{id} | |
| deleteProject | DELETE /cloud/{cloud_pk}/project/{id} | |
| deleteProjectUser | DELETE /cloud/{cloud_pk}/project/{project_pk}/user/{id} | |
| fullUpdateClassification | PUT /cloud/{cloud_pk}/project/{project_pk}/classification/{id} | |
| fullUpdateDocument | PUT /cloud/{cloud_pk}/project/{project_pk}/document/{id} | |
| fullUpdateFolder | PUT /cloud/{cloud_pk}/project/{project_pk}/folder/{id} | |
| fullUpdateProject | PUT /cloud/{cloud_pk}/project/{id} | |
| fullUpdateProjectUser | PUT /cloud/{cloud_pk}/project/{project_pk}/user/{id} | |
| getClassification | GET /cloud/{cloud_pk}/project/{project_pk}/classification/{id} | |
| getClassifications | GET /cloud/{cloud_pk}/project/{project_pk}/classification | |
| getDocument | GET /cloud/{cloud_pk}/project/{project_pk}/document/{id} | |
| getDocuments | GET /cloud/{cloud_pk}/project/{project_pk}/document | |
| getFolder | GET /cloud/{cloud_pk}/project/{project_pk}/folder/{id} | |
| getFolders | GET /cloud/{cloud_pk}/project/{project_pk}/folder | |
| getProject | GET /cloud/{cloud_pk}/project/{id} | |
| getProjectTree | GET /cloud/{cloud_pk}/project/{id}/tree | |
| getProjectUser | GET /cloud/{cloud_pk}/project/{project_pk}/user/{id} | |
| getProjectUsers | GET /cloud/{cloud_pk}/project/{project_pk}/user | |
| getProjects | GET /cloud/{cloud_pk}/project | |
| projectInvite | POST /cloud/{cloud_pk}/project/{id}/invite | |
| updateClassification | PATCH /cloud/{cloud_pk}/project/{project_pk}/classification/{id} | |
| updateDocument | PATCH /cloud/{cloud_pk}/project/{project_pk}/document/{id} | |
| updateFolder | PATCH /cloud/{cloud_pk}/project/{project_pk}/folder/{id} | |
| updateProject | PATCH /cloud/{cloud_pk}/project/{id} | |
| updateProjectUser | PATCH /cloud/{cloud_pk}/project/{project_pk}/user/{id} |
[Classification] createClassification(cloudPk, projectPk, classification)
Bulk create available. You can either post an object or a list of objects. Is you post a list, the response will be a list (in the same order) of created objects or of errors if any If at least one create succeeded, the status code will be 201. If every create failed, the status code we'll be 400 with the list of errors If created classification already exists, it will not be duplicated and the previous one will be returned. You also can add a 'classification' filter on this endpoint. By ex: /classification?name='untec'. The name is case sensitive
var bimdata = require('@bimdata/bimdata-api-client');
var defaultClient = bimdata.ApiClient.instance;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new bimdata.ProjectApi();
var cloudPk = "cloudPk_example"; // String |
var projectPk = "projectPk_example"; // String |
var classification = [new bimdata.Classification()]; // [Classification] |
apiInstance.createClassification(cloudPk, projectPk, classification).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| cloudPk | String | ||
| projectPk | String | ||
| classification | [Classification] |
- Content-Type: application/json
- Accept: application/json
Document createDocument(cloudPk, projectPk, name, opts)
var bimdata = require('@bimdata/bimdata-api-client');
var defaultClient = bimdata.ApiClient.instance;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new bimdata.ProjectApi();
var cloudPk = "cloudPk_example"; // String |
var projectPk = "projectPk_example"; // String |
var name = "name_example"; // String |
var opts = {
'parent': 56, // Number |
'parentId': 56, // Number |
'creator': 56, // Number |
'project': 56, // Number |
'fileName': "fileName_example", // String |
'description': "description_example", // String |
'file': "/path/to/file", // File |
'size': 56 // Number |
};
apiInstance.createDocument(cloudPk, projectPk, name, opts).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| cloudPk | String | ||
| projectPk | String | ||
| name | String | ||
| parent | Number | [optional] | |
| parentId | Number | [optional] | |
| creator | Number | [optional] | |
| project | Number | [optional] | |
| fileName | String | [optional] | |
| description | String | [optional] | |
| file | File | [optional] | |
| size | Number | [optional] |
- Content-Type: multipart/form-data, application/x-www-form-urlencoded
- Accept: application/json
Folder createFolder(cloudPk, projectPk, folder)
var bimdata = require('@bimdata/bimdata-api-client');
var defaultClient = bimdata.ApiClient.instance;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new bimdata.ProjectApi();
var cloudPk = "cloudPk_example"; // String |
var projectPk = "projectPk_example"; // String |
var folder = new bimdata.Folder(); // Folder |
apiInstance.createFolder(cloudPk, projectPk, folder).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| cloudPk | String | ||
| projectPk | String | ||
| folder | Folder |
- Content-Type: application/json
- Accept: application/json
Project createProject(cloudPk, project)
var bimdata = require('@bimdata/bimdata-api-client');
var defaultClient = bimdata.ApiClient.instance;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new bimdata.ProjectApi();
var cloudPk = "cloudPk_example"; // String |
var project = new bimdata.Project(); // Project |
apiInstance.createProject(cloudPk, project).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| cloudPk | String | ||
| project | Project |
- Content-Type: application/json
- Accept: application/json
deleteClassification(cloudPk, id, projectPk)
var bimdata = require('@bimdata/bimdata-api-client');
var defaultClient = bimdata.ApiClient.instance;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new bimdata.ProjectApi();
var cloudPk = "cloudPk_example"; // String |
var id = 56; // Number | A unique integer value identifying this classification.
var projectPk = "projectPk_example"; // String |
apiInstance.deleteClassification(cloudPk, id, projectPk).then(function() {
console.log('API called successfully.');
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| cloudPk | String | ||
| id | Number | A unique integer value identifying this classification. | |
| projectPk | String |
null (empty response body)
- Content-Type: Not defined
- Accept: Not defined
Document deleteDocument(cloudPk, id, projectPk)
var bimdata = require('@bimdata/bimdata-api-client');
var defaultClient = bimdata.ApiClient.instance;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new bimdata.ProjectApi();
var cloudPk = "cloudPk_example"; // String |
var id = 56; // Number | A unique integer value identifying this document.
var projectPk = "projectPk_example"; // String |
apiInstance.deleteDocument(cloudPk, id, projectPk).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| cloudPk | String | ||
| id | Number | A unique integer value identifying this document. | |
| projectPk | String |
- Content-Type: Not defined
- Accept: application/json
deleteFolder(cloudPk, id, projectPk)
var bimdata = require('@bimdata/bimdata-api-client');
var defaultClient = bimdata.ApiClient.instance;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new bimdata.ProjectApi();
var cloudPk = "cloudPk_example"; // String |
var id = 56; // Number | A unique integer value identifying this folder.
var projectPk = "projectPk_example"; // String |
apiInstance.deleteFolder(cloudPk, id, projectPk).then(function() {
console.log('API called successfully.');
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| cloudPk | String | ||
| id | Number | A unique integer value identifying this folder. | |
| projectPk | String |
null (empty response body)
- Content-Type: Not defined
- Accept: Not defined
deleteProject(cloudPk, id)
var bimdata = require('@bimdata/bimdata-api-client');
var defaultClient = bimdata.ApiClient.instance;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new bimdata.ProjectApi();
var cloudPk = "cloudPk_example"; // String |
var id = 56; // Number | A unique integer value identifying this project.
apiInstance.deleteProject(cloudPk, id).then(function() {
console.log('API called successfully.');
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| cloudPk | String | ||
| id | Number | A unique integer value identifying this project. |
null (empty response body)
- Content-Type: Not defined
- Accept: Not defined
deleteProjectUser(cloudPk, id, projectPk)
var bimdata = require('@bimdata/bimdata-api-client');
var defaultClient = bimdata.ApiClient.instance;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new bimdata.ProjectApi();
var cloudPk = "cloudPk_example"; // String |
var id = "id_example"; // String |
var projectPk = "projectPk_example"; // String |
apiInstance.deleteProjectUser(cloudPk, id, projectPk).then(function() {
console.log('API called successfully.');
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| cloudPk | String | ||
| id | String | ||
| projectPk | String |
null (empty response body)
- Content-Type: Not defined
- Accept: Not defined
Classification fullUpdateClassification(cloudPk, id, projectPk, classification)
var bimdata = require('@bimdata/bimdata-api-client');
var defaultClient = bimdata.ApiClient.instance;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new bimdata.ProjectApi();
var cloudPk = "cloudPk_example"; // String |
var id = 56; // Number | A unique integer value identifying this classification.
var projectPk = "projectPk_example"; // String |
var classification = new bimdata.Classification(); // Classification |
apiInstance.fullUpdateClassification(cloudPk, id, projectPk, classification).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| cloudPk | String | ||
| id | Number | A unique integer value identifying this classification. | |
| projectPk | String | ||
| classification | Classification |
- Content-Type: application/json
- Accept: application/json
Document fullUpdateDocument(cloudPk, id, projectPk, name, opts)
var bimdata = require('@bimdata/bimdata-api-client');
var defaultClient = bimdata.ApiClient.instance;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new bimdata.ProjectApi();
var cloudPk = "cloudPk_example"; // String |
var id = 56; // Number | A unique integer value identifying this document.
var projectPk = "projectPk_example"; // String |
var name = "name_example"; // String |
var opts = {
'parent': 56, // Number |
'parentId': 56, // Number |
'creator': 56, // Number |
'project': 56, // Number |
'fileName': "fileName_example", // String |
'description': "description_example", // String |
'file': "/path/to/file", // File |
'size': 56 // Number |
};
apiInstance.fullUpdateDocument(cloudPk, id, projectPk, name, opts).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| cloudPk | String | ||
| id | Number | A unique integer value identifying this document. | |
| projectPk | String | ||
| name | String | ||
| parent | Number | [optional] | |
| parentId | Number | [optional] | |
| creator | Number | [optional] | |
| project | Number | [optional] | |
| fileName | String | [optional] | |
| description | String | [optional] | |
| file | File | [optional] | |
| size | Number | [optional] |
- Content-Type: multipart/form-data, application/x-www-form-urlencoded
- Accept: application/json
Folder fullUpdateFolder(cloudPk, id, projectPk, folder)
var bimdata = require('@bimdata/bimdata-api-client');
var defaultClient = bimdata.ApiClient.instance;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new bimdata.ProjectApi();
var cloudPk = "cloudPk_example"; // String |
var id = 56; // Number | A unique integer value identifying this folder.
var projectPk = "projectPk_example"; // String |
var folder = new bimdata.Folder(); // Folder |
apiInstance.fullUpdateFolder(cloudPk, id, projectPk, folder).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| cloudPk | String | ||
| id | Number | A unique integer value identifying this folder. | |
| projectPk | String | ||
| folder | Folder |
- Content-Type: application/json
- Accept: application/json
Project fullUpdateProject(cloudPk, id, project)
var bimdata = require('@bimdata/bimdata-api-client');
var defaultClient = bimdata.ApiClient.instance;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new bimdata.ProjectApi();
var cloudPk = "cloudPk_example"; // String |
var id = 56; // Number | A unique integer value identifying this project.
var project = new bimdata.Project(); // Project |
apiInstance.fullUpdateProject(cloudPk, id, project).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| cloudPk | String | ||
| id | Number | A unique integer value identifying this project. | |
| project | Project |
- Content-Type: application/json
- Accept: application/json
User fullUpdateProjectUser(cloudPk, id, projectPk, userProjectUpdate)
Change the user role in the cloud
var bimdata = require('@bimdata/bimdata-api-client');
var defaultClient = bimdata.ApiClient.instance;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new bimdata.ProjectApi();
var cloudPk = "cloudPk_example"; // String |
var id = "id_example"; // String |
var projectPk = "projectPk_example"; // String |
var userProjectUpdate = new bimdata.UserProjectUpdate(); // UserProjectUpdate |
apiInstance.fullUpdateProjectUser(cloudPk, id, projectPk, userProjectUpdate).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| cloudPk | String | ||
| id | String | ||
| projectPk | String | ||
| userProjectUpdate | UserProjectUpdate |
- Content-Type: application/json
- Accept: application/json
Classification getClassification(cloudPk, id, projectPk)
var bimdata = require('@bimdata/bimdata-api-client');
var defaultClient = bimdata.ApiClient.instance;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new bimdata.ProjectApi();
var cloudPk = "cloudPk_example"; // String |
var id = 56; // Number | A unique integer value identifying this classification.
var projectPk = "projectPk_example"; // String |
apiInstance.getClassification(cloudPk, id, projectPk).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| cloudPk | String | ||
| id | Number | A unique integer value identifying this classification. | |
| projectPk | String |
- Content-Type: Not defined
- Accept: application/json
[Classification] getClassifications(cloudPk, projectPk)
var bimdata = require('@bimdata/bimdata-api-client');
var defaultClient = bimdata.ApiClient.instance;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new bimdata.ProjectApi();
var cloudPk = "cloudPk_example"; // String |
var projectPk = "projectPk_example"; // String |
apiInstance.getClassifications(cloudPk, projectPk).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| cloudPk | String | ||
| projectPk | String |
- Content-Type: Not defined
- Accept: application/json
Document getDocument(cloudPk, id, projectPk)
var bimdata = require('@bimdata/bimdata-api-client');
var defaultClient = bimdata.ApiClient.instance;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new bimdata.ProjectApi();
var cloudPk = "cloudPk_example"; // String |
var id = 56; // Number | A unique integer value identifying this document.
var projectPk = "projectPk_example"; // String |
apiInstance.getDocument(cloudPk, id, projectPk).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| cloudPk | String | ||
| id | Number | A unique integer value identifying this document. | |
| projectPk | String |
- Content-Type: Not defined
- Accept: application/json
Document getDocuments(cloudPk, projectPk)
var bimdata = require('@bimdata/bimdata-api-client');
var defaultClient = bimdata.ApiClient.instance;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new bimdata.ProjectApi();
var cloudPk = "cloudPk_example"; // String |
var projectPk = "projectPk_example"; // String |
apiInstance.getDocuments(cloudPk, projectPk).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| cloudPk | String | ||
| projectPk | String |
- Content-Type: Not defined
- Accept: application/json
Folder getFolder(cloudPk, id, projectPk)
var bimdata = require('@bimdata/bimdata-api-client');
var defaultClient = bimdata.ApiClient.instance;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new bimdata.ProjectApi();
var cloudPk = "cloudPk_example"; // String |
var id = 56; // Number | A unique integer value identifying this folder.
var projectPk = "projectPk_example"; // String |
apiInstance.getFolder(cloudPk, id, projectPk).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| cloudPk | String | ||
| id | Number | A unique integer value identifying this folder. | |
| projectPk | String |
- Content-Type: Not defined
- Accept: application/json
[Folder] getFolders(cloudPk, projectPk)
var bimdata = require('@bimdata/bimdata-api-client');
var defaultClient = bimdata.ApiClient.instance;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new bimdata.ProjectApi();
var cloudPk = "cloudPk_example"; // String |
var projectPk = "projectPk_example"; // String |
apiInstance.getFolders(cloudPk, projectPk).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| cloudPk | String | ||
| projectPk | String |
- Content-Type: Not defined
- Accept: application/json
Project getProject(cloudPk, id)
var bimdata = require('@bimdata/bimdata-api-client');
var defaultClient = bimdata.ApiClient.instance;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new bimdata.ProjectApi();
var cloudPk = "cloudPk_example"; // String |
var id = 56; // Number | A unique integer value identifying this project.
apiInstance.getProject(cloudPk, id).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| cloudPk | String | ||
| id | Number | A unique integer value identifying this project. |
- Content-Type: Not defined
- Accept: application/json
Folder getProjectTree(cloudPk, id)
Returns the document tree from root folder
var bimdata = require('@bimdata/bimdata-api-client');
var defaultClient = bimdata.ApiClient.instance;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new bimdata.ProjectApi();
var cloudPk = "cloudPk_example"; // String |
var id = 56; // Number | A unique integer value identifying this project.
apiInstance.getProjectTree(cloudPk, id).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| cloudPk | String | ||
| id | Number | A unique integer value identifying this project. |
- Content-Type: Not defined
- Accept: application/json
User getProjectUser(cloudPk, id, projectPk)
var bimdata = require('@bimdata/bimdata-api-client');
var defaultClient = bimdata.ApiClient.instance;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new bimdata.ProjectApi();
var cloudPk = "cloudPk_example"; // String |
var id = "id_example"; // String |
var projectPk = "projectPk_example"; // String |
apiInstance.getProjectUser(cloudPk, id, projectPk).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| cloudPk | String | ||
| id | String | ||
| projectPk | String |
- Content-Type: Not defined
- Accept: application/json
[User] getProjectUsers(cloudPk, projectPk)
var bimdata = require('@bimdata/bimdata-api-client');
var defaultClient = bimdata.ApiClient.instance;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new bimdata.ProjectApi();
var cloudPk = "cloudPk_example"; // String |
var projectPk = "projectPk_example"; // String |
apiInstance.getProjectUsers(cloudPk, projectPk).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| cloudPk | String | ||
| projectPk | String |
- Content-Type: Not defined
- Accept: application/json
[Project] getProjects(cloudPk)
var bimdata = require('@bimdata/bimdata-api-client');
var defaultClient = bimdata.ApiClient.instance;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new bimdata.ProjectApi();
var cloudPk = "cloudPk_example"; // String |
apiInstance.getProjects(cloudPk).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| cloudPk | String |
- Content-Type: Not defined
- Accept: application/json
projectInvite(cloudPk, id, projectInvitation)
Invite a user to collaborate in the project. The cloud role will be USER
var bimdata = require('@bimdata/bimdata-api-client');
var defaultClient = bimdata.ApiClient.instance;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new bimdata.ProjectApi();
var cloudPk = "cloudPk_example"; // String |
var id = 56; // Number | A unique integer value identifying this project.
var projectInvitation = new bimdata.ProjectInvitation(); // ProjectInvitation |
apiInstance.projectInvite(cloudPk, id, projectInvitation).then(function() {
console.log('API called successfully.');
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| cloudPk | String | ||
| id | Number | A unique integer value identifying this project. | |
| projectInvitation | ProjectInvitation |
null (empty response body)
- Content-Type: application/json
- Accept: Not defined
Classification updateClassification(cloudPk, id, projectPk, classification)
var bimdata = require('@bimdata/bimdata-api-client');
var defaultClient = bimdata.ApiClient.instance;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new bimdata.ProjectApi();
var cloudPk = "cloudPk_example"; // String |
var id = 56; // Number | A unique integer value identifying this classification.
var projectPk = "projectPk_example"; // String |
var classification = new bimdata.Classification(); // Classification |
apiInstance.updateClassification(cloudPk, id, projectPk, classification).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| cloudPk | String | ||
| id | Number | A unique integer value identifying this classification. | |
| projectPk | String | ||
| classification | Classification |
- Content-Type: application/json
- Accept: application/json
Document updateDocument(cloudPk, id, projectPk, document)
var bimdata = require('@bimdata/bimdata-api-client');
var defaultClient = bimdata.ApiClient.instance;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new bimdata.ProjectApi();
var cloudPk = "cloudPk_example"; // String |
var id = 56; // Number | A unique integer value identifying this document.
var projectPk = "projectPk_example"; // String |
var document = new bimdata.Document(); // Document |
apiInstance.updateDocument(cloudPk, id, projectPk, document).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| cloudPk | String | ||
| id | Number | A unique integer value identifying this document. | |
| projectPk | String | ||
| document | Document |
- Content-Type: application/json
- Accept: application/json
Folder updateFolder(cloudPk, id, projectPk, folder)
var bimdata = require('@bimdata/bimdata-api-client');
var defaultClient = bimdata.ApiClient.instance;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new bimdata.ProjectApi();
var cloudPk = "cloudPk_example"; // String |
var id = 56; // Number | A unique integer value identifying this folder.
var projectPk = "projectPk_example"; // String |
var folder = new bimdata.Folder(); // Folder |
apiInstance.updateFolder(cloudPk, id, projectPk, folder).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| cloudPk | String | ||
| id | Number | A unique integer value identifying this folder. | |
| projectPk | String | ||
| folder | Folder |
- Content-Type: application/json
- Accept: application/json
Project updateProject(cloudPk, id, project)
var bimdata = require('@bimdata/bimdata-api-client');
var defaultClient = bimdata.ApiClient.instance;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new bimdata.ProjectApi();
var cloudPk = "cloudPk_example"; // String |
var id = 56; // Number | A unique integer value identifying this project.
var project = new bimdata.Project(); // Project |
apiInstance.updateProject(cloudPk, id, project).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| cloudPk | String | ||
| id | Number | A unique integer value identifying this project. | |
| project | Project |
- Content-Type: application/json
- Accept: application/json
User updateProjectUser(cloudPk, id, projectPk, userProjectUpdate)
Change the user role in the cloud
var bimdata = require('@bimdata/bimdata-api-client');
var defaultClient = bimdata.ApiClient.instance;
// Configure API key authorization: Bearer
var Bearer = defaultClient.authentications['Bearer'];
Bearer.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.apiKeyPrefix = 'Token';
var apiInstance = new bimdata.ProjectApi();
var cloudPk = "cloudPk_example"; // String |
var id = "id_example"; // String |
var projectPk = "projectPk_example"; // String |
var userProjectUpdate = new bimdata.UserProjectUpdate(); // UserProjectUpdate |
apiInstance.updateProjectUser(cloudPk, id, projectPk, userProjectUpdate).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| cloudPk | String | ||
| id | String | ||
| projectPk | String | ||
| userProjectUpdate | UserProjectUpdate |
- Content-Type: application/json
- Accept: application/json