Skip to content
Kelsier edited this page Feb 27, 2021 · 4 revisions

GET - /download/{checksum}

Downloads the file matching the provided checksum.

Output

Binary data in the form of a .zip file.

Content-Type: application/zip
Accept-Ranges: bytes

Returned Status

  • 200 The file is available and is being provided.
  • 400 The checksum has an invalid format or length.
  • 500 There's no file with that checksum.

Path Parameters

  • checksum:
    • 64 hex characters String.
    • The checksum of the file to download.
    • This value can be obtained via /get_mod or /search

Example usage

curl -i http://5124.mywire.org:1232/public_api/download/786195b851436ad552223d54f5f8e4d9b49eba1905f7da0b6f5c182359b7257a

Clone this wiki locally