GET /accounts/{account_id}/artifacts/namespaces/{namespace}/repos/{name}/raw/{ref}/{path}

Returns file bytes resolved by ref and path, with a sniffed content type and browser-safe response headers.

Servers

Path parameters

Name Type Required Description
namespace String Yes

Artifacts namespace name.

name String Yes

Repository name.

ref String Yes

Git ref, branch, tag, or 40-character commit hash.

account_id String Yes

Cloudflare account ID.

path String Yes

File path. May contain slashes.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.