Create Project
Create project within specified application.
Create Project
POST
https://environment.monterosa.cloud/api/v2/projects
Headers
Authorization
string
Bearer JmsmU5gZb6xNVUgQGoKcQLvQjRhKAUSb
Content-Type
string
application/vnd.api+json
Request Body
presence_counter[min_threshold]
integer
Minimal threshold. Can be greater than or equal to 0. Default value can be set via App Spec.
presence_counter[enabled]
boolean
Switch on/off presence counter.
presence_counter
object
Presence counter on client application setup. Available if it is enabled on App Spec level only.
name
string
Project's name.
hidden_elements
array
Project's elements visibility settings.
audio_sync_default_delay
integer
Project's audio sync default delay.
audio_sync_max_delay
integer
Project's audio sync max delay.
certification_enabled
boolean
Defines if Certification is enabled for a project.
locales
array
List of project locales.
settings
array
List of fields of project settings. Each field is updated separately and if present its content is rewritten completely.
archived
boolean
Marks project as archtived. Default false
.
environment
string
Sets environment of the project. Allowed values: "staging"
(default), "production"
.
Example
In example above project is created with name "Project Name" as specified in /data/attributes/name
attribute.
Project settings /data/attributes/settings
contains two fields:
The project is created within the app with id a26b52f0-8ad7-423b-91b9-7ea18702c939
as set by /data/relationships/app/data/id
.
Validation error messages about invalid attributes
Last updated
Was this helpful?