Add Integration

POST /api/integration

TBC

Query parameters

  • Try to connect to the integration to verify if the connection is valid. This will be done after the creation of the integration, so an invalid connection is not considered an error, and the integration will be created anyway

application/json

Body

Responses

POST /api/integration
curl \
 -X POST https://api-dev.gatego.io/api/integration \
 -H "Content-Type: application/json" \
 -d '{"type":"CAMERA","vendor":"VERKADA","config":{"api_key":"string"}}'
Request examples
{
  "type": "CAMERA",
  "vendor": "VERKADA",
  "config": {
    "api_key": "string"
  }
}
Response examples (200)
{
  "id": 42,
  "type": "CAMERA",
  "vendor": "VERKADA",
  "status": {
    "connected": true
  },
  "config": {}
}