gitlab-acebase
Version:
AceBase realtime database server (webserver endpoint to allow remote connections)
29 lines • 806 B
YAML
/auth/{dbname}/state:
get:
tags:
- auth
summary: Get authentication state
description: Gets current auth state
parameters:
- name: dbname
in: path
description: name of the database
required: true
schema:
type: string
example: mydb
responses:
200:
description: returns whether the request was authenticated and by which user (determined by the sent Authorization header)
content:
'application/json':
schema:
type: object
properties:
signed_in:
type: boolean
example: true
user:
$ref: '#/components/schemas/User'
required:
- signed_in