HAProxy Spoe Transactions API

The SpoeTransactions API from HAProxy — 2 operation(s) for spoetransactions.

Operations 5

GET /services/haproxy/spoe/spoe_files/{parent_name}/transactions Return list of SPOE configuration transactions #
POST /services/haproxy/spoe/spoe_files/{parent_name}/transactions Start a new transaction #
DELETE /services/haproxy/spoe/spoe_files/{parent_name}/transactions/{id} Delete a transaction #
GET /services/haproxy/spoe/spoe_files/{parent_name}/transactions/{id} Return one SPOE configuration transactions #
PUT /services/haproxy/spoe/spoe_files/{parent_name}/transactions/{id} Commit transaction #

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-spoetransactions-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-spoetransactions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: HAProxy Data Plane Spoe Transactions 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: SpoeTransactions
paths:
  /services/haproxy/spoe/spoe_files/{parent_name}/transactions:
    get:
      description: Returns a list of SPOE configuration transactions. Transactions can be filtered by their status.
      operationId: getAllSpoeTransaction
      parameters:
      - $ref: '#/components/parameters/parent_name'
      - description: Filter by transaction status
        in: query
        name: status
        required: false
        schema:
          type: string
          enum:
          - failed
          - in_progress
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/spoe_transactions'
        default:
          $ref: '#/components/responses/DefaultError'
      summary: Return list of SPOE configuration transactions
      tags:
      - SpoeTransactions
    post:
      description: Starts a new transaction and returns it's id
      operationId: startSpoeTransaction
      parameters:
      - $ref: '#/components/parameters/parent_name'
      - description: Configuration version on which to work on
        in: query
        name: version
        required: true
        schema:
          type: integer
      responses:
        '201':
          description: Transaction started
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/spoe_transaction'
        '429':
          description: Too many open transactions
          content:
            application/json:
              schema:
                example:
                  code: 429
                  message: cannot start a new transaction, reached the maximum amount of 20 active transactions available
                properties:
                  code:
                    type: integer
                  message:
                    type: string
                type: object
        default:
          $ref: '#/components/responses/DefaultError'
      summary: Start a new transaction
      tags:
      - SpoeTransactions
  /services/haproxy/spoe/spoe_files/{parent_name}/transactions/{id}:
    delete:
      description: Deletes a transaction.
      operationId: deleteSpoeTransaction
      parameters:
      - $ref: '#/components/parameters/parent_name'
      - description: Transaction id
        in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '204':
          description: Transaction deleted
        '404':
          $ref: '#/components/responses/NotFound'
        default:
          $ref: '#/components/responses/DefaultError'
      summary: Delete a transaction
      tags:
      - SpoeTransactions
    get:
      description: Returns one SPOE configuration transactions.
      operationId: getSpoeTransaction
      parameters:
      - $ref: '#/components/parameters/parent_name'
      - description: Transaction id
        in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/spoe_transaction'
        '404':
          $ref: '#/components/responses/NotFound'
        default:
          $ref: '#/components/responses/DefaultError'
      summary: Return one SPOE configuration transactions
      tags:
      - SpoeTransactions
    put:
      description: Commit transaction, execute all operations in transaction and return msg
      operationId: commitSpoeTransaction
      parameters:
      - $ref: '#/components/parameters/parent_name'
      - description: Transaction id
        in: path
        name: id
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/force_reload'
      responses:
        '200':
          description: Transaction successfully committed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/spoe_transaction'
        '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/spoe_transaction'
        '400':
          $ref: '#/components/responses/BadRequest'
        '404':
          $ref: '#/components/responses/NotFound'
        default:
          $ref: '#/components/responses/DefaultError'
      summary: Commit transaction
      tags:
      - SpoeTransactions
components:
  schemas:
    error:
      additionalProperties:
        type: string
      description: API Error
      properties:
        code:
          type:
          - integer
          - 'null'
        message:
          type:
          - string
          - 'null'
      required:
      - code
      - message
      title: Error
      type: object
    spoe_transaction:
      description: SPOE configuration transaction
      example:
        _version: 2
        id: 273e3385-2d0c-4fb1-aa27-93cbb31ff203
        status: in_progress
      properties:
        _version:
          type: integer
        id:
          pattern: ^[^\s]+$
          type: string
        status:
          enum:
          - failed
          - in_progress
          - success
          type: string
      title: SPOE configuration transaction
      type: object
    spoe_transactions:
      title: SPOE Transactions array
      description: SPOE Configuration transactions array
      type: array
      items:
        $ref: '#/components/schemas/spoe_transaction'
  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'
  parameters:
    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
  securitySchemes:
    basic_auth:
      type: http
      scheme: basic
externalDocs:
  url: https://docs.haproxy.org/
  description: HAProxy Documentation