agent
transfer

Register an additional file for public download in the current session

Like /quick-share, but requires an already-active session. Use this to mint multiple download links from one daemon session. Note: requires the local SRIFT daemon (http://127.0.0.1:3822) — filesystem access to filePath is not available on the public https://srift.app host.

post/pubshare

Request

  • Base URL: http://127.0.0.1:3822
  • URL: http://127.0.0.1:3822/pubshare
  • Auth: none required

Request body

filePathstring required
maxDownloadsinteger
ttlMsinteger
encryptboolean

End-to-end encrypt; the key rides in the #k= fragment

passwordstring

Password-protect (implies encrypt)

namestring

Recipient-visible file name

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.