Mercurial > prosody-modules
comparison mod_http_admin_api/openapi.yaml @ 5887:2aa66e928aa0
mod_http_admin_api: Allow specifying roles for invitations
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Tue, 16 Apr 2024 14:15:16 +0100 |
| parents | f60287bba62c |
| children | 432efc39572f |
comparison
equal
deleted
inserted
replaced
| 5886:2c85397d7241 | 5887:2aa66e928aa0 |
|---|---|
| 584 nullable: true | 584 nullable: true |
| 585 description: "IDs of existing groups to add the new account to" | 585 description: "IDs of existing groups to add the new account to" |
| 586 items: | 586 items: |
| 587 type: string | 587 type: string |
| 588 description: "Group ID" | 588 description: "Group ID" |
| 589 roles: | |
| 590 type: array | |
| 591 nullable: true | |
| 592 description: "List of roles the new account should have (primary role first)" | |
| 593 items: | |
| 594 type: string | |
| 595 description: "Role name" | |
| 589 NewGroupInvite: | 596 NewGroupInvite: |
| 590 type: object | 597 type: object |
| 591 properties: | 598 properties: |
| 592 ttl: | 599 ttl: |
| 593 type: number | 600 type: number |
| 599 type: string | 606 type: string |
| 600 description: "Group ID" | 607 description: "Group ID" |
| 601 description: "IDs of existing group to add the new accounts to" | 608 description: "IDs of existing group to add the new accounts to" |
| 602 group_options: | 609 group_options: |
| 603 $ref: '#/components/schemas/NewGroup' | 610 $ref: '#/components/schemas/NewGroup' |
| 611 roles: | |
| 612 type: array | |
| 613 nullable: true | |
| 614 description: "List of roles the new accounts should have (primary role first)" | |
| 615 items: | |
| 616 type: string | |
| 617 description: "Role name" | |
| 604 NewResetInvite: | 618 NewResetInvite: |
| 605 type: object | 619 type: object |
| 606 properties: | 620 properties: |
| 607 username: | 621 username: |
| 608 type: string | 622 type: string |
