Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

modify return code for adding/removing blocked servers in openapi spec

Rigel Kentca98c8f84404
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml
index 8cfd3e6d75..74d5c608cb 100644
--- a/support/doc/api/openapi.yaml
+++ b/support/doc/api/openapi.yaml
@@ -3437,7 +3437,7 @@ paths:
required:
- host
responses:
- '200':
+ '204':
description: successful operation
'409':
description: self-blocking forbidden
@@ -3458,7 +3458,7 @@ paths:
type: string
format: hostname
responses:
- '201':
+ '204':
description: successful operation
'404':
description: account block does not exist