Commit f76f08bc authored by Adam Uhlíř's avatar Adam Uhlíř Committed by GitHub

docs: pin endpoint also returns 200 (#1788)

parent 6de5e9c7
...@@ -477,8 +477,14 @@ paths: ...@@ -477,8 +477,14 @@ paths:
tags: tags:
- Root hash pinning - Root hash pinning
responses: responses:
"200":
description: Pin already exists, so no operation
content:
application/json:
schema:
$ref: "SwarmCommon.yaml#/components/schemas/Response"
"201": "201":
description: Pinning root hash with reference description: New pin with root reference was created
content: content:
application/json: application/json:
schema: schema:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment