Skip to content
中文

Get version asset manifest

GET /application/v1/workers/{worker_id}/versions/{version_id}/assets/manifest

Read the retained asset paths, content hashes and byte sizes of a version for publication planning. This read creates no session or version. A version without assets returns an empty manifest; unavailable artifacts and foreign resources return 404.

Support: supported

Parameters

NameLocationTypeRequiredDescription
worker_idpathstringtrueWorker ID (wkr_…).
version_idpathstringtrueVersion ID from versions.list or the active deployment.

Response

HTTP 200

Success

application/json

Name Type Description
manifest object Map of static file path to content hash and byte size. Paths start with /; the same hash must declare the same size. The root paths /_headers and /_redirects are response-header and redirect rule files and are not served as assets; same-named files in subdirectories are ordinary assets. _headers allows at most 100 rules and 2000 characters per line (whitespace included); _redirects allows at most 2000 static and 100 dynamic rules and 1000 characters per rule (whitespace included), and rules after the first dynamic rule count toward the dynamic quota. Exceeding a limit makes CreateVersion return INVALID_PARAMS, with violations.field pointing at the manifest entry.