Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions openapi/spec/components/schemas/userAdminResponse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,19 @@ properties:
description: User's integer of owned namespaces.
type: integer
minimum: 0
confirmed:
description: User's confirmation.
type: boolean
status:
description: User's account status.
type: string
enum: [confirmed, not-confirmed]
admin:
description: User's admin status.
type: boolean
max_namespaces:
description: Maximum number of namespaces the user can own.
type: integer
email_marketing:
description: Whether the user has opted in to marketing emails.
type: boolean
created_at:
description: User's creating date.
type: string
Expand All @@ -33,6 +40,7 @@ properties:
maxLength: 64
required:
- id
- status
- admin
- created_at
- last_login
Expand Down
6 changes: 3 additions & 3 deletions openapi/spec/paths/admin@api@users.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ get:
value:
- id: 507f1f77bcf86cd799439011
namespaces: 0
confirmed: false
status: not-confirmed
admin: false
created_at: 2020-05-01T00:00:00.000Z
last_login: 2020-05-01T00:00:00.000Z
Expand All @@ -74,7 +74,7 @@ get:
value:
- id: 507f1f77bcf86cd799439011
namespaces: 0
confirmed: true
status: confirmed
admin: false
created_at: 2020-05-01T00:00:00.000Z
last_login: 2020-05-01T00:00:00.000Z
Expand All @@ -84,7 +84,7 @@ get:
password: 50d858e0985ecc7f60418aaf0cc5ab587f42c2570a884095a9e8ccacd0f6545c
- id: 507f191e810c19729de860ea
namespaces: 2
confirmed: false
status: not-confirmed
admin: true
created_at: 2012-01-02T00:00:00.000Z
last_login: 2012-01-02T00:00:00.000Z
Expand Down
14 changes: 10 additions & 4 deletions openapi/spec/paths/admin@api@users@{id}.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,12 @@ get:
id:
$ref: ../components/schemas/userID.yaml
status:
description: User's status
description: User's account status
type: string
enum: [confirmed, pending]
enum: [confirmed, not-confirmed]
admin:
description: Whether the user has admin privileges
type: boolean
max_namespaces:
description: Maximum number of namespaces the user can own
type: integer
Expand Down Expand Up @@ -143,6 +146,7 @@ get:
required:
- id
- status
- admin
- max_namespaces
- created_at
- last_login
Expand All @@ -157,6 +161,7 @@ get:
value:
id: '68ada99d2f96ee43fd86306a'
status: 'confirmed'
admin: true
max_namespaces: 0
created_at: '2025-08-26T12:33:33.19Z'
last_login: '2025-10-27T13:10:59.458Z'
Expand All @@ -170,10 +175,11 @@ get:
preferences:
auth_methods:
- 'local'
user_pending:
user_not_confirmed:
value:
id: '507f1f77bcf86cd799439012'
status: 'pending'
status: 'not-confirmed'
admin: false
max_namespaces: 5
created_at: '2025-01-15T10:00:00.000Z'
last_login: '2025-01-20T15:30:00.000Z'
Expand Down
Loading