You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@yunikorn.apache.org by "0yukali0 (via GitHub)" <gi...@apache.org> on 2023/05/09 12:59:50 UTC

[GitHub] [yunikorn-site] 0yukali0 commented on a diff in pull request #289: [YUNIKORN-1383] [website] REST API doc changes in Yunikorn Website

0yukali0 commented on code in PR #289:
URL: https://github.com/apache/yunikorn-site/pull/289#discussion_r1188560400


##########
docs/api/scheduler.md:
##########
@@ -681,6 +681,353 @@ Fetch an Application given a Partition, Queue and Application ID and displays ge
 }
 ```
 
+## UsersTracker
+### Get users usage tracking information
+
+Fetch all users usage given a Partition and displays general information about the users managed by YuniKorn.
+
+**URL** : `/ws/v1/partition/{partitionName}/usage/users`
+
+**Method** : `GET`
+
+**Auth required** : NO
+
+### Success response
+
+**Code** : `200 OK`
+
+**Content example**
+
+```json
+[
+  {
+    "userName": "user1",
+    "groups": {
+      "app2": "tester"
+    },
+    "queues":
+    {
+      "queuename": "root",

Review Comment:
   Hi @zhuqi-lucas .
   Based on https://github.com/apache/yunikorn-core/blob/master/pkg/webservice/dao/ugm_info.go, "queuename"  should be "queuePath" in this example.
   Did you modify the ugm_info.go locally?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@yunikorn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org