curl --request POST \
--url https://api.eda.prisme.ai/v2/workspaces/{workspaceId}/versions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"createdAt": "<string>",
"description": {
"fr": "Bonjour",
"en": "Hello"
},
"repository": {
"id": "<string>"
}
}'
{
"name": "<string>",
"createdAt": "<string>",
"description": {
"fr": "Bonjour",
"en": "Hello"
},
"repository": {
"id": "<string>"
}
}
Publish a new workspace version
curl --request POST \
--url https://api.eda.prisme.ai/v2/workspaces/{workspaceId}/versions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"createdAt": "<string>",
"description": {
"fr": "Bonjour",
"en": "Hello"
},
"repository": {
"id": "<string>"
}
}'
{
"name": "<string>",
"createdAt": "<string>",
"description": {
"fr": "Bonjour",
"en": "Hello"
},
"repository": {
"id": "<string>"
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Workspace id
Success Response
The response is of type object
.
Was this page helpful?