Files

Get metadata for a file, identified by sha.

Requires permission matching: file:read:default.<file-name>.

get/files/{sha}

Request

Query parameters

type'JOB_FILE' | 'CONFIG_FILE' required

The file type

Response

A file get response.

shastring

The sha512 hash of the file

type'JOB_FILE' | 'CONFIG_FILE'

The type of the file

namestring

The filename

sizenumber

The file size in bytes

metadataobject

Additional metadata for the file

Changes

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