Supported targets
curl --request GET \
--url https://api.hotglue.com/{env_id}/{flow_id}/supportedTargets \
--header 'x-api-key: <api-key>'import requests
url = "https://api.hotglue.com/{env_id}/{flow_id}/supportedTargets"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.hotglue.com/{env_id}/{flow_id}/supportedTargets', 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://api.hotglue.com/{env_id}/{flow_id}/supportedTargets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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://api.hotglue.com/{env_id}/{flow_id}/supportedTargets"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.hotglue.com/{env_id}/{flow_id}/supportedTargets")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hotglue.com/{env_id}/{flow_id}/supportedTargets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"target": "mssql",
"flowType": "all",
"domain": "microsoft.com",
"label": "Microsoft SQL",
"type": "api",
"icon": "https://s3.amazonaws.com/cdn.hotglue.xyz/images/logos/mssql.svg",
"validation_supported": true,
"connect_ui_params": {
"host": {
"label": "Host Name",
"description": "Your SQL server host"
},
"port": {
"label": "Port",
"description": "Your SQL server port"
},
"database": {
"label": "Database",
"description": "Your SQL database name"
},
"user": {
"label": "User",
"description": "Your SQL user"
},
"password": {
"label": "Password",
"description": "Your SQL password",
"type": "password"
}
},
"connector_props": {
"singer_sdk": true
},
"install_uri": "git+https://github.com/hotgluexyz/target-mssql.git@hgi-6830",
"isForked": true
}
]{}Target metadata
Supported targets
Returns all of the targets that are enabled in a particular flow
GET
/
{env_id}
/
{flow_id}
/
supportedTargets
Supported targets
curl --request GET \
--url https://api.hotglue.com/{env_id}/{flow_id}/supportedTargets \
--header 'x-api-key: <api-key>'import requests
url = "https://api.hotglue.com/{env_id}/{flow_id}/supportedTargets"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.hotglue.com/{env_id}/{flow_id}/supportedTargets', 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://api.hotglue.com/{env_id}/{flow_id}/supportedTargets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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://api.hotglue.com/{env_id}/{flow_id}/supportedTargets"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.hotglue.com/{env_id}/{flow_id}/supportedTargets")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hotglue.com/{env_id}/{flow_id}/supportedTargets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"target": "mssql",
"flowType": "all",
"domain": "microsoft.com",
"label": "Microsoft SQL",
"type": "api",
"icon": "https://s3.amazonaws.com/cdn.hotglue.xyz/images/logos/mssql.svg",
"validation_supported": true,
"connect_ui_params": {
"host": {
"label": "Host Name",
"description": "Your SQL server host"
},
"port": {
"label": "Port",
"description": "Your SQL server port"
},
"database": {
"label": "Database",
"description": "Your SQL database name"
},
"user": {
"label": "User",
"description": "Your SQL user"
},
"password": {
"label": "Password",
"description": "Your SQL password",
"type": "password"
}
},
"connector_props": {
"singer_sdk": true
},
"install_uri": "git+https://github.com/hotgluexyz/target-mssql.git@hgi-6830",
"isForked": true
}
]{}Authorizations
Response
200
Example:
"shopify"
Example:
"shopify.com"
Example:
"Shopify"
Example:
"api"
Example:
"https://s3.amazonaws.com/cdn.hotglue.xyz/images/logos/shopify.svg"
Example:
true
Show child attributes
Show child attributes
Show child attributes
Show child attributes
⌘I