Skip to main content
GET
/
api
/
captain
/
config
/
raw
Get raw YAML config
curl --request GET \
  --url http://localhost:63372/api/captain/config/raw \
  --cookie captain_session=
{
  "content": "# YAML content...",
  "path": "/path/to/config.yaml"
}

Authorizations

captain_session
string
cookie
required

HMAC-signed session cookie returned by /api/captain/auth/login. Valid for 7 days. Invalidated when password changes.

Response

Raw YAML configuration

content
string
required
Example:

"# YAML content..."

path
string
required
Example:

"/path/to/config.yaml"