v1

latestOpenAPI 3.0.12026-07-17235160320.7 KB
Artifacts

Downloads the contents of an Artifact snapshot

Args: id: the resource id of the artifact snapshotId: the snapshot resource id of the artifact

Returns: A list of the files associated with artifact.

get/api/v1/artifacts/{id}/snapshots/{snapshotId}/contents

Path parameters

snapshotIdinteger required

Snapshot ID for the Artifact resource.

idinteger required

Snapshot ID for the Artifact resource.

Query parameters

pathstring

Path of a specific artifact. Only valid if artifactis a directory.

fileTypestring

Only valid if the artifact is a directory. The type of file todownload: tar_gz or zip.

Headers

X-Fieldsstring mask

An optional fields mask

Response

Success

isDirboolean

Whether the file denotes a directory or not.

fileSizeinteger

The size in bytes of the file.

fileUrlstring

URL for accessing the contents of the Artifact.

relativePathstring

Relative path to the Artifact URI.