Signed-off-by: allencloud <allen.sun@daocloud.io>
allencloud authored on 2017/02/03 16:13:10... | ... |
@@ -6610,6 +6610,10 @@ paths: |
6610 | 6610 |
responses: |
6611 | 6611 |
200: |
6612 | 6612 |
description: "no error" |
6613 |
+ 404: |
|
6614 |
+ description: "plugin is not installed" |
|
6615 |
+ schema: |
|
6616 |
+ $ref: "#/definitions/ErrorResponse" |
|
6613 | 6617 |
500: |
6614 | 6618 |
description: "server error" |
6615 | 6619 |
schema: |
... | ... |
@@ -6633,6 +6637,10 @@ paths: |
6633 | 6633 |
responses: |
6634 | 6634 |
200: |
6635 | 6635 |
description: "no error" |
6636 |
+ 404: |
|
6637 |
+ description: "plugin is not installed" |
|
6638 |
+ schema: |
|
6639 |
+ $ref: "#/definitions/ErrorResponse" |
|
6636 | 6640 |
500: |
6637 | 6641 |
description: "server error" |
6638 | 6642 |
schema: |
... | ... |
@@ -3800,6 +3800,7 @@ Content-Type: text/plain; charset=utf-8 |
3800 | 3800 |
**Status codes**: |
3801 | 3801 |
|
3802 | 3802 |
- **200** - no error |
3803 |
+- **404** - plugin not installed |
|
3803 | 3804 |
- **500** - plugin is already enabled |
3804 | 3805 |
|
3805 | 3806 |
#### Disable a plugin |
... | ... |
@@ -3828,6 +3829,7 @@ Content-Type: text/plain; charset=utf-8 |
3828 | 3828 |
**Status codes**: |
3829 | 3829 |
|
3830 | 3830 |
- **200** - no error |
3831 |
+- **404** - plugin not installed |
|
3831 | 3832 |
- **500** - plugin is already disabled |
3832 | 3833 |
|
3833 | 3834 |
#### Remove a plugin |