v1

latestSwagger 2.02026-07-14551943.9 KB
Servers

Configuration of a specific server

Returns the configuration of a specific server. Required permission: 'servers' or 'createserver'.

get/servers/{serverid}/

Path parameters

serveridstring required

Base64 encoded server id

Response

Server config

accountCountinteger

Number of accounts registered with this server

appandroidstring

URL of the app in Google Play

appiosstring

URL of the app in the App Store

appnamestring

name of the app

appurlstring

URL (prefix) to launch the app

lastLogininteger

Last login on this server

logostring required

Base 64 encoded logo

ownerinteger

Owner id

pinTimeoutinteger required

Time (minutes) since the last time the user entered his PIN, that the user is not requested a PIN at login. -1 means that the user is never asked for a PIN before logging in, 0 means that the user is asked every time he wants to login

pinTransTimeoutinteger required

Time (minutes) since the last time the user entered his PIN, that the user is not requested a PIN at transaction approval. -1 means that the user is never asked for a PIN before approving a transaction, 0 means that the user is asked every time he wants to approve a transaction

pingTimeinteger required

Time (seconds) that the nextAuth app has before it needs to reply to a ping request from the nextAuth server (continuous authentication)

serverFlagsstring[] required

Server flags

serverNamestring required

Server name

serveridstring required

Base64 encoded id of the nextAuth server

serverpkstring required

Base64 encoded public key of the nextAuth server

siteurlstring

URL of the main website

wsurlstring

Websocket URL