POST
/
v2
/
workspaces
/
{workspaceId}
/
versions
curl --request POST \
  --url https://api.eda.prisme.ai/v2/workspaces/{workspaceId}/versions \
  --header 'Content-Type: application/json' \
  --header 'X-Prismeai-API-Key: <api-key>' \
  --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>"
  }
}

Authorizations

X-Prismeai-API-Key
string
header
required
connect.sid
string
cookie
required

Path Parameters

workspaceId
string
required

Workspace id

Body

application/json
description
required
Example:
{ "fr": "Bonjour", "en": "Hello" }
name
string

Version name. If left empty, will be auto generated

createdAt
string
repository
object

Response

200
application/json
Success Response
description
required
Example:
{ "fr": "Bonjour", "en": "Hello" }
name
string

Version name. If left empty, will be auto generated

createdAt
string
repository
object