Skip to content

Commit 82d440c

Browse files
committed
fix download endpoint docs
1 parent 4d47070 commit 82d440c

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

code/go/0chain.net/blobbercore/handler/object_operation_handler.go

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -264,9 +264,7 @@ func (fsh *StorageHandler) RedeemReadMarker(ctx context.Context, r *http.Request
264264
}
265265

266266
// swagger:route POST /v1/file/download/{allocation} downloadFile
267-
//
268-
// DownloadHandler is the handler to respond to download requests from clients.
269-
//
267+
// Download Handler (downloadFile)
270268
// parameters:
271269
// +name: allocation
272270
// description: TxHash of the allocation in question.
@@ -329,8 +327,8 @@ func (fsh *StorageHandler) RedeemReadMarker(ctx context.Context, r *http.Request
329327
// in: header
330328
// type: string
331329
// +name: X-Verify-Download
332-
// description: If set to "true", the download should be verified. If the mode is "thumbnail",
333-
// the thumbnail hash stored in the db is compared with the hash of the actual file.
330+
// description: If set to "true", the download should be verified. If the mode is "thumbnail",\
331+
// the thumbnail hash stored in the db is compared with the hash of the actual file.\
334332
// If the mode is "full", merkle proof is calculated and returned in the response.
335333
// in: header
336334
// type: string

0 commit comments

Comments
 (0)