Skip to content

Commit

Permalink
docs: update chunk endpoint info (#2717)
Browse files Browse the repository at this point in the history
  • Loading branch information
AuHau authored Dec 7, 2021
1 parent 0530c81 commit 2e9818d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion openapi/Swarm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ paths:
- $ref: "SwarmCommon.yaml#/components/parameters/SwarmPostageBatchId"
- $ref: "SwarmCommon.yaml#/components/parameters/SwarmDeferredUpload"
requestBody:
description: Chunk binary data that has to have at least 8 bytes.
content:
application/octet-stream:
schema:
Expand All @@ -208,7 +209,9 @@ paths:
description: Ok
headers:
"swarm-tag":
$ref: "SwarmCommon.yaml#/components/headers/SwarmTag"
description: Tag UID if it was passed to the request `swarm-tag` header.
schema:
$ref: "SwarmCommon.yaml#/components/schemas/Uid"
content:
application/json:
schema:
Expand Down

0 comments on commit 2e9818d

Please sign in to comment.