Push Platform Versions
curl --request POST \
--url https://api.studio.prisme.ai/v2/workspaces/platform/versions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"groups": [
"<string>"
],
"repository": {
"id": "<string>"
},
"name": "<string>",
"createdAt": "<string>",
"description": {
"fr": "Bonjour",
"en": "Hello"
},
"dryRun": false,
"force": false
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
groups: ['<string>'],
repository: {id: '<string>'},
name: '<string>',
createdAt: '<string>',
description: {fr: 'Bonjour', en: 'Hello'},
dryRun: false,
force: false
})
};
fetch('https://api.studio.prisme.ai/v2/workspaces/platform/versions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.studio.prisme.ai/v2/workspaces/platform/versions"
payload = {
"groups": ["<string>"],
"repository": { "id": "<string>" },
"name": "<string>",
"createdAt": "<string>",
"description": {
"fr": "Bonjour",
"en": "Hello"
},
"dryRun": False,
"force": False
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"processing": true,
"message": "<string>"
}{
"error": "BadParameters",
"message": "<string>",
"details": "<unknown>"
}{
"error": "AuthenticationError",
"message": "Unauthenticated"
}{
"error": "ForbiddenError",
"message": "Forbidden"
}{
"error": "ObjectNotFound",
"message": "<string>"
}Prisme.ai Workspaces
Push Platform Versions
Trigger a bulk push of dirty workspaces to a platform repository. Finds all dirty workspaces belonging to the given groups, categorizes them by lock status (merge conflicts, in progress, candidates), then pushes each candidate workspace sequentially. Groups are resolved via WORKSPACE_GROUPS configuration.
POST
/
v2
/
workspaces
/
platform
/
versions
Push Platform Versions
curl --request POST \
--url https://api.studio.prisme.ai/v2/workspaces/platform/versions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"groups": [
"<string>"
],
"repository": {
"id": "<string>"
},
"name": "<string>",
"createdAt": "<string>",
"description": {
"fr": "Bonjour",
"en": "Hello"
},
"dryRun": false,
"force": false
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
groups: ['<string>'],
repository: {id: '<string>'},
name: '<string>',
createdAt: '<string>',
description: {fr: 'Bonjour', en: 'Hello'},
dryRun: false,
force: false
})
};
fetch('https://api.studio.prisme.ai/v2/workspaces/platform/versions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.studio.prisme.ai/v2/workspaces/platform/versions"
payload = {
"groups": ["<string>"],
"repository": { "id": "<string>" },
"name": "<string>",
"createdAt": "<string>",
"description": {
"fr": "Bonjour",
"en": "Hello"
},
"dryRun": False,
"force": False
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"processing": true,
"message": "<string>"
}{
"error": "BadParameters",
"message": "<string>",
"details": "<unknown>"
}{
"error": "AuthenticationError",
"message": "Unauthenticated"
}{
"error": "ForbiddenError",
"message": "Forbidden"
}{
"error": "ObjectNotFound",
"message": "<string>"
}Authorizations
BearerAuthOrgApiKeyAuthBearerAuth & OrgApiKeyAuth
Query Parameters
Body
application/json
Was this page helpful?