Read plugin
curl --request GET \
--url https://services-api.talqui.chat/v1/plugins/{pluginID}import requests
url = "https://services-api.talqui.chat/v1/plugins/{pluginID}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://services-api.talqui.chat/v1/plugins/{pluginID}', 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/{pluginID}",
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/{pluginID}"
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/{pluginID}")
.asString();require 'uri'
require 'net/http'
url = URI("https://services-api.talqui.chat/v1/plugins/{pluginID}")
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{
"plugin": {
"pluginAuthor": null,
"pluginDescription": null,
"pluginHelp": null,
"pluginID": "<string>",
"pluginIcon": null,
"pluginName": "<string>",
"pluginPresentations": [],
"pluginScopes": [],
"pluginSettings": null,
"pluginURN": "<string>"
}
}{
"errors": [
{
"error": "RequestValidationError",
"error_code": 1002,
"fields": [
{
"allowed": "<string>",
"field": "<string>",
"received": "<string>"
}
],
"message": "Invalid request data.",
"statusCode": 400
}
]
}{
"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": "PluginNotFoundError",
"error_code": 1207,
"message": "Plugin not found.",
"statusCode": 404
}
]
}{
"errors": [
{
"error": "UnknownError",
"error_code": 5999,
"message": "For some unknown reason your request has not succeeded.",
"statusCode": 500
}
]
}Plugins
Read plugin
Reads one plugin with what its install and settings screens show: name, icon, description, author, the permissions it asks for, its help link, the address of its settings page and the integrations it fronts. Hidden plugins are found too, so an operator can keep configuring one already installed. Callable by an operator, a plugin or a plugin connection.
GET
/
v1
/
plugins
/
{pluginID}
Read plugin
curl --request GET \
--url https://services-api.talqui.chat/v1/plugins/{pluginID}import requests
url = "https://services-api.talqui.chat/v1/plugins/{pluginID}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://services-api.talqui.chat/v1/plugins/{pluginID}', 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/{pluginID}",
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/{pluginID}"
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/{pluginID}")
.asString();require 'uri'
require 'net/http'
url = URI("https://services-api.talqui.chat/v1/plugins/{pluginID}")
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{
"plugin": {
"pluginAuthor": null,
"pluginDescription": null,
"pluginHelp": null,
"pluginID": "<string>",
"pluginIcon": null,
"pluginName": "<string>",
"pluginPresentations": [],
"pluginScopes": [],
"pluginSettings": null,
"pluginURN": "<string>"
}
}{
"errors": [
{
"error": "RequestValidationError",
"error_code": 1002,
"fields": [
{
"allowed": "<string>",
"field": "<string>",
"received": "<string>"
}
],
"message": "Invalid request data.",
"statusCode": 400
}
]
}{
"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": "PluginNotFoundError",
"error_code": 1207,
"message": "Plugin not found.",
"statusCode": 404
}
]
}{
"errors": [
{
"error": "UnknownError",
"error_code": 5999,
"message": "For some unknown reason your request has not succeeded.",
"statusCode": 500
}
]
}Path Parameters
Identifier of the plugin.
Pattern:
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Response
Response for status 200.
Show child attributes
Show child attributes
⌘I