![]() |
Infohub JS API
|
Represents one project-scoped BCF API resource.
Public Member Functions | |
| get | commentEvents () |
| document (documentId) | |
| get | documents () |
| get | extensions () |
| get | filesInformation () |
| get () | |
| topic (topicId) | |
| get | topicEvents () |
| get | topics () |
| update (projectData) | |
| get commentEvents | ( | ) |
Gets the project-wide comment-event collection.
| document | ( | documentId | ) |
Selects a document stored at project level (documents are uploaded/downloaded here, not under a topic - see BcfTopicResource#documents).
| {string} | documentId - BCF document identifier. |
| get documents | ( | ) |
Gets the project's document collection, fetched straight from the infohub Hub instead of through BCF's topic-nested listing endpoint - see BcfProjectDocumentsResource.
| get extensions | ( | ) |
Gets the project's extension value lists (topic types, statuses, labels, users, ...).
| get filesInformation | ( | ) |
Gets the file information of the project - the IFC files topics can refer to.
| get | ( | ) |
| topic | ( | topicId | ) |
Selects a topic in this project.
| {string} | topicId - BCF topic identifier. |
| get topicEvents | ( | ) |
Gets the project-wide topic-event collection (audit trail of all topic changes).
| get topics | ( | ) |
Gets the project's topic collection.
| update | ( | projectData | ) |
Updates the project.
The current server applies only the name field.
| {{name | string}} projectData - Replacement project name. |