# HG changeset patch # User Kim Alvefur # Date 1680170778 -7200 # Node ID f60287bba62ccfaf3dd4ef678139d8b7f9656056 # Parent 231d9cc750d99fde7cb58816b69d34cb30bc85e1 mod_http_admin_api: Add roles to user schema in openapi diff -r 231d9cc750d9 -r f60287bba62c mod_http_admin_api/openapi.yaml --- a/mod_http_admin_api/openapi.yaml Thu Mar 30 12:05:05 2023 +0200 +++ b/mod_http_admin_api/openapi.yaml Thu Mar 30 12:06:18 2023 +0200 @@ -482,6 +482,21 @@ type: string description: Display name of the user nullable: true + role: + type: string + description: Primary role of the user + nullable: true + secondary_roles: + type: array + description: List of additional roles assigned to the user + items: + type: string + roles: + type: array + description: List of roles assigned to the user (Legacy) + deprecated: true + items: + type: string email: type: string description: Optional email address for the user (NYI)