Get the server version and mode.
GET
/meta
const url = 'https://example.com/api/v1/meta';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/metaResponses
Section titled “ Responses ”The server version and mode.
Media typeapplication/json
object
version
required
The build version of the binary.
string
mode
required
The mode the server runs in.
string
sign_in_providers
The OAuth providers of hosted mode (REQ-080), by their auth-all ID. A provider signs in a person who linked it to their account.
Array<string>
Example
{ "mode": "local", "sign_in_providers": [ "oidc" ]}default
Section titled “default”An error.
Media typeapplication/problem+json
RFC 9457 problem details with a stable code.
object
type
required
string
title
required
string
status
required
integer
detail
string
instance
string
code
required
A stable machine-readable error code.
string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example", "code": "example"}