diff mod_http_admin_api/openapi.yaml @ 5650:0eb2d5ea2428

merge
author Stephen Paul Weber <singpolyma@singpolyma.net>
date Sat, 06 May 2023 19:40:23 -0500
parents f60287bba62c
children 2aa66e928aa0
line wrap: on
line diff
--- a/mod_http_admin_api/openapi.yaml	Wed Feb 22 22:47:45 2023 -0500
+++ b/mod_http_admin_api/openapi.yaml	Sat May 06 19:40:23 2023 -0500
@@ -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)
@@ -780,10 +795,10 @@
           - since
           properties:
             since:
-              type: float
+              type: number
               description: The metric epoch as UNIX timestamp
             value:
-              type: float
+              type: number
               description: Seconds of CPU time used since the metric epoch
         c2s:
           type: integer