You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@yunikorn.apache.org by wi...@apache.org on 2022/08/24 03:59:12 UTC

[yunikorn-site] branch master updated: [YUNIKORN-1286] REST API doc remove error response (#177)

This is an automated email from the ASF dual-hosted git repository.

wilfreds pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-site.git


The following commit(s) were added to refs/heads/master by this push:
     new f1ab64244 [YUNIKORN-1286] REST API doc remove error response (#177)
f1ab64244 is described below

commit f1ab64244741f9bc5a0b0fefb51f41e2c63f3829
Author: Manikandan R <ma...@gmail.com>
AuthorDate: Wed Aug 24 13:57:55 2022 +1000

    [YUNIKORN-1286] REST API doc remove error response (#177)
    
    The error response 400 is not retured by the REST calls and should be
    removed as per the code changes.
    
    Closes: #177
    
    Signed-off-by: Wilfred Spiegelenburg <wi...@apache.org>
---
 docs/api/scheduler.md | 48 ------------------------------------------------
 1 file changed, 48 deletions(-)

diff --git a/docs/api/scheduler.md b/docs/api/scheduler.md
index 0eec4f414..ef292d1d7 100644
--- a/docs/api/scheduler.md
+++ b/docs/api/scheduler.md
@@ -239,18 +239,6 @@ For the default queue hierarchy (only `root.default` leaf queue exists) a simila
 
 ### Error response
 
-**Code** : `400 Bad Request`
-
-**Content examples**
-
-```json
-{
-    "status_code": 400,
-    "message": "Partition is missing in URL path. Please check the usage documentation",
-    "description": "Partition is missing in URL path. Please check the usage documentation"
-}
-```
-
 **Code** : `500 Internal Server Error`
 
 **Content examples**
@@ -484,18 +472,6 @@ In the example below there are three allocations belonging to two applications,
 
 ### Error response
 
-**Code** : `400 Bad Request`
-
-**Content examples**
-
-```json
-{
-    "status_code": 400,
-    "message": "Partition is missing in URL path. Please check the usage documentation",
-    "description": "Partition is missing in URL path. Please check the usage documentation"
-}
-```
-
 **Code** : `500 Internal Server Error`
 
 **Content examples**
@@ -642,18 +618,6 @@ Fetch an Application given a Partition, Queue and Application ID and displays ge
 
 ### Error response
 
-**Code** : `400 Bad Request`
-
-**Content examples**
-
-```json
-{
-    "status_code": 400,
-    "message": "Partition is missing in URL path. Please check the usage documentation",
-    "description": "Partition is missing in URL path. Please check the usage documentation"
-}
-```
-
 **Code** : `500 Internal Server Error`
 
 **Content examples**
@@ -838,18 +802,6 @@ Here you can see an example response from a 2-node cluster having 3 allocations.
 
 ### Error response
 
-**Code** : `400 Bad Request`
-
-**Content examples**
-
-```json
-{
-    "status_code": 400,
-    "message": "Partition is missing in URL path. Please check the usage documentation",
-    "description": "Partition is missing in URL path. Please check the usage documentation"
-}
-```
-
 **Code** : `500 Internal Server Error`
 
 **Content examples**