AI Builder Endpoints
- API Gateway
- permissions
- Prisme.ai Events
- Prisme.ai Runtime
- Prisme.ai Workspaces
- GETGet v2workspaces
- POSTPost v2workspaces
- GETGet v2workspaces
- DELDelete v2workspaces
- PATCHPatch v2workspaces
- POSTPost v2workspacesimport
- POSTPost v2workspaces import
- GETGet v2workspaces versions
- POSTPost v2workspaces versions
- DELDelete v2workspaces versions
- POSTPost v2workspaces versions pull
- POSTPost v2workspaces versions duplicate
- POSTPost v2workspaces versions export
- GETGet v2workspaces status
- POSTPost v2workspacesexport
- POSTPost v2workspaces automations
- GETGet v2workspaces automations
- DELDelete v2workspaces automations
- PATCHPatch v2workspaces automations
- POSTPost v2workspaces test
- GETGet v2workspaces pages
- POSTPost v2workspaces pages
- GETGet v2workspaces pages
- DELDelete v2workspaces pages
- PATCHPatch v2workspaces pages
- GETGet v2pages
- GETGet v2workspaces security
- PUTPut v2workspaces security
- GETGet v2workspaces securityroles
- GETGet v2apps
- POSTPost v2apps
- GETGet v2apps
- DELDelete v2apps
- GETGet v2workspaces apps
- POSTPost v2workspaces apps
- GETGet v2workspaces apps config
- PATCHPatch v2workspaces apps config
- GETGet v2workspaces apps
- DELDelete v2workspaces apps
- PATCHPatch v2workspaces apps
- GETGet v2workspaces files
- DELDelete v2workspaces files
- PATCHPatch v2workspaces files
- GETGet v2workspaces files
- POSTPost v2workspaces files
- POSTPost v2workspaces files share
- GET
- Secrets
- ApiKeys
Post v2workspacesimport
Import a workspace archive into a new workspace
curl --request POST \
--url https://api.eda.prisme.ai/v2/workspaces/import \
--header 'Content-Type: multipart/form-data' \
--header 'X-Prismeai-API-Key: <api-key>'
{
"processing": true,
"message": "<string>"
}
Body
Zip archive binary data
Response
string
, number
, object
, array
, boolean
, localized:string
, localized:number
, localized:boolean
{ "fr": "Bonjour", "en": "Hello" }
{ "fr": "Bonjour", "en": "Hello" }
Block
{ "fr": "Bonjour", "en": "Hello" }
{ "fr": "Bonjour", "en": "Hello" }
A block can be a javascript bundled file. Host it on the internet and put its url here.
string
, number
, object
, array
, boolean
, localized:string
, localized:number
, localized:boolean
{ "fr": "Bonjour", "en": "Hello" }
{ "fr": "Bonjour", "en": "Hello" }
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
string
, number
, object
, array
, boolean
, localized:string
, localized:number
, localized:boolean
{ "fr": "Bonjour", "en": "Hello" }
{ "fr": "Bonjour", "en": "Hello" }
If true, make this workspace metadata available to all workspaces with this variable : {{global.workspacesRegistry[WORKSPACE_SLUG]}}
Remote versioning repositories
git
, archive
read-write
, read-only
string
, number
, object
, array
, boolean
, localized:string
, localized:number
, localized:boolean
{ "fr": "Bonjour", "en": "Hello" }
{ "fr": "Bonjour", "en": "Hello" }
{ "fr": "Bonjour", "en": "Hello" }
{ "fr": "Bonjour", "en": "Hello" }
Set this to true if you don't want your automation to be accessible outside of your app. Default is false.
false
Set this to true if you want to turn off this automation.
true
Unique & human readable id across current workspace's automations
["prismeaiMessenger.event"]
["2021-12-25T00:00", "* * 1 * *"]
"Set to true in order to activate HTTP endpoint. Slug will be trigger name by default"
Page
{ "fr": "Bonjour", "en": "Hello" }
{ "fr": "Bonjour", "en": "Hello" }
auto
, light
, dark
App unique id
Unique & human readable id across current workspace's appInstances, which will be used to call this app automations
{ "fr": "Bonjour", "en": "Hello" }
{ "fr": "Bonjour", "en": "Hello" }
{ "fr": "Bonjour", "en": "Hello" }
Defaults to the latest known app version
If disabled, this appInstance will be ignored during execution
{ "fr": "Bonjour", "en": "Hello" }
string
, number
, object
, array
, boolean
, localized:string
, localized:number
, localized:boolean
{ "fr": "Bonjour", "en": "Hello" }
{ "fr": "Bonjour", "en": "Hello" }
Was this page helpful?
curl --request POST \
--url https://api.eda.prisme.ai/v2/workspaces/import \
--header 'Content-Type: multipart/form-data' \
--header 'X-Prismeai-API-Key: <api-key>'
{
"processing": true,
"message": "<string>"
}