Artifacts

Download one hosted file. Supports Range requests for large files.

Download one hosted file. Supports Range requests for large files.

Inputs. Path, query and header fields are listed below. No request body is required.

Outputs. See each status below for its media type, schema and headers. A missing record or unavailable capability is not a successful empty result.

Errors. API JSON failures use the documented response schema. Read code, message and next; retry only when the response allows it. Auth, invalid input and missing records need a caller change.

Rate limits. Public read budgets apply by client IP and route group. This operation can have a smaller route-specific budget. Read Retry-After on 429 or retryable 503 responses.

Example setup. Use an identifier returned by the matching list, search or create operation. Sample identifiers are not a promise that a record exists.

get/api/downloads/{id}/{path}

Request

  • Base URL: https://huggingbay.xyz
  • URL: https://huggingbay.xyz/api/downloads/{id}/{path}
  • Auth: none declared

Path parameters

idstring required
pathstring required

URL-encoded file path within the artifact.

Query parameters

licenseAcceptancestring

Query alternative to the conditional-license acceptance header.

Headers

Rangestring

Optional RFC 7233 byte range.

x-hugging-bay-license-acceptancestring

Bounded token from POST /api/license-acceptances/{id}, required only for conditional-license artifacts.

Response

Full file

Changes

No recorded changes to this operation across all 2 revisions of this API.