Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Caddy Lifecycle API

The Lifecycle API from Caddy — 2 operation(s) for lifecycle.

Caddy Lifecycle API is one of 6 APIs that Caddy publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Lifecycle. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a getting-started guide, and a GitHub repository.

This API exposes 2 operations across 2 paths, and defines 1 schema. It is described by OpenAPI 3.1.0, at version 1.0.

Requests are made against a single base URL, http://localhost:2019.

2 operations 2 paths 1 schemas 2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0
Base URL
http://localhost:2019
Resource Areas
1

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 2 POST. Each is listed below with its method, path, parameters, and response codes.

Lifecycle 2
POST
/load
Set or replace the active configuration
loadConfig body → 200400
POST
/stop
Gracefully shut down the server
stopServer → 200

Schemas 1

The contract defines 1 schema that model the data the API accepts and returns. Each schema is shown below with its type and property counts.

Config
object

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

caddy-lifecycle-api-openapi.yml Raw ↑

Other APIs Caddy publishes across the network.

Caddy Admin API
Caddy Adapt API
Caddy Configuration API
Caddy PKI API
Caddy Reverse Proxy API