v1

latestOpenAPI 3.0.22026-07-2610288167.4 KB
asset

Check if asset exists by hash

Checks if content with the given hash exists in cloud storage. Returns 200 if the content exists, 404 if it doesn't. Useful for checking availability before using /api/assets/from-hash.

head/api/assets/hash/{hash}

Path parameters

hashstring required
Example:blake3:a1b2c3d4e5f6789012345678901234567890123456789012345678901234

Blake3 hash of the asset in format 'blake3:hex_digest'

Response

Asset exists