For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

/api/v1/selphid/config

Gets the current configuration parameters of selphId-sdk and the service. The JWT authentication configuration is intentionally omitted from this response.

Any FACEPHI_SELPHID_* environment variable set when the service starts is also returned in the response, with its value.

get
Authorizations
AuthorizationstringRequired

HS256 JWT signed with auth_jwt_secret and carrying an exp claim, sent as Authorization: Bearer <jwt>. Accepted while auth_accept_authorization_header is true (default). Only enforced when auth_enabled is true.

Responses
400

Incorrect parameters in the request.

application/json

Result when incorrect parameters arrive in the request.

statusnumberOptionalExample: 400
errorstringOptionalExample: BadRequest
messagestringOptional

Reason of the rejection.

Example: Malformed JSON input
timeStampstringOptional

A date and time value in "%Y-%m-%dT%H:%M:%SZ" format.

Example: 2022-01-14T10:42:05.521922Z
get/api/v1/selphid/config
GET /api/v1/selphid/config HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "status": 400,
  "error": "BadRequest",
  "message": "Malformed JSON input",
  "timeStamp": "2022-01-14T10:42:05.521922Z"
}

Last updated