Skip to content

API Reference

This document provides a high-level reference for the Txlog Server API. For interactive documentation and testing, use the Swagger UI at /swagger/index.html.

Base URL

/v1

Authentication

  • Header: X-API-Key
  • Required: Only if OIDC or LDAP is enabled on the server.

Endpoints

Assets (Machines)

MethodPathDescriptionQuery Params
GET/machinesList active machines.os, agent_version
GET/machines/idsGet machine IDs for a hostname.hostname (Required)
GET/assets/requiring-restartList assets flagged for restart.-

Executions

MethodPathDescriptionBody
GET/executionsList recent executions.-
POST/executionsReport a new execution.JSON (Execution object)

Transactions

MethodPathDescriptionBody
GET/transactionsList transactions.-
GET/transactions/idsGet transaction IDs.-
POST/transactionsUpload transaction data.JSON (Transaction object)

Packages

MethodPathDescriptionQuery Params
GET/packages/:name/:version/:release/assetsList assets with specific package.-

System

MethodPathDescription
GET/versionGet server version.