Connections

Get Connection

GET

Path parameters

idstringRequired

Response

This endpoint returns an object
data
objectOptional

Errors

GET
1curl https://app.polytomic.com/api/connections/248df4b7-aa70-47b8-a036-33ac447e668d \
2 -H "Authorization: Bearer <token>"
1{
2 "data": {
3 "api_calls_last_24_hours": 2021,
4 "configuration": {
5 "database": "example",
6 "hostname": "postgres.example.com",
7 "password": "password",
8 "port": 5432,
9 "username": "user"
10 },
11 "id": "248df4b7-aa70-47b8-a036-33ac447e668d",
12 "name": "My Postgres Connection",
13 "organization_id": "248df4b7-aa70-47b8-a036-33ac447e668d",
14 "policies": [
15 "248df4b7-aa70-47b8-a036-33ac447e668d"
16 ],
17 "status": "healthy",
18 "status_error": "error message",
19 "type": {
20 "id": "postgresql",
21 "name": "PostgreSQL",
22 "operations": [
23 "operations"
24 ]
25 }
26 }
27}