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

Response

200
application/json

Success Response

The response is of type object.