Plugins
Create Plugin
Authentication
Connections
AWS
Guard Rails
Server Management
Jira
Organization Management
Reports
User Management
Sessions
Plugins
Create Plugin
Create Plugin resource
POST
/
plugins
curl --request POST \
--url https://use.hoop.dev/api/plugins \
--header 'Content-Type: application/json' \
--data '{
"config": {
"envvars": {
"SLACK_APP_TOKEN": "eC1hcHAtdG9rZW4=",
"SLACK_BOT_TOKEN": "eG94Yi10b2tlbg=="
}
},
"connections": [
{
"config": [
"EMAIL_ADDRESS",
"URL"
],
"id": "B702C63C-E6EB-46BB-9D1E-90EA077E4582",
"name": "pgdemo"
}
],
"name": "slack",
"priority": 0,
"source": "null"
}'
{
"config": {
"envvars": {
"SLACK_APP_TOKEN": "eC1hcHAtdG9rZW4=",
"SLACK_BOT_TOKEN": "eG94Yi10b2tlbg=="
},
"id": "D9A998B3-AA7B-49B0-8463-C9E36435FC0B"
},
"connections": [
{
"config": [
"EMAIL_ADDRESS",
"URL"
],
"id": "B702C63C-E6EB-46BB-9D1E-90EA077E4582",
"name": "pgdemo"
}
],
"id": "15B5A2FD-0706-4A47-B1CF-B93CCFC5B3D7",
"name": "slack",
"priority": 0,
"source": "null"
}
Body
application/json
The request body resource
The body is of type object
.
Response
201
application/json
Created
The response is of type object
.
curl --request POST \
--url https://use.hoop.dev/api/plugins \
--header 'Content-Type: application/json' \
--data '{
"config": {
"envvars": {
"SLACK_APP_TOKEN": "eC1hcHAtdG9rZW4=",
"SLACK_BOT_TOKEN": "eG94Yi10b2tlbg=="
}
},
"connections": [
{
"config": [
"EMAIL_ADDRESS",
"URL"
],
"id": "B702C63C-E6EB-46BB-9D1E-90EA077E4582",
"name": "pgdemo"
}
],
"name": "slack",
"priority": 0,
"source": "null"
}'
{
"config": {
"envvars": {
"SLACK_APP_TOKEN": "eC1hcHAtdG9rZW4=",
"SLACK_BOT_TOKEN": "eG94Yi10b2tlbg=="
},
"id": "D9A998B3-AA7B-49B0-8463-C9E36435FC0B"
},
"connections": [
{
"config": [
"EMAIL_ADDRESS",
"URL"
],
"id": "B702C63C-E6EB-46BB-9D1E-90EA077E4582",
"name": "pgdemo"
}
],
"id": "15B5A2FD-0706-4A47-B1CF-B93CCFC5B3D7",
"name": "slack",
"priority": 0,
"source": "null"
}