Listar conexões não atribuídas
curl --request GET \
--url https://api.example.com/v1/management/connections/unassigned \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/v1/management/connections/unassigned"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/v1/management/connections/unassigned', 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.example.com/v1/management/connections/unassigned",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.example.com/v1/management/connections/unassigned"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.example.com/v1/management/connections/unassigned")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/management/connections/unassigned")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"items": [
{
"configName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"databaseName": "<string>",
"host": "<string>",
"id": "<string>",
"port": 123,
"type": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"userName": "<string>",
"metadata": {},
"productName": "<string>",
"schema": "<string>",
"ssl": {
"mode": "<string>"
}
}
],
"limit": 123,
"total": 123,
"page": 123
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "<string>",
"status": 123,
"title": "<string>",
"type": "about:blank"
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "<string>",
"status": 123,
"title": "<string>",
"type": "about:blank"
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "<string>",
"status": 123,
"title": "<string>",
"type": "about:blank"
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "<string>",
"status": 123,
"title": "<string>",
"type": "about:blank"
}Listar conexões não atribuídas
Lista as conexões que não têm um produto atribuído, útil para processos de migração.
GET
/
v1
/
management
/
connections
/
unassigned
Listar conexões não atribuídas
curl --request GET \
--url https://api.example.com/v1/management/connections/unassigned \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/v1/management/connections/unassigned"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/v1/management/connections/unassigned', 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.example.com/v1/management/connections/unassigned",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.example.com/v1/management/connections/unassigned"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.example.com/v1/management/connections/unassigned")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/management/connections/unassigned")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"items": [
{
"configName": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"databaseName": "<string>",
"host": "<string>",
"id": "<string>",
"port": 123,
"type": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"userName": "<string>",
"metadata": {},
"productName": "<string>",
"schema": "<string>",
"ssl": {
"mode": "<string>"
}
}
],
"limit": 123,
"total": 123,
"page": 123
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "<string>",
"status": 123,
"title": "<string>",
"type": "about:blank"
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "<string>",
"status": 123,
"title": "<string>",
"type": "about:blank"
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "<string>",
"status": 123,
"title": "<string>",
"type": "about:blank"
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "<string>",
"status": 123,
"title": "<string>",
"type": "about:blank"
}Autorizações
Token JWT do tipo bearer emitido pelo provedor de identidade.
Parâmetros de consulta
Número da página; o padrão é 1.
Exemplo:
1
Tamanho da página; o padrão é 10 e o limite é 100.
Exemplo:
10
Direção da ordenação.
Opções disponíveis:
asc, desc Exemplo:
"desc"
Data inicial de criação, inclusiva, no formato YYYY-MM-DD.
Exemplo:
"2026-01-01"
Data final de criação, inclusiva, no formato YYYY-MM-DD.
Exemplo:
"2026-01-31"
Resposta
OK
Conexões retornadas nesta página.
Show child attributes
Show child attributes
Exemplo:
[
{
"configName": "production-db",
"createdAt": "2026-01-15T10:30:00Z",
"databaseName": "mydatabase",
"host": "db.example.com",
"id": "018f47a6-3e5f-7b9a-8c1d-2e3f4a5b6c7d",
"metadata": {
"environment": "production",
"region": "us-east-1"
},
"port": 5432,
"productName": "midaz",
"schema": "public",
"ssl": { "mode": "require" },
"type": "POSTGRESQL",
"updatedAt": "2026-01-16T14:45:00Z",
"userName": "dbuser"
}
]
Número máximo de itens retornados por página.
Exemplo:
10
Total de conexões correspondentes.
Exemplo:
10
Número da página atual.
Exemplo:
1
Esta página foi útil?
⌘I

