List plugin connections by plugin
curl --request GET \
--url https://services-api.talqui.chat/v1/plugins/connectionsimport requests
url = "https://services-api.talqui.chat/v1/plugins/connections"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://services-api.talqui.chat/v1/plugins/connections', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://services-api.talqui.chat/v1/plugins/connections",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://services-api.talqui.chat/v1/plugins/connections"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://services-api.talqui.chat/v1/plugins/connections")
.asString();require 'uri'
require 'net/http'
url = URI("https://services-api.talqui.chat/v1/plugins/connections")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": {
"pluginConnections": [
{
"createdAt": "2023-11-07T05:31:56Z",
"deadAt": "2023-11-07T05:31:56Z",
"disabled": true,
"lastAssertAt": "2023-11-07T05:31:56Z",
"lastAssertStatus": "PENDING",
"lastHealthCheckAt": "2023-11-07T05:31:56Z",
"lastHealthStatus": "HEALTHY",
"nextAssertAt": "2023-11-07T05:31:56Z",
"nextHealthCheckAt": "2023-11-07T05:31:56Z",
"pluginConnectionID": "<string>",
"pluginConnectionLabel": "<string>",
"pluginURN": "<string>",
"settings": {},
"sickAt": "2023-11-07T05:31:56Z",
"tenantID": "<string>",
"token": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
]
}
}{
"errors": [
{
"error": "UnauthorizedError",
"error_code": 1003,
"message": "You are not authorized to perform this request.",
"statusCode": 401
}
]
}{
"errors": [
{
"error": "ForbiddenError",
"error_code": 1004,
"message": "You do not have access to this resource.",
"statusCode": 403
}
]
}{
"errors": [
{
"error": "UnknownError",
"error_code": 5999,
"message": "For some unknown reason your request has not succeeded.",
"statusCode": 500
}
]
}Plugins
List plugin connections by plugin
Lists every tenant that installed the calling plugin, with the
connection each one configured — what a plugin polls to discover its own
install base. Each row carries the connection’s token and the tenant’s
provider credentials in settings, which is the point: the plugin needs
them to act for that tenant.
The plugin is identified by its own credential, so this route takes no parameters at all. There is deliberately no way to ask for another plugin’s connections.
GET
/
v1
/
plugins
/
connections
List plugin connections by plugin
curl --request GET \
--url https://services-api.talqui.chat/v1/plugins/connectionsimport requests
url = "https://services-api.talqui.chat/v1/plugins/connections"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://services-api.talqui.chat/v1/plugins/connections', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://services-api.talqui.chat/v1/plugins/connections",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://services-api.talqui.chat/v1/plugins/connections"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://services-api.talqui.chat/v1/plugins/connections")
.asString();require 'uri'
require 'net/http'
url = URI("https://services-api.talqui.chat/v1/plugins/connections")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": {
"pluginConnections": [
{
"createdAt": "2023-11-07T05:31:56Z",
"deadAt": "2023-11-07T05:31:56Z",
"disabled": true,
"lastAssertAt": "2023-11-07T05:31:56Z",
"lastAssertStatus": "PENDING",
"lastHealthCheckAt": "2023-11-07T05:31:56Z",
"lastHealthStatus": "HEALTHY",
"nextAssertAt": "2023-11-07T05:31:56Z",
"nextHealthCheckAt": "2023-11-07T05:31:56Z",
"pluginConnectionID": "<string>",
"pluginConnectionLabel": "<string>",
"pluginURN": "<string>",
"settings": {},
"sickAt": "2023-11-07T05:31:56Z",
"tenantID": "<string>",
"token": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
]
}
}{
"errors": [
{
"error": "UnauthorizedError",
"error_code": 1003,
"message": "You are not authorized to perform this request.",
"statusCode": 401
}
]
}{
"errors": [
{
"error": "ForbiddenError",
"error_code": 1004,
"message": "You do not have access to this resource.",
"statusCode": 403
}
]
}{
"errors": [
{
"error": "UnknownError",
"error_code": 5999,
"message": "For some unknown reason your request has not succeeded.",
"statusCode": 500
}
]
}Response
Response for status 200.
Show child attributes
Show child attributes
⌘I