Browse code

add 403 for endpoint network create

Signed-off-by: allencloud <allen.sun@daocloud.io>

allencloud authored on 2016/12/06 15:36:50
Showing 2 changed files
... ...
@@ -6119,6 +6119,10 @@ paths:
6119 6119
             example:
6120 6120
               Id: "22be93d5babb089c5aab8dbc369042fad48ff791584ca2da2100db837a1c7c30"
6121 6121
               Warning: ""
6122
+        403:
6123
+          description: "operation not supported for pre-defined networks"
6124
+          schema:
6125
+            $ref: "#/definitions/ErrorResponse"
6122 6126
         404:
6123 6127
           description: "plugin not found"
6124 6128
           schema:
... ...
@@ -3319,6 +3319,7 @@ Content-Type: application/json
3319 3319
 **Status codes**:
3320 3320
 
3321 3321
 - **201** - no error
3322
+- **403** - operation not supported for pre-defined networks
3322 3323
 - **404** - plugin not found
3323 3324
 - **500** - server error
3324 3325