Skip to main content
POST
/
workspaces
/
{workspace_id}
/
addons
Create addon
curl --request POST \
  --url https://s-server-demo.siftd.ai:9800/api/workspaces/{workspace_id}/addons \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "addon_id": "<string>",
  "code": "<string>",
  "cxn_fields": {},
  "cxn_scheme": "",
  "description": "<string>",
  "name": "<string>",
  "requirements": "<string>",
  "tools": {}
}'
{
  "addon_id": "<string>",
  "code": "<string>",
  "cxn_fields": {},
  "cxn_scheme": "",
  "description": "<string>",
  "name": "<string>",
  "requirements": "<string>",
  "tools": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspace_id
string
required

Workspace ID

Query Parameters

org_id
string
required

Organization ID

validate
string
default:false

Validate the addon code only, do not create the addon

Body

application/json

Addon object

addon_id
string
code
string
cxn_fields
object
cxn_scheme
enum<string>
Available options:
,
aws,
azr,
gcp,
file,
k8s,
ddog,
github,
p8s,
jenkins,
grafana,
splunk,
shell,
python,
markdown,
rest
description
string
name
string
requirements
string
tools
object

Map of tool name to Tool object

Response

201 - */*

Created

addon_id
string
code
string
cxn_fields
object
cxn_scheme
enum<string>
Available options:
,
aws,
azr,
gcp,
file,
k8s,
ddog,
github,
p8s,
jenkins,
grafana,
splunk,
shell,
python,
markdown,
rest
description
string
name
string
requirements
string
tools
object

Map of tool name to Tool object

I