Get a list of AFA Advanced Configuration Parameters & Values

Retrieves a ist of AFA Advanced Configuration parameters and their corresponding values from the AFA config file (/home/afa/.fa/config).

Resource name: /api/v1/config

Request Method: GET

cUrl Example:

curl -X GET "https://localhost/api/v1/config" -H "Authorization: Bearer {token}"
			

Status codes:

Code Description
200 OK
400 Bad Request
401 Unauthorized
403 Forbidden
404 Not Found
423 Locked
429 Too Many Requests
500 Internal Server Error
503 Service Unavailable

Response parameters:

Parameter Type Description
Key string The keys represent configuration parameter names.
Value string The values associated with the configuration parameter keys.

Response example success 200:

Copy
{
  "parameter1": "value1",
  "parameter2": "value2"
}

Response example failure 400:

Copy
{
  "error": "string",
  "description": "string",
  "fieldErrors": [
    {
      "field": "string",
      "error": "string"
    }
  ]
}