Skip to content
nitsuga5124 edited this page Dec 30, 2020 · 4 revisions

GET - /download/{checksum}

Downloads a the file matching the provided checksum.

Output

Binary data in the form of a .zip file.

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 https://5124.mywire.org:1231/public_api/download/786195b851436ad552223d54f5f8e4d9b49eba1905f7da0b6f5c182359b7257a

Clone this wiki locally