curl --request PATCH \
--url https://api.eda.prisme.ai/v2/workspaces/{workspaceId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": {
"fr": "Bonjour",
"en": "Hello"
},
"photo": "<string>",
"config": {
"schema": {},
"block": "<string>",
"value": "<unknown>"
},
"blocks": {},
"slug": "<string>",
"id": "<string>",
"labels": [
"<string>"
],
"customDomains": [
"<string>"
],
"registerWorkspace": true,
"repositories": {},
"secrets": {
"schema": {}
},
"events": {
"mapping": {},
"types": {}
}
}
'{
"name": "<string>",
"description": {
"fr": "Bonjour",
"en": "Hello"
},
"photo": "<string>",
"config": {
"schema": {},
"block": "<string>",
"value": "<unknown>"
},
"blocks": {},
"slug": "<string>",
"id": "<string>",
"labels": [
"<string>"
],
"customDomains": [
"<string>"
],
"registerWorkspace": true,
"repositories": {},
"secrets": {
"schema": {}
},
"events": {
"mapping": {},
"types": {}
}
}Update a workspace
curl --request PATCH \
--url https://api.eda.prisme.ai/v2/workspaces/{workspaceId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": {
"fr": "Bonjour",
"en": "Hello"
},
"photo": "<string>",
"config": {
"schema": {},
"block": "<string>",
"value": "<unknown>"
},
"blocks": {},
"slug": "<string>",
"id": "<string>",
"labels": [
"<string>"
],
"customDomains": [
"<string>"
],
"registerWorkspace": true,
"repositories": {},
"secrets": {
"schema": {}
},
"events": {
"mapping": {},
"types": {}
}
}
'{
"name": "<string>",
"description": {
"fr": "Bonjour",
"en": "Hello"
},
"photo": "<string>",
"config": {
"schema": {},
"block": "<string>",
"value": "<unknown>"
},
"blocks": {},
"slug": "<string>",
"id": "<string>",
"labels": [
"<string>"
],
"customDomains": [
"<string>"
],
"registerWorkspace": true,
"repositories": {},
"secrets": {
"schema": {}
},
"events": {
"mapping": {},
"types": {}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Workspace id
Show child attributes
Show child attributes
Show child attributes
string, number, object, array, boolean, localized:string, localized:number, localized:boolean Show child attributes
Block
Show child attributes
A block can be a javascript bundled file. Host it on the internet and put its url here.
Show child attributes
string, number, object, array, boolean, localized:string, localized:number, localized:boolean A block can extends another one by giving its name here
default config applied to the Block. Usefull for extended Blocks.
Css applied to Block
Show child attributes
string, number, object, array, boolean, localized:string, localized:number, localized:boolean If true, make this workspace metadata available to all workspaces with this variable : {{global.workspacesRegistry[WORKSPACE_SLUG]}}
Remote versioning repositories
Show child attributes
Show child attributes
Show child attributes
git, archive read-write, read-only Show child attributes
Show child attributes
Show child attributes
string, number, object, array, boolean, localized:string, localized:number, localized:boolean Show child attributes
Custom mapping which will be directly sent to underlying database (Elasticsearch/Opensearch)
Custom configuration per event type
Show child attributes
Show child attributes
Show child attributes
Show child attributes
string, number, object, array, boolean, localized:string, localized:number, localized:boolean Success Response
Show child attributes
Show child attributes
Show child attributes
string, number, object, array, boolean, localized:string, localized:number, localized:boolean Show child attributes
Block
Show child attributes
A block can be a javascript bundled file. Host it on the internet and put its url here.
Show child attributes
string, number, object, array, boolean, localized:string, localized:number, localized:boolean A block can extends another one by giving its name here
default config applied to the Block. Usefull for extended Blocks.
Css applied to Block
Show child attributes
string, number, object, array, boolean, localized:string, localized:number, localized:boolean If true, make this workspace metadata available to all workspaces with this variable : {{global.workspacesRegistry[WORKSPACE_SLUG]}}
Remote versioning repositories
Show child attributes
Show child attributes
Show child attributes
git, archive read-write, read-only Show child attributes
Show child attributes
Show child attributes
string, number, object, array, boolean, localized:string, localized:number, localized:boolean Show child attributes
Custom mapping which will be directly sent to underlying database (Elasticsearch/Opensearch)
Custom configuration per event type
Show child attributes
Show child attributes
Show child attributes
Show child attributes
string, number, object, array, boolean, localized:string, localized:number, localized:boolean Was this page helpful?