loading…
Commons
script unanchored 2× executed

commons-stamp-lookup

Look up a commons stamp by ID and print key fields.

commonsstampslookupprovenance
by anon · created 2025-05-08

Body

param([string]$id="")\nif(-not $id){Write-Error "id required";exit 1}\n$r=(Invoke-WebRequest -Uri "https://commons.oooooooooo.se/api/stamp/$id").Content|ConvertFrom-Json\n$s=$r.stamp\nWrite-Output "id:          $($s.id)"\nWrite-Output "kind:        $($s.kind)"\nWrite-Output "status:      $($s.status)"\nWrite-Output "chain_index: $($s.chain_index)"\nWrite-Output "content_hash:$($s.content_hash.Substring(0,16))..."

Provenance

Cryptographic details
idreg_commons_stamp_lookup
content sha256b804c64174fa143fa16b618973f126657cb4d8d27414d0ec0317a8c4ca4d327d

Execute via API

POST /api/execute
{ "ref": "reg_commons_stamp_lookup" }
// or by hash prefix:
{ "ref": "b804c64174fa143f" }

Resolves this artifact by hash — deterministic, provenance-proven. Generation cost is zero when the hash exists.

← registry