Obter Detalhes
curl --request GET \
--url https://api.stackr.lat/v1/databases/{id}import requests
url = "https://api.stackr.lat/v1/databases/{id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.stackr.lat/v1/databases/{id}', 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.stackr.lat/v1/databases/{id}",
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://api.stackr.lat/v1/databases/{id}"
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://api.stackr.lat/v1/databases/{id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.stackr.lat/v1/databases/{id}")
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_bodyDB - Provisionamento
Obter Detalhes
Inspeciona as credenciais e o status completo de conexão do banco de dados.
GET
/
v1
/
databases
/
{id}
Obter Detalhes
curl --request GET \
--url https://api.stackr.lat/v1/databases/{id}import requests
url = "https://api.stackr.lat/v1/databases/{id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.stackr.lat/v1/databases/{id}', 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.stackr.lat/v1/databases/{id}",
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://api.stackr.lat/v1/databases/{id}"
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://api.stackr.lat/v1/databases/{id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.stackr.lat/v1/databases/{id}")
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_bodyParâmetros de Rota
string
required
Identificador do seu banco de dados.
Resposta de Sucesso (200 OK)
{
"id": "db_9f8e7d6c-5b4a-3c2b-1a0e-9d8c7b6a5f4e",
"name": "meu-db-producao",
"engine": "postgres",
"status": "RUNNING",
"connectionString": "postgresql://stackr_user:password@pg.stackr.lat:5432/meu-db-producao",
"memoryMb": 512,
"createdAt": "2026-05-31T19:00:00.000Z"
}
⌘I