seahaven-ap/packages/api/openapi/paths/users.yaml

24 lines
635 B
YAML

get:
tags: [Master data]
summary: List users
description: Returns every user profile. Identity upsert remains sub-keyed.
operationId: get-api-users
responses:
"200":
description: User list.
content:
application/json:
schema:
type: object
required: [items]
properties:
items:
type: array
items:
$ref: ../components/schemas.yaml#/User
"401":
description: Missing session.
content:
application/json:
schema:
$ref: ../components/schemas.yaml#/Error