POST
/
v2
/
workspaces
/
{workspaceId}
/
versions
/
{versionId}
/
pull
curl --request POST \
  --url https://api.eda.prisme.ai/v2/workspaces/{workspaceId}/versions/{versionId}/pull \
  --header 'Content-Type: application/json' \
  --header 'X-Prismeai-API-Key: <api-key>' \
  --data '{
  "repository": {
    "id": "<string>"
  }
}'
{
  "imported": [
    "<string>"
  ],
  "errors": [
    {}
  ],
  "workspace": {},
  "deleted": [
    "<string>"
  ]
}

Authorizations

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

Path Parameters

workspaceId
string
required

Workspace id

versionId
string
required

Version name

Body

application/json
repository
object

Response

200
application/json
Success Response
imported
string[]
errors
object[]
workspace
object
deleted
string[]