Add Integration

POST /api/integration

TBC

Query parameters

  • verify_connection boolean

    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

  • type

    TBC

  • vendor

    TBC

  • object

    One of:

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • id integer(int64)

      Provider's Gatego ID

    • type

      TBC

    • vendor

      TBC

    • status object

      TBC

      Additional properties are allowed.

      Hide status attribute Show status attribute object
      • connected boolean

        TBC

    • object

      One of:

      TBC

      Additional properties are allowed.

  • 401

    Not Authorized

  • 403

    Not Allowed

POST /api/integration
curl \
 --request POST 'https://api-dev.gatego.io/api/integration' \
 --header "Content-Type: application/json" \
 --data '{"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": {}
}