For the complete documentation index, see llms.txt. This page is also available as Markdown.

/config

This endpoint does not modify the service configuration: currently none of the parameters returned by GET /config can be updated at runtime, and the request responds 200 even though it applies no change.

Parameter
Access

port

Read-only

number_of_threads

Read-only

connection_timeout

Read-only

keep_alive_request_number

Read-only

client_max_body_size

Read-only

logger_path

Read-only

logger_level

Read-only

logger_rotation

Read-only

logger_max_files

Read-only

  • All parameters are configured at startup, through config.json or the FACEPHI_BACKEND1N_REST_* environment variables. Changing them requires restarting the service.

  • JWT authentication settings (auth_*) are startup-only: GET does not return them and this endpoint does not allow modifying them.

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body

Body for the config request. Currently the service does not apply any parameter received at this endpoint (see the POST /config table) nor does it accept JWT authentication parameters.

config_json_stringstringRequired

JSON string with the service configuration parameters.

Responses
200

Message with the result of the operation.

application/json
messagestringOptionalExample: Configuration updated successfully
post/config
POST /config HTTP/1.1
Host: 127.0.0.1:6982/
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 29

{
  "config_json_string": "text"
}
{
  "message": "Configuration updated successfully"
}

Last updated