Integrations
Third-party integrations
curl -X GET "https://example.com/integrations/public"fetch("https://example.com/integrations/public")package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://example.com/integrations/public"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}import requests
url = "https://example.com/integrations/public"
response = requests.request("GET", url)
print(response.text)Empty
curl -X GET "https://example.com/integrations/available"fetch("https://example.com/integrations/available")package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://example.com/integrations/available"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}import requests
url = "https://example.com/integrations/available"
response = requests.request("GET", url)
print(response.text)Empty
curl -X GET "https://example.com/integrations/configured"fetch("https://example.com/integrations/configured")package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://example.com/integrations/configured"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}import requests
url = "https://example.com/integrations/configured"
response = requests.request("GET", url)
print(response.text)Empty
curl -X GET "https://example.com/integrations/string"fetch("https://example.com/integrations/string")package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://example.com/integrations/string"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}import requests
url = "https://example.com/integrations/string"
response = requests.request("GET", url)
print(response.text)Empty
curl -X DELETE "https://example.com/integrations/string"fetch("https://example.com/integrations/string")package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://example.com/integrations/string"
req, _ := http.NewRequest("DELETE", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}import requests
url = "https://example.com/integrations/string"
response = requests.request("DELETE", url)
print(response.text)Empty
Update an integration
Request Body
application/jsonRequiredconfigobjectcapabilitiesarray<object>Path Parameters
idRequiredstringResponse Body
curl -X PUT "https://example.com/integrations/string" \
-H "Content-Type: application/json" \
-d '{
"config": {},
"capabilities": [
{
"id": "string",
"active": true
}
]
}'const body = JSON.stringify({
"config": {},
"capabilities": [
{
"id": "string",
"active": true
}
]
})
fetch("https://example.com/integrations/string", {
body
})package main
import (
"fmt"
"net/http"
"io/ioutil"
"strings"
)
func main() {
url := "https://example.com/integrations/string"
body := strings.NewReader(`{
"config": {},
"capabilities": [
{
"id": "string",
"active": true
}
]
}`)
req, _ := http.NewRequest("PUT", url, body)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}import requests
url = "https://example.com/integrations/string"
body = {
"config": {},
"capabilities": [
{
"id": "string",
"active": true
}
]
}
response = requests.request("PUT", url, json = body, headers = {
"Content-Type": "application/json"
})
print(response.text)Empty
Create a new integration
Request Body
application/jsonRequiredintegrationIdRequiredstringconfigRequiredobjectcapabilitiesarray<object>isSystemWidebooleanResponse Body
curl -X POST "https://example.com/integrations/" \
-H "Content-Type: application/json" \
-d '{
"integrationId": "string",
"config": {},
"capabilities": [
{
"id": "string",
"active": true
}
],
"isSystemWide": true
}'const body = JSON.stringify({
"integrationId": "string",
"config": {},
"capabilities": [
{
"id": "string",
"active": true
}
],
"isSystemWide": true
})
fetch("https://example.com/integrations/", {
body
})package main
import (
"fmt"
"net/http"
"io/ioutil"
"strings"
)
func main() {
url := "https://example.com/integrations/"
body := strings.NewReader(`{
"integrationId": "string",
"config": {},
"capabilities": [
{
"id": "string",
"active": true
}
],
"isSystemWide": true
}`)
req, _ := http.NewRequest("POST", url, body)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}import requests
url = "https://example.com/integrations/"
body = {
"integrationId": "string",
"config": {},
"capabilities": [
{
"id": "string",
"active": true
}
],
"isSystemWide": true
}
response = requests.request("POST", url, json = body, headers = {
"Content-Type": "application/json"
})
print(response.text)Empty
Test an integration configuration
Request Body
application/jsonRequiredintegrationIdRequiredstringconfigRequiredobjectResponse Body
curl -X POST "https://example.com/integrations/test" \
-H "Content-Type: application/json" \
-d '{
"integrationId": "string",
"config": {}
}'const body = JSON.stringify({
"integrationId": "string",
"config": {}
})
fetch("https://example.com/integrations/test", {
body
})package main
import (
"fmt"
"net/http"
"io/ioutil"
"strings"
)
func main() {
url := "https://example.com/integrations/test"
body := strings.NewReader(`{
"integrationId": "string",
"config": {}
}`)
req, _ := http.NewRequest("POST", url, body)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}import requests
url = "https://example.com/integrations/test"
body = {
"integrationId": "string",
"config": {}
}
response = requests.request("POST", url, json = body, headers = {
"Content-Type": "application/json"
})
print(response.text)Empty