upload

public MagmaguyRspClient.UploadResult upload(String uuid, File pack)

POST /rsp/upload. Uploads the file binary.

Return

structured upload result with success flag, access URL on success, or a parsed RspError on failure (also logged).


public MagmaguyRspClient.UploadResult upload(String uuid, File pack, String expectedSha1)

Uploads a pack while asking the hoster to verify that the received bytes match the SHA1 that triggered publication. The hoster keeps this field optional so older clients remain wire-compatible.