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


##########
docs/api/scheduler.md:
##########
@@ -646,6 +646,31 @@ In the example below there are three allocations belonging 
to two applications,
 
 **Code** : `500 Internal Server Error`
 
+### Queue applications by state
+
+Fetch all Applications for the given Partition/Queue/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 and root queue by 
`/ws/v1/partition/default/queue/root/applications/active?status=running`. In 
case the queue name contains any special characters, it needs to be url escaped 
to avoid issues.

Review Comment:
   > Only following application states are allowed: active, rejected, completed.
   
   `rejected` and `completed` are not acceptable, right?



-- 
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