diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2021-05-13 23:32:28 +0200 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2021-05-13 23:33:24 +0200 |
commit | ca98c8f8440413f7d6612403c29bf6d43f56eed6 (patch) | |
tree | 709c9d69b182cb7fbbca482e7f8040b7c40ad8b5 /support | |
parent | 06dc7a1b961810b5c593acb86b17fd5c6e38650f (diff) | |
download | PeerTube-ca98c8f8440413f7d6612403c29bf6d43f56eed6.tar.gz PeerTube-ca98c8f8440413f7d6612403c29bf6d43f56eed6.tar.zst PeerTube-ca98c8f8440413f7d6612403c29bf6d43f56eed6.zip |
modify return code for adding/removing blocked servers in openapi spec
closes #4095
Diffstat (limited to 'support')
-rw-r--r-- | support/doc/api/openapi.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml index 8cfd3e6d7..74d5c608c 100644 --- a/support/doc/api/openapi.yaml +++ b/support/doc/api/openapi.yaml | |||
@@ -3437,7 +3437,7 @@ paths: | |||
3437 | required: | 3437 | required: |
3438 | - host | 3438 | - host |
3439 | responses: | 3439 | responses: |
3440 | '200': | 3440 | '204': |
3441 | description: successful operation | 3441 | description: successful operation |
3442 | '409': | 3442 | '409': |
3443 | description: self-blocking forbidden | 3443 | description: self-blocking forbidden |
@@ -3458,7 +3458,7 @@ paths: | |||
3458 | type: string | 3458 | type: string |
3459 | format: hostname | 3459 | format: hostname |
3460 | responses: | 3460 | responses: |
3461 | '201': | 3461 | '204': |
3462 | description: successful operation | 3462 | description: successful operation |
3463 | '404': | 3463 | '404': |
3464 | description: account block does not exist | 3464 | description: account block does not exist |