Create App

Create a new app for your customer.
const app = await vartiq.app.create({
  name: "App name",
  projectId: "PROJECT_ID",
  description: "Optional description", // optional
  environment: "development" // optional, defaults to development
});

Get Apps

Get all apps in a project.
const apps = await vartiq.app.list({
  projectId: "PROJECT_ID",
  environment: "development", // optional
  limit: 10, // optional, defaults to 10
  skip: 0 // optional, defaults to 0
});

Get App

Get a specific app by ID.
const app = await vartiq.app.get("APP_ID");

Update App

Update an existing app.
const app = await vartiq.app.update("APP_ID", {
  name: "New name", // optional
  description: "New description" // optional
});

Delete App

Delete an app.
await vartiq.app.delete("APP_ID");