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
name
string
Project's name.
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.
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".
image_url
string
Project thumbnail image URL
Example
In example above project is created with name "Project Name" as specified in /data/attributes/name attribute.
Project is created with two locales. English locale is set as default.
Project settings /data/attributes/settings contains two fields:
prompt_live_eventis localisable and has values for each locale.language_selector_positionis non-localisable, value provided byallkey.
The project is created within the app with id a26b52f0-8ad7-423b-91b9-7ea18702c939 as set by /data/relationships/app/data/id.
Attribute /data/attributes/hidden_elements specifies that "vote" and "emote" are hidden on UI. It is similar to uncheck "vote" and "emote" on "Elements" tab on project settings page.
Validation error messages about invalid attributes
Last updated

