Mercurial > prosody-modules
comparison mod_http_admin_api/openapi.yaml @ 5293:f60287bba62c
mod_http_admin_api: Add roles to user schema in openapi
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Thu, 30 Mar 2023 12:06:18 +0200 |
| parents | 231d9cc750d9 |
| children | 2aa66e928aa0 |
comparison
equal
deleted
inserted
replaced
| 5292:231d9cc750d9 | 5293:f60287bba62c |
|---|---|
| 480 description: XMPP username of the user | 480 description: XMPP username of the user |
| 481 display_name: | 481 display_name: |
| 482 type: string | 482 type: string |
| 483 description: Display name of the user | 483 description: Display name of the user |
| 484 nullable: true | 484 nullable: true |
| 485 role: | |
| 486 type: string | |
| 487 description: Primary role of the user | |
| 488 nullable: true | |
| 489 secondary_roles: | |
| 490 type: array | |
| 491 description: List of additional roles assigned to the user | |
| 492 items: | |
| 493 type: string | |
| 494 roles: | |
| 495 type: array | |
| 496 description: List of roles assigned to the user (Legacy) | |
| 497 deprecated: true | |
| 498 items: | |
| 499 type: string | |
| 485 email: | 500 email: |
| 486 type: string | 501 type: string |
| 487 description: Optional email address for the user (NYI) | 502 description: Optional email address for the user (NYI) |
| 488 nullable: true | 503 nullable: true |
| 489 phone: | 504 phone: |
