Export Multiple Workspaces
curl --request POST \
--url https://api.studio.prisme.ai/v2/workspaces/export \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"workspaces": {
"query": {},
"pagination": {
"limit": 123,
"page": 123
}
},
"includeApps": true
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
workspaces: {query: {}, pagination: {limit: 123, page: 123}},
includeApps: true
})
};
fetch('https://api.studio.prisme.ai/v2/workspaces/export', 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/export"
payload = {
"workspaces": {
"query": {},
"pagination": {
"limit": 123,
"page": 123
}
},
"includeApps": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)"<string>"{
"error": "AuthenticationError",
"message": "Unauthenticated"
}{
"error": "ForbiddenError",
"message": "Forbidden"
}{
"error": "ObjectNotFound",
"message": "<string>"
}Prisme.ai Workspaces
Export Multiple Workspaces
Export multiple workspaces to a .zip archive
POST
/
v2
/
workspaces
/
export
Export Multiple Workspaces
curl --request POST \
--url https://api.studio.prisme.ai/v2/workspaces/export \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"workspaces": {
"query": {},
"pagination": {
"limit": 123,
"page": 123
}
},
"includeApps": true
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
workspaces: {query: {}, pagination: {limit: 123, page: 123}},
includeApps: true
})
};
fetch('https://api.studio.prisme.ai/v2/workspaces/export', 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/export"
payload = {
"workspaces": {
"query": {},
"pagination": {
"limit": 123,
"page": 123
}
},
"includeApps": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)"<string>"{
"error": "AuthenticationError",
"message": "Unauthenticated"
}{
"error": "ForbiddenError",
"message": "Forbidden"
}{
"error": "ObjectNotFound",
"message": "<string>"
}Authorizations
BearerAuthOrgApiKeyAuthBearerAuth & OrgApiKeyAuth
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Response
Success Response
The response is of type file.
Was this page helpful?
⌘I