chia7712 commented on code in PR #390:
URL: https://github.com/apache/yunikorn-site/pull/390#discussion_r1468916528


##########
docs/api/scheduler.md:
##########
@@ -271,6 +271,28 @@ For the default queue hierarchy (only `root.default` leaf 
queue exists) a simila
 
 ## Applications
 
+### Partition applications
+
+Fetch all Applications for the given Partition/State combination and displays 
general information about the applications like used resources, queue name, 
submission time and allocations.
+Only following application states are allowed: active, rejected, completed. 
Active is a fake state that represents all application states except completed 
and rejected.
+For active state, can narrow the result by status query 
parameters(case-insensitive). For example, can fetch `Running` applications for 
the default partition by
+`/ws/v1/partition/default/applications/active?status=running`.
+
+**URL** : `/ws/v1/partition/:partition/applications/:state`

Review Comment:
   this comment is unrelated to this PR.
   
   Should we support 
`/ws/v1/partition/{partitionName}/queue/{queueName}/applications/:state`? that 
makes our APIs more consistent since both 
`/ws/v1/partition/{partitionName}/application/{appId}` and 
`/ws/v1/partition/{partitionName}/queue/{queueName}/application/{appId}` are 
available now.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to