JavaScript REST API client for the Open Cloud Server
Client.js is a JavaScript library implementing the REST API client for Open Cloud Server.
Core capabilities:
- Register on the server as a new user.
- Create new and manage existing user accounts.
- Upload and download files from the server.
- Manage existing files, upload new version of files.
- Convert files from one format to another.
- Run validation, clash detection, and custom jobs on the server.
- Create and manage assemblies.
- Create projects, manage project models and members.
- Change server settings.
- Manage server plugins.
This library is a part of CDE SDK by Open Design Alliance.
For CDN, you can use unpkg or jsDelivr (replace 25.3 with a version you need):
``html`
The Client.js library available through the ODA.Api global variable.
`html`
Open a terminal in your project folder and run:
`sh`
npm install @inweb/client
The Client.js package will be downloaded and installed. Then you're ready to import it in your code:
`javascript
import { Client } from "@inweb/client";
const client = new Client({ serverUrl: "https://cloud.opendesign.com/api" });
`
Login to the Open Cloud Server and get the file list from the server:
`html``
To learn more, see First application guide.
Code and documentation copyright 2002-2025 the Open Design Alliance. Code is distributed under a proprietary license, see LICENSE for more information.