mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-21 07:50:37 +01:00
24 lines
672 B
YAML
24 lines
672 B
YAML
TokenObject:
|
|
type: object
|
|
properties:
|
|
uid:
|
|
type: number
|
|
description: A valid user id
|
|
description:
|
|
type: string
|
|
description: Optional descriptor to differentiate tokens.
|
|
token:
|
|
type: string
|
|
description: An API token that can be called against this API via Bearer Authentication.
|
|
timestamp:
|
|
type: number
|
|
timestampISO:
|
|
type: string
|
|
description: An ISO 8601 formatted date string (complementing `timestamp`)
|
|
lastSeen:
|
|
type: number
|
|
nullable: true
|
|
lastSeenISO:
|
|
type: string
|
|
description: An ISO 8601 formatted date string (complementing `lastSeen`)
|
|
nullable: true |