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>",
"versions": [
"<string>"
],
"name": "<string>",
"description": {
"fr": "Bonjour",
"en": "Hello"
},
"documentation": {
"workspaceSlug": "<string>",
"slug": "<string>"
},
"config": {
"schema": {},
"block": "<string>",
"value": "<any>"
},
"photo": "<string>",
"labels": [
"<string>"
],
"slug": "<string>",
"updatedAt": "<string>",
"createdAt": "<string>",
"updatedBy": "<string>",
"createdBy": "<string>"
}
Publish a workspace as a new app version
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>",
"versions": [
"<string>"
],
"name": "<string>",
"description": {
"fr": "Bonjour",
"en": "Hello"
},
"documentation": {
"workspaceSlug": "<string>",
"slug": "<string>"
},
"config": {
"schema": {},
"block": "<string>",
"value": "<any>"
},
"photo": "<string>",
"labels": [
"<string>"
],
"slug": "<string>",
"updatedAt": "<string>",
"createdAt": "<string>",
"updatedBy": "<string>",
"createdBy": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Success Response
The response is of type object
.
Was this page helpful?