cURL
curl --request POST \ --url https://api.eda.prisme.ai/v2/apps \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "workspaceId": "<string>", "workspaceVersion": "<string>", "slug": "<string>", "description": { "fr": "Bonjour", "en": "Hello" }, "name": "<string>" } '
{ "workspaceId": "<string>", "slug": "<string>", "versions": [ "<string>" ], "name": "<string>", "description": { "fr": "Bonjour", "en": "Hello" }, "documentation": { "workspaceSlug": "<string>", "slug": "<string>" }, "config": { "schema": {}, "block": "<string>", "value": "<unknown>" }, "photo": "<string>", "labels": [ "<string>" ], "updatedAt": "<string>", "createdAt": "<string>", "updatedBy": "<string>", "createdBy": "<string>" }
Publish a workspace as a new app version
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
An optional workspace version. If empty, will publish latest workspace version
App slug : Required on first publish
Show child attributes
{ "fr": "Bonjour", "en": "Hello" }
An optional version name
Success Response
string
number
object
array
boolean
localized:string
localized:number
localized:boolean
Was this page helpful?