Interacting with Fireactions via API
Fireactions provides a REST API for interacting with the server.
Authentication
The API requires a valid API key to be included in the X-API-Key
header of the request. The API key can be obtained from the Fireactions server by setting the api_key
configuration option.
Endpoints
Get a list of all configured pools
This endpoint returns a list of all pools that have been configured on the server.
Curl example:
Get the status of a pool
This endpoint returns details of a specific pool.
Curl example:
Scale a pool
This endpoint scales a pool up by 1 instance.
Curl example:
Pause a pool
This endpoint pauses a pool, preventing it from scaling.
Curl example:
Resume a pool
This endpoint resumes a pool, allowing it to scale.
Curl example:
Reload the configuration
This endpoint reloads the configuration from disk.
Curl example: