RESOURCE PACKAGES / IMMUTABLE RELEASES
Every package version, published and downloadable
Browse published Resource Packages release by release, like a changelog of the sky. Download archives directly or pin a version through the API with SHA-256 verification.
…
API sync
Every release exposes a collection ZIP plus version-pinned packages. Download and verify bytes end to end:
BASE="https://astro.assets.dev.72602.space" # or any Assets deployment
# 1. List releases; pick releaseId and its collection entry
curl -fsS "$BASE/api/v1/releases" | python3 -m json.tool | less
# 2. Download the whole resource-package collection and verify it
REL="public-survey-footprints-2026-09-09-2"
SHA=$(curl -fsS "$BASE/api/v1/releases/$REL" | python3 -c 'import json,sys;print(json.load(sys.stdin)["collection"]["sha256"])')
curl -fL "$BASE/api/v1/releases/$REL/download" -o "$REL-resource-packages.zip"
echo "$SHA $REL-resource-packages.zip" | sha256sum -c -
# 3. Or pin one package version and verify it
PKG="public-desi-footprints"; VER="3.0.0"
SHA=$(curl -fsS "$BASE/api/v1/releases/$REL" | python3 -c 'import json,sys;print([p["sha256"] for p in json.load(sys.stdin)["packages"] if p["id"]=="public-desi-footprints"][0])')
curl -fL "$BASE/api/v1/resource-packages/$PKG/versions/$VER/download" -o "$PKG-$VER.zip"
echo "$SHA $PKG-$VER.zip" | sha256sum -c -
import urllib.request, hashlib, json, os, tempfile, argparse
# Full runnable client: https://<host>/api/v1/assets/documentation-sync-example-python/download
// Full runnable client: https://<host>/api/v1/assets/documentation-sync-example-java-main/download
// Build with Maven: see documentation-sync-example-java-pom (pom.xml)
Ready-to-run clients with retry, atomic rename and hash verification: asa_package_sync.py AsaPackageSync.java pom.xml