HAProxy HTTP Check API

The HTTPCheck API from HAProxy — 6 operation(s) for httpcheck.

Operations 18

GET /services/haproxy/configuration/backends/{parent_name}/http_checks Return an array of HTTP checks #
PUT /services/haproxy/configuration/backends/{parent_name}/http_checks Replace an HTTP checks list #
GET /services/haproxy/configuration/defaults/{parent_name}/http_checks Return an array of HTTP checks #
PUT /services/haproxy/configuration/defaults/{parent_name}/http_checks Replace an HTTP checks list #
GET /services/haproxy/configuration/healthchecks/{parent_name}/http_checks Return an array of HTTP checks #
PUT /services/haproxy/configuration/healthchecks/{parent_name}/http_checks Replace an HTTP checks list #
DELETE /services/haproxy/configuration/backends/{parent_name}/http_checks/{index} Delete a HTTP check #
GET /services/haproxy/configuration/backends/{parent_name}/http_checks/{index} Return one HTTP check #
POST /services/haproxy/configuration/backends/{parent_name}/http_checks/{index} Add a new HTTP check #
PUT /services/haproxy/configuration/backends/{parent_name}/http_checks/{index} Replace a HTTP check #
DELETE /services/haproxy/configuration/defaults/{parent_name}/http_checks/{index} Delete a HTTP check #
GET /services/haproxy/configuration/defaults/{parent_name}/http_checks/{index} Return one HTTP check #
POST /services/haproxy/configuration/defaults/{parent_name}/http_checks/{index} Add a new HTTP check #
PUT /services/haproxy/configuration/defaults/{parent_name}/http_checks/{index} Replace a HTTP check #
DELETE /services/haproxy/configuration/healthchecks/{parent_name}/http_checks/{index} Delete a HTTP check #
GET /services/haproxy/configuration/healthchecks/{parent_name}/http_checks/{index} Return one HTTP check #
POST /services/haproxy/configuration/healthchecks/{parent_name}/http_checks/{index} Add a new HTTP check #
PUT /services/haproxy/configuration/healthchecks/{parent_name}/http_checks/{index} Replace a HTTP check #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/haproxy-httpcheck-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

haproxy-httpcheck-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: HAProxy Data Plane HTTP Check API
  description: 'API for editing and managing haproxy instances. Provides process information, configuration management,

    haproxy stats and logs.'
  version: '3.4'
  contact:
    name: HAProxy Support
    url: https://my.haproxy.com/portal/cust/login
    email: support@haproxy.com
servers:
- url: /v3
security:
- basic_auth: []
tags:
- name: HTTPCheck
paths:
  /services/haproxy/configuration/backends/{parent_name}/http_checks:
    get:
      description: Returns all HTTP checks that are configured in specified parent.
      operationId: getAllHTTPCheckBackend
      parameters:
      - $ref: '#/components/parameters/parent_name'
      - $ref: '#/components/parameters/transaction_id'
      responses:
        '200':
          description: Successful operation
          headers:
            Configuration-Version:
              description: Configuration file version
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/http_checks'
        default:
          $ref: '#/components/responses/DefaultError'
      summary: Return an array of HTTP checks
      tags:
      - HTTPCheck
    put:
      description: Replaces a whole list of HTTP checks with the list given in parameter
      operationId: replaceAllHTTPCheckBackend
      parameters:
      - $ref: '#/components/parameters/parent_name'
      - $ref: '#/components/parameters/transaction_id'
      - $ref: '#/components/parameters/version'
      - $ref: '#/components/parameters/force_reload'
      responses:
        '200':
          description: All HTTP checks lines replaced
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/http_checks'
        '202':
          description: Configuration change accepted and reload requested
          headers:
            Reload-ID:
              description: ID of the requested reload
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/http_checks'
        '400':
          $ref: '#/components/responses/BadRequest'
        default:
          $ref: '#/components/responses/DefaultError'
      summary: Replace an HTTP checks list
      tags:
      - HTTPCheck
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/http_checks'
        required: true
  /services/haproxy/configuration/defaults/{parent_name}/http_checks:
    get:
      description: Returns all HTTP checks that are configured in specified parent.
      operationId: getAllHTTPCheckDefaults
      parameters:
      - $ref: '#/components/parameters/parent_name'
      - $ref: '#/components/parameters/transaction_id'
      responses:
        '200':
          description: Successful operation
          headers:
            Configuration-Version:
              description: Configuration file version
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/http_checks'
        default:
          $ref: '#/components/responses/DefaultError'
      summary: Return an array of HTTP checks
      tags:
      - HTTPCheck
    put:
      description: Replaces a whole list of HTTP checks with the list given in parameter
      operationId: replaceAllHTTPCheckDefaults
      parameters:
      - $ref: '#/components/parameters/parent_name'
      - $ref: '#/components/parameters/transaction_id'
      - $ref: '#/components/parameters/version'
      - $ref: '#/components/parameters/force_reload'
      responses:
        '200':
          description: All HTTP checks lines replaced
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/http_checks'
        '202':
          description: Configuration change accepted and reload requested
          headers:
            Reload-ID:
              description: ID of the requested reload
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/http_checks'
        '400':
          $ref: '#/components/responses/BadRequest'
        default:
          $ref: '#/components/responses/DefaultError'
      summary: Replace an HTTP checks list
      tags:
      - HTTPCheck
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/http_checks'
        required: true
  /services/haproxy/configuration/healthchecks/{parent_name}/http_checks:
    get:
      description: Returns all HTTP checks that are configured in specified parent.
      operationId: getAllHTTPCheckHealthcheck
      parameters:
      - $ref: '#/components/parameters/parent_name'
      - $ref: '#/components/parameters/transaction_id'
      responses:
        '200':
          description: Successful operation
          headers:
            Configuration-Version:
              description: Configuration file version
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/http_checks'
        default:
          $ref: '#/components/responses/DefaultError'
      summary: Return an array of HTTP checks
      tags:
      - HTTPCheck
    put:
      description: Replaces a whole list of HTTP checks with the list given in parameter
      operationId: replaceAllHTTPCheckHealthcheck
      parameters:
      - $ref: '#/components/parameters/parent_name'
      - $ref: '#/components/parameters/transaction_id'
      - $ref: '#/components/parameters/version'
      - $ref: '#/components/parameters/force_reload'
      responses:
        '200':
          description: All HTTP checks lines replaced
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/http_checks'
        '202':
          description: Configuration change accepted and reload requested
          headers:
            Reload-ID:
              description: ID of the requested reload
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/http_checks'
        '400':
          $ref: '#/components/responses/BadRequest'
        default:
          $ref: '#/components/responses/DefaultError'
      summary: Replace an HTTP checks list
      tags:
      - HTTPCheck
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/http_checks'
        required: true
  /services/haproxy/configuration/backends/{parent_name}/http_checks/{index}:
    delete:
      description: Deletes a HTTP check configuration by it's index from the specified parent.
      operationId: deleteHTTPCheckBackend
      parameters:
      - description: HTTP check Index
        in: path
        name: index
        required: true
        schema:
          type: integer
      - $ref: '#/components/parameters/parent_name'
      - $ref: '#/components/parameters/transaction_id'
      - $ref: '#/components/parameters/version'
      - $ref: '#/components/parameters/force_reload'
      responses:
        '202':
          description: Configuration change accepted and reload requested
          headers:
            Reload-ID:
              description: ID of the requested reload
              schema:
                type: string
        '204':
          description: HTTP check deleted
        '404':
          $ref: '#/components/responses/NotFound'
        default:
          $ref: '#/components/responses/DefaultError'
      summary: Delete a HTTP check
      tags:
      - HTTPCheck
    get:
      description: Returns one HTTP check configuration by it's index in the specified parent.
      operationId: getHTTPCheckBackend
      parameters:
      - description: HTTP Check Index
        in: path
        name: index
        required: true
        schema:
          type: integer
      - $ref: '#/components/parameters/parent_name'
      - $ref: '#/components/parameters/transaction_id'
      responses:
        '200':
          description: Successful operation
          headers:
            Configuration-Version:
              description: Configuration file version
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/http_check'
        '404':
          $ref: '#/components/responses/NotFound'
        default:
          $ref: '#/components/responses/DefaultError'
      summary: Return one HTTP check
      tags:
      - HTTPCheck
    post:
      description: Adds a new HTTP check of the specified type in the specified parent.
      operationId: createHTTPCheckBackend
      parameters:
      - description: HTTP check Index
        in: path
        name: index
        required: true
        schema:
          type: integer
      - $ref: '#/components/parameters/parent_name'
      - $ref: '#/components/parameters/transaction_id'
      - $ref: '#/components/parameters/version'
      - $ref: '#/components/parameters/force_reload'
      responses:
        '201':
          description: HTTP check created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/http_check'
        '202':
          description: Configuration change accepted and reload requested
          headers:
            Reload-ID:
              description: ID of the requested reload
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/http_check'
        '400':
          $ref: '#/components/responses/BadRequest'
        '409':
          $ref: '#/components/responses/AlreadyExists'
        default:
          $ref: '#/components/responses/DefaultError'
      summary: Add a new HTTP check
      tags:
      - HTTPCheck
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/http_check'
        required: true
    put:
      description: Replaces a HTTP Check configuration by it's index in the specified parent.
      operationId: replaceHTTPCheckBackend
      parameters:
      - description: HTTP Check Index
        in: path
        name: index
        required: true
        schema:
          type: integer
      - $ref: '#/components/parameters/parent_name'
      - $ref: '#/components/parameters/transaction_id'
      - $ref: '#/components/parameters/version'
      - $ref: '#/components/parameters/force_reload'
      responses:
        '200':
          description: HTTP check replaced
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/http_check'
        '202':
          description: Configuration change accepted and reload requested
          headers:
            Reload-ID:
              description: ID of the requested reload
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/http_check'
        '400':
          $ref: '#/components/responses/BadRequest'
        '404':
          $ref: '#/components/responses/NotFound'
        default:
          $ref: '#/components/responses/DefaultError'
      summary: Replace a HTTP check
      tags:
      - HTTPCheck
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/http_check'
        required: true
  /services/haproxy/configuration/defaults/{parent_name}/http_checks/{index}:
    delete:
      description: Deletes a HTTP check configuration by it's index from the specified parent.
      operationId: deleteHTTPCheckDefaults
      parameters:
      - description: HTTP check Index
        in: path
        name: index
        required: true
        schema:
          type: integer
      - $ref: '#/components/parameters/parent_name'
      - $ref: '#/components/parameters/transaction_id'
      - $ref: '#/components/parameters/version'
      - $ref: '#/components/parameters/force_reload'
      responses:
        '202':
          description: Configuration change accepted and reload requested
          headers:
            Reload-ID:
              description: ID of the requested reload
              schema:
                type: string
        '204':
          description: HTTP check deleted
        '404':
          $ref: '#/components/responses/NotFound'
        default:
          $ref: '#/components/responses/DefaultError'
      summary: Delete a HTTP check
      tags:
      - HTTPCheck
    get:
      description: Returns one HTTP check configuration by it's index in the specified parent.
      operationId: getHTTPCheckDefaults
      parameters:
      - description: HTTP Check Index
        in: path
        name: index
        required: true
        schema:
          type: integer
      - $ref: '#/components/parameters/parent_name'
      - $ref: '#/components/parameters/transaction_id'
      responses:
        '200':
          description: Successful operation
          headers:
            Configuration-Version:
              description: Configuration file version
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/http_check'
        '404':
          $ref: '#/components/responses/NotFound'
        default:
          $ref: '#/components/responses/DefaultError'
      summary: Return one HTTP check
      tags:
      - HTTPCheck
    post:
      description: Adds a new HTTP check of the specified type in the specified parent.
      operationId: createHTTPCheckDefaults
      parameters:
      - description: HTTP check Index
        in: path
        name: index
        required: true
        schema:
          type: integer
      - $ref: '#/components/parameters/parent_name'
      - $ref: '#/components/parameters/transaction_id'
      - $ref: '#/components/parameters/version'
      - $ref: '#/components/parameters/force_reload'
      responses:
        '201':
          description: HTTP check created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/http_check'
        '202':
          description: Configuration change accepted and reload requested
          headers:
            Reload-ID:
              description: ID of the requested reload
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/http_check'
        '400':
          $ref: '#/components/responses/BadRequest'
        '409':
          $ref: '#/components/responses/AlreadyExists'
        default:
          $ref: '#/components/responses/DefaultError'
      summary: Add a new HTTP check
      tags:
      - HTTPCheck
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/http_check'
        required: true
    put:
      description: Replaces a HTTP Check configuration by it's index in the specified parent.
      operationId: replaceHTTPCheckDefaults
      parameters:
      - description: HTTP Check Index
        in: path
        name: index
        required: true
        schema:
          type: integer
      - $ref: '#/components/parameters/parent_name'
      - $ref: '#/components/parameters/transaction_id'
      - $ref: '#/components/parameters/version'
      - $ref: '#/components/parameters/force_reload'
      responses:
        '200':
          description: HTTP check replaced
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/http_check'
        '202':
          description: Configuration change accepted and reload requested
          headers:
            Reload-ID:
              description: ID of the requested reload
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/http_check'
        '400':
          $ref: '#/components/responses/BadRequest'
        '404':
          $ref: '#/components/responses/NotFound'
        default:
          $ref: '#/components/responses/DefaultError'
      summary: Replace a HTTP check
      tags:
      - HTTPCheck
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/http_check'
        required: true
  /services/haproxy/configuration/healthchecks/{parent_name}/http_checks/{index}:
    delete:
      description: Deletes a HTTP check configuration by it's index from the specified parent.
      operationId: deleteHTTPCheckHealthcheck
      parameters:
      - description: HTTP check Index
        in: path
        name: index
        required: true
        schema:
          type: integer
      - $ref: '#/components/parameters/parent_name'
      - $ref: '#/components/parameters/transaction_id'
      - $ref: '#/components/parameters/version'
      - $ref: '#/components/parameters/force_reload'
      responses:
        '202':
          description: Configuration change accepted and reload requested
          headers:
            Reload-ID:
              description: ID of the requested reload
              schema:
                type: string
        '204':
          description: HTTP check deleted
        '404':
          $ref: '#/components/responses/NotFound'
        default:
          $ref: '#/components/responses/DefaultError'
      summary: Delete a HTTP check
      tags:
      - HTTPCheck
    get:
      description: Returns one HTTP check configuration by it's index in the specified parent.
      operationId: getHTTPCheckHealthcheck
      parameters:
      - description: HTTP Check Index
        in: path
        name: index
        required: true
        schema:
          type: integer
      - $ref: '#/components/parameters/parent_name'
      - $ref: '#/components/parameters/transaction_id'
      responses:
        '200':
          description: Successful operation
          headers:
            Configuration-Version:
              description: Configuration file version
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/http_check'
        '404':
          $ref: '#/components/responses/NotFound'
        default:
          $ref: '#/components/responses/DefaultError'
      summary: Return one HTTP check
      tags:
      - HTTPCheck
    post:
      description: Adds a new HTTP check of the specified type in the specified parent.
      operationId: createHTTPCheckHealthcheck
      parameters:
      - description: HTTP check Index
        in: path
        name: index
        required: true
        schema:
          type: integer
      - $ref: '#/components/parameters/parent_name'
      - $ref: '#/components/parameters/transaction_id'
      - $ref: '#/components/parameters/version'
      - $ref: '#/components/parameters/force_reload'
      responses:
        '201':
          description: HTTP check created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/http_check'
        '202':
          description: Configuration change accepted and reload requested
          headers:
            Reload-ID:
              description: ID of the requested reload
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/http_check'
        '400':
          $ref: '#/components/responses/BadRequest'
        '409':
          $ref: '#/components/responses/AlreadyExists'
        default:
          $ref: '#/components/responses/DefaultError'
      summary: Add a new HTTP check
      tags:
      - HTTPCheck
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/http_check'
        required: true
    put:
      description: Replaces a HTTP Check configuration by it's index in the specified parent.
      operationId: replaceHTTPCheckHealthcheck
      parameters:
      - description: HTTP Check Index
        in: path
        name: index
        required: true
        schema:
          type: integer
      - $ref: '#/components/parameters/parent_name'
      - $ref: '#/components/parameters/transaction_id'
      - $ref: '#/components/parameters/version'
      - $ref: '#/components/parameters/force_reload'
      responses:
        '200':
          description: HTTP check replaced
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/http_check'
        '202':
          description: Configuration change accepted and reload requested
          headers:
            Reload-ID:
              description: ID of the requested reload
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/http_check'
        '400':
          $ref: '#/components/responses/BadRequest'
        '404':
          $ref: '#/components/responses/NotFound'
        default:
          $ref: '#/components/responses/DefaultError'
      summary: Replace a HTTP check
      tags:
      - HTTPCheck
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/http_check'
        required: true
components:
  parameters:
    transaction_id:
      name: transaction_id
      in: query
      description: ID of the transaction where we want to add the operation. Cannot be used when version is specified.
      required: false
      schema:
        type: string
    version:
      name: version
      in: query
      description: Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version.
      required: false
      schema:
        type: integer
    parent_name:
      name: parent_name
      in: path
      description: Parent name
      required: true
      schema:
        type: string
        pattern: ^[^\r\n<>*;$#&{}"]+$
    force_reload:
      name: force_reload
      in: query
      description: If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration.
      required: false
      schema:
        type: boolean
        default: false
  schemas:
    error:
      additionalProperties:
        type: string
      description: API Error
      properties:
        code:
          type:
          - integer
          - 'null'
        message:
          type:
          - string
          - 'null'
      required:
      - code
      - message
      title: Error
      type: object
    http_check:
      properties:
        addr:
          pattern: ^[^\s]+$
          type: string
          x-dependency:
            type:
              value: connect
        alpn:
          pattern: ^[^\s]+$
          type: string
          x-dependency:
            type:
              value: connect
          x-display-name: ALPN Protocols
        body:
          type: string
          x-dependency:
            type:
              value: send
        body_log_format:
          type: string
          x-dependency:
            type:
              value: send
        check_comment:
          type: string
          x-dependency:
            type:
              value:
              - comment
              - connect
              - expect
              - send
        default:
          type: boolean
          x-dependency:
            type:
              value: connect
        error_status:
          enum:
          - L7OKC
          - L7RSP
          - L7STS
          - L6RSP
          - L4CON
          type: string
          x-dependency:
            type:
              value: expect
        exclamation_mark:
          type: boolean
          x-dependency:
            type:
              value: expect
          x-display-name: Expect Exclamation Mark
        headers:
          items:
            $ref: '#/components/schemas/return_header'
          type: array
          x-dependency:
            type:
              value: send
          x-go-name: CheckHeaders
          x-omitempty: true
        linger:
          type: boolean
          x-dependency:
            type:
              value: connect
        match:
          enum:
          - status
          - rstatus
          - hdr
          - fhdr
          - string
          - rstring
          pattern: ^[^\s]+$
          type: string
          x-dependency:
            type:
              required: true
              value: expect
          x-display-name: Expect Match
        metadata:
          additionalProperties:
            type: object
        method:
          enum:
          - HEAD
          - PUT
          - POST
          - GET
          - TRACE
          - PATCH
          - DELETE
          - CONNECT
          - OPTIONS
          type: string
          x-dependency:
            type:
              value: send
        min_recv:
          type:
          - integer
          - 'null'
          x-dependency:
            type:
              value: expect
        ok_status:
          enum:
          - L7OK
          - L7OKC
          - L6OK
          - L4OK
          type: string
          x-dependency:
            type:
              value: expect
        on_error:
          type: string
          x-dependency:
            type:
              value: expect
        on_success:
          type: string
          x-dependency:
            type:
              value: expect
        pattern:
          type: string
          x-dependency:
            type:
              required: true
              value: expect
        port:
          maximum: 65535
          minimum: 1
          type:
          - integer
          - 'null'
          x-dependency:
            type:
              value: connect
        port_string:
          type: string
          x-dependency:
            type:
              value: connect
        proto:
          type: string
          x-dependency:
            type:
              value: connect
        send_proxy:
          type: boolean
          x-dependency:
            type:
              value: connect
        sni:
          type: string
          x-dependency:
            type:
              value: connect
        ssl:
          type: boolean
          x-dependency:
            type:
              value: connect
        status-code:
          type: string
          x-dependency:
            type:
              value: expect
        tout_status:
          enum:
          - L7TOUT
          - L6TOUT
          - L4TOUT
          type: string
          x-dependency:
            type:
              value: expect
        type:
          enum:
          - comment
          - connect
          - disable-on-404
          - expect
          - send
          - send-state
          - set-var
          - set-var-fmt
          - unset-var
          type: string
        uri:
          type: string
          x-dependency:
            type:
              value: send
        uri_log_format:
          type: string
          x-dependency:
            type:
              value: send
        var_expr:
          type: string
          x-dependency:
            type:
              required: true
              value:
              - set-var
          x-display-name: Var Expression
        var_format:
          type: string
          x-dependency:
            type:
              required: true
              value:
              - set-var-fmt
          x-display-name: Var Format
        var_name:
          pattern: ^[^\s]+$
          type: string
          x-dependency:
            type:
              required: true
              value:
              - set-var
              - set-var-fmt
              - unset-var
        var_scope:
          pattern: ^[^\s]+$
          type: string
          x-dependency:
            type:
              required: true
              value:
              - set-var
              - set-var-fmt
              - unset-var
        version:
          type: string
          x-dependency:
            type:
              value: send
        via_socks4:
          type: boolean
          x-dependency:
            type:
              value: connect
      required:
      - type
      title: HTTP Check
      type: object
    http_checks:
      title: HTTP Checks Array
      type: array
      items:
        $ref: '#/components/schemas/http_check'
    return_header:
      properties:
        fmt:
          type: string
        name:
          type: string
      required:
      - name
      - fmt
      type: object
      x-go-name: ReturnHeader
  responses:
    DefaultError:
      description: General Error
      headers:
        Configuration-Version:
          description: Configuration file version
          schema:
            type: string
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/error'
    NotFound:
      description: The specified resource was not found
      headers:
        Configuration-Version:
          description: Configuration file version
          schema:
            type: string
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/error'
    BadRequest:
      description: Bad request
      headers:
        Configuration-Version:
          description: Configuration file version
          schema:
            type: string
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/error'
    AlreadyExists:
      description: The specified resource already exists
      headers:
        Configuration-Version:
          description: Configuration file version
          schema:
            type: string
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/error'
  securitySchemes:
    basic_auth:
      type: http
      scheme: basic
externalDocs:
  url: https://docs.haproxy.org/
  description: HAProxy Documentation