Last updated 15 days ago
Was this helpful?
/connections/schema
Connection schemas
curl -L \ --url '/api/connections/schema'
{}
/connections
Array of connections
Failed to list all connections
curl -L \ --url '/api/connections'
[ { "id": "text", "currentState": "connecting", "targetState": "connected", "connection": {}, "agentName": "text" } ]
/connections/{id}
Sucessfully got a connection
Failed to get connection
curl -L \ --url '/api/connections/{id}'
{ "id": "text", "currentState": "connecting", "targetState": "connected", "connection": {}, "agentName": "text" }
/connections/{id}/operation
connect
disconnect
Updated connection
Failed to update the connection
curl -L \ --request PUT \ --url '/api/connections/{id}/operation' \ --header 'Content-Type: application/json' \ --data '{"operation":"connect"}'
/endpoints/schema
Endpoint schemas
curl -L \ --url '/api/endpoints/schema'
/endpoints
Array of endpoints
Failed to list all endpoints
curl -L \ --url '/api/endpoints'
[ { "id": "text", "currentState": "enabling", "targetState": "enabled", "connectionId": "text", "operation": "text", "address": {}, "agentName": "text" } ]
/endpoints/{id}
Sucessfully got an Endpoint
Failed to get endpoint
curl -L \ --url '/api/endpoints/{id}'