Raw project data received from the server. For more information, see Open Cloud Projects API.
HTTP client instance used to send requests to the REST API server.
Endpoint-specific HTTP headers for the GET
, POST
, PUT
and DELETE
requests. You can add
custom headers at any time.
Endpoint API path relative to the REST API server URL.
Project features the user has access to.
Actions are allowed to be performed:
update
- The ability to update the project details.createTopic
- The ability to create a new topic.createDocument
- The ability to create a new document.Project creation time (UTC) in the format specified in ISO 8601.
Project custom fields object, to store custom data.
Raw project data received from the server. For more information, see Open Cloud Projects API.
Project description.
Project end date in the format specified in ISO 8601.
Unique project ID.
The number of members in the project.
The number of models in the project.
Project name.
Project owner information.
Project preview image URL or empty string if the project does not have a preview. Use setPreview() to change preview image.
true
if project is shared project.
Project start date in the format specified in ISO 8601.
The number of topics in the project.
Project last update time (UTC) in the format specified in ISO 8601.
Adds a file to the project with specified permissions.
To change file permissions for the project use Permission.actions.
File ID.
Actions are allowed to be performed on a file:
read
- The ability to read file description, geometry data and properties.readSourceFile
- The ability to download source file.write
- The ability to modify file name, description and references.readViewpoint
- The ability to read file viewpoints.createViewpoint
- The ability to create file viewpoints.Specifies whether all users have access to the file or not.
Returns a file instance added to the project.
Creates a new project role.
Role name.
Role description.
Actions are allowed to be performed for the role.
Deletes a project from the server.
Returns the raw data of a deleted project. For more information, see Open Cloud Projects API.
Deletes the specified project role.
Role name.
Returns the raw data of a deleted role. For more information, see Open Cloud Projects API.
Returns a list of project files. For more information, see Open Cloud BCF3 API.
This list contains all files that the project has access to. To add a file to this list, create a project permission on the file using File.createPermission().
Removes the specified member from a project.
Member ID.
Returns the raw data of a deleted member. For more information, see Open Cloud Projects API.
Sets or removes the project preview.
Optional
image: BodyInitPreview image. Can be a
Data URL string,
ArrayBuffer,
Blob or
Web API File object. Setting the image
to null
will remove the preview.
Updates project data on the server.
Raw project data. For more information, see Open Cloud Projects API.
Provides properties and methods for obtaining information about a project on the Open Cloud Server and managing its roles, members and models.