Return to Docs

Chef Habitat API Documentation

Download OpenAPI specification:Download

Authentication

GET_butterfly

Butterfly debug output

Responses

GET_census

Census debug output

Responses

GET_services

List information of all loaded services

Responses

Response samples

Content type
application/json
[
  • {
    }
]

GET_services-name-group

Show information of a single loaded service

path Parameters
name
required
string
group
required
string

Responses

Response samples

Content type
application/json
{
  • "service_group": "string",
  • "bldr_url": "string",
  • "spec_file": "string",
  • "spec_ident": {
    },
  • "topology": "standalone",
  • "update_strategy": "none",
  • "cfg": { },
  • "pkg": {
    },
  • "sys": {
    },
  • "health_check": "Ok",
  • "initialized": true,
  • "last_election_status": "string",
  • "needs_reload": true,
  • "needs_reconfiguration": true,
  • "hooks": {
    },
  • "config_from": "string",
  • "process": {
    }
}

GET_services-name-group-config

Get last configuration for the given service group

path Parameters
name
required
string
group
required
string

Responses

GET_services-name-group-health

Health check status and output for the given service group

path Parameters
name
required
string
group
required
string

Responses

Response samples

Content type
application/json
{
  • "stdout": "string",
  • "stderr": "string"
}

GET_services-name-group-organization

Show information of a single loaded service scoped to an organization

path Parameters
name
required
string
group
required
string
organization
required
string

Responses

Response samples

Content type
application/json
{
  • "service_group": "string",
  • "bldr_url": "string",
  • "spec_file": "string",
  • "spec_ident": {
    },
  • "topology": "standalone",
  • "update_strategy": "none",
  • "cfg": { },
  • "pkg": {
    },
  • "sys": {
    },
  • "health_check": "Ok",
  • "initialized": true,
  • "last_election_status": "string",
  • "needs_reload": true,
  • "needs_reconfiguration": true,
  • "hooks": {
    },
  • "config_from": "string",
  • "process": {
    }
}

GET_services-name-group-organization-config

Get last configuration for the given service group

path Parameters
name
required
string
group
required
string
organization
required
string

Responses

GET_services-name-group-organization-health

Health check status and output for the given service group

path Parameters
name
required
string
group
required
string
organization
required
string

Responses

Response samples

Content type
application/json
{
  • "stdout": "string",
  • "stderr": "string"
}