Docs OpenAPI

Docs / Types

PackageFile

One file of a package. Download it at /v1/jobs/{id}/package/files/{path}.

View as Markdown

Fields

  • media_typeName (string, at most 200 chars, pattern)required#

    A short name, such as a reaction's ID or a chemist's: 1 to 200 printable characters, not all spaces.

  • pathFilePath (string, pattern)required#

    A file's path within a record or a package, such as notebook/page-1.jpg: relative, with no empty or .. part and no control characters.

  • sha256Sha256 (string, pattern ^[0-9a-f]{64}$)required#

    A file's SHA-256 hash, as 64 lowercase hexadecimal characters. The API names every file by it.

  • size_bytesinteger, at least 0required#

Used by