aboutsummaryrefslogblamecommitdiff
blob: 2ed23d8e7d06de8364cf701606fc8ef90f2c43ec (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12




                                                     






                                      







































































                                                           
{
  "$schema": "https://www.krakend.io/schema/v3.json",
  "version": 3,
  "name": "Checkin.bot API",
  "extra_config": {
    "telemetry/influx": {
      "address": "http://influx:8086",
      "ttl": "25s",
      "buffer_size": 100,
      "db": "krakend",
      "username": "krakend",
      "password": "password"
    },
    "telemetry/metrics": {
      "collection_time": "60s",
      "proxy_disabled": false,
      "router_disabled": false,
      "backend_disabled": false,
      "endpoint_disabled": false,
      "listen_address": ":8090"
    }
  },
  "timeout": "3000ms",
  "cache_ttl": "300s",
  "output_encoding": "json",
  "debug_endpoint": true,
  "endpoints": [
    {
      "endpoint": "/checkinbot/webhook",
      "method": "POST",
      "output_encoding": "json",
      "backend": [
        {
          "url_pattern": "/checkinbot/webhook",
          "encoding": "json",
          "sd": "static",
          "method": "POST",
          "host": [
            "http://checkinbot:8080"
          ],
          "disable_host_sanitize": false
        }
      ]
    },
    {
      "endpoint": "/checkinbot/healthcheck",
      "method": "GET",
      "output_encoding": "string",
      "backend": [
        {
          "url_pattern": "/checkinbot/healthcheck",
          "encoding": "string",
          "sd": "static",
          "method": "GET",
          "host": [
            "http://checkinbot:8080"
          ],
          "disable_host_sanitize": false
        }
      ]
    },
    {
      "endpoint": "/checkinbot/fedi_login_callback",
      "method": "GET",
      "output_encoding": "string",
      "backend": [
        {
          "url_pattern": "/checkinbot/fedi_login_callback",
          "encoding": "string",
          "sd": "static",
          "method": "GET",
          "disable_host_sanitize": false,
          "host": [
            "http://checkinbot:8080"
          ]
        }
      ],
      "input_query_strings": [
        "code",
        "state"
      ]
    }
  ]
}
Powered by cgit v1.2.3 (git 2.41.0)