You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ti...@apache.org on 2016/01/20 22:52:02 UTC

mesos git commit: Updated user documentation around HTTP response codes.

Repository: mesos
Updated Branches:
  refs/heads/master 40953089a -> 99a2980af


Updated user documentation around HTTP response codes.

Review: https://reviews.apache.org/r/42255/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/99a2980a
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/99a2980a
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/99a2980a

Branch: refs/heads/master
Commit: 99a2980af24ef5becaab8cf56a98848e5965bfeb
Parents: 4095308
Author: Alexander Rukletsov <ru...@gmail.com>
Authored: Wed Jan 20 22:50:50 2016 +0100
Committer: Till Toenshoff <to...@me.com>
Committed: Wed Jan 20 22:51:38 2016 +0100

----------------------------------------------------------------------
 docs/persistent-volume.md | 6 ++++--
 docs/reservation.md       | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/99a2980a/docs/persistent-volume.md
----------------------------------------------------------------------
diff --git a/docs/persistent-volume.md b/docs/persistent-volume.md
index 4af7d6e..3a3e370 100644
--- a/docs/persistent-volume.md
+++ b/docs/persistent-volume.md
@@ -288,7 +288,8 @@ The user receives one of the following HTTP responses:
 
 * `200 OK`: Success (the persistent volumes have been created).
 * `400 BadRequest`: Invalid arguments (e.g., missing parameters).
-* `401 Unauthorized`: Unauthorized request.
+* `401 Unauthorized`: Unauthenticated request.
+* `403 Forbidden`: Unauthorized request.
 * `409 Conflict`: Insufficient resources to create the volumes.
 
 Note that a single `/create-volumes` request can create multiple persistent
@@ -329,7 +330,8 @@ The user receives one of the following HTTP responses:
 
 * `200 OK`: Success (the volumes have been destroyed).
 * `400 BadRequest`: Invalid arguments (e.g., missing parameters).
-* `401 Unauthorized`: Unauthorized request.
+* `401 Unauthorized`: Unauthenticated request.
+* `403 Forbidden`: Unauthorized request.
 * `409 Conflict`: Insufficient resources to destroy the volumes.
 
 Note that a single `/destroy-volumes` request can destroy multiple persistent

http://git-wip-us.apache.org/repos/asf/mesos/blob/99a2980a/docs/reservation.md
----------------------------------------------------------------------
diff --git a/docs/reservation.md b/docs/reservation.md
index 57cd92c..8d2d33a 100644
--- a/docs/reservation.md
+++ b/docs/reservation.md
@@ -273,7 +273,8 @@ The user receives one of the following HTTP responses:
 
 * `200 OK`: Success (the requested resources have been reserved).
 * `400 BadRequest`: Invalid arguments (e.g., missing parameters).
-* `401 Unauthorized`: Unauthorized request.
+* `401 Unauthorized`: Unauthenticated request.
+* `403 Forbidden`: Unauthorized request.
 * `409 Conflict`: Insufficient resources to satisfy the reserve operation.
 
 #### `/unreserve` (since 0.25.0)
@@ -310,5 +311,6 @@ The user receives one of the following HTTP responses:
 
 * `200 OK`: Success (the requested resources have been unreserved).
 * `400 BadRequest`: Invalid arguments (e.g., missing parameters).
-* `401 Unauthorized`: Unauthorized request.
+* `401 Unauthorized`: Unauthenticated request.
+* `403 Forbidden`: Unauthorized request.
 * `409 Conflict`: Insufficient resources to satisfy the unreserve operation.