Skip to content

ExeUnit URL schemes

Marek Franciszkiewicz edited this page Jun 18, 2020 · 2 revisions

List of supported protocols

  • http://, https://

    May contain URL encoded HTTP basic auth credentials, e.g. https://user:[email protected].

  • gftp://

  • container:// or [empty prefix]

    URL for files inside the Runtime filesystem in a POSIX path format. Mapped to file:// protocol scheme by the TransferService.

  • file://

    Used internally by the TransferService.

Content hashes

Content hashes are a part of the resource URL, i.e.

hash:[//]<algo>:<digest>:<url>

Where allowed values for algo are:

  • sha3

    The variant of SHA3 algorithm is determined by digest's length (i.e. 32 bytes for SHA3-256, 64 for SHA3-512).

end of list.

Example:

hash:sha3:f721a1afff8300e03f24a45d337b9a9aa630ca8b7f2b8dca94b44be78e554fa5:https://ya.cdn.com/wasm/fib.zip

  • algo: sha3
  • digest: f721a1afff8300e03f24a45d337b9a9aa630ca8b7f2b8dca94b44be78e554fa5
  • url: https://ya.cdn.com/wasm/fib.zip

Commands

DEPLOY

Content hashes are required

Supported protocol prefixes:

  • http://
  • https://
  • gftp://

TRANSFER

Supported protocol prefixes:

  • http://
  • https://
  • gftp://
  • container:// or [empty prefix]