Download Archive

gitlab.download_archive
ActionBusiness appsconnection required

Calls GET /projects/{id}/repository/archive.{format}?sha={ref} and emits it base64-encoded.

Download a project repository snapshot (zip / tar.gz) as a file blob.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
GitLab
Secret shape
the GitLab personal/project access token
Config it needs
base_url
Resolved by
config.connection_id, else node.connection_id

Configuration

3 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
project
Project id or 'group/project' path.
stringYes———
ref
Branch, tag or SHA. Empty = default branch.
stringNo———
format
Archive format.
stringNozipone of "zip", "tar.gz", "tar.bz2", "tar"—

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "format": "zip"
}

Output

One shape.

file

FieldTypeExample
ok
booleantrue
file_content
The file, base64-encoded.
string—
content_encoding
stringbase64
filename
stringapp-main.zip
content_type
stringapplication/zip
size
Raw size in bytes (before base64).
number—
{
  "content_encoding": "base64",
  "content_type": "application/zip",
  "file_content": "",
  "filename": "app-main.zip",
  "ok": true,
  "size": 0
}

See Download Archive run in a workflow.

In a technical demo we add the GitLab connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.