Commit 8f8c05fa authored by acud's avatar acud Committed by GitHub

docs: document reupload (#1755)

parent 680ba989
......@@ -224,6 +224,25 @@ paths:
description: Default response
"/bzz/{reference}":
patch:
summary: "Reupload a root hash to the network"
tags:
- Reupload file
- Reupload collection
parameters:
- in: path
name: reference
schema:
$ref: "SwarmCommon.yaml#/components/schemas/SwarmReference"
required: true
description: Root hash of content
responses:
"200":
description: Ok
"500":
$ref: "SwarmCommon.yaml#/components/responses/500"
default:
description: Default response
get:
summary: "Get file or index document from a collection of files"
tags:
......
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