Create App
Create an app with a specified app spec URL.
This request requires at least a brand admin role.
Create App
POST
https://environment.monterosa.cloud/api/v2/apps
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Bearer JmsmU5gZb6xNVUgQGoKcQLvQjRhKAUSb |
Content-Type | string | application/vnd.api+json |
Request Body
Name | Type | Description |
---|---|---|
spec_url | string | App specification URL. |
Example
The app is created within the brand with id 8630c508-7d12-4e6d-85d5-5e507e97738e
as set by /data/relationships/brand/data/id
.
Validation error on app creation
In this example, we are trying to create an app with an invalid spec URL.
The request fails with 422 (Unprocessable Entity) status and corresponding error message.