Skip to content
EntitlerDocs

GET/v1/snapshot-keys

Get the snapshot keys

Returns the ES256 public keys that verify entitlement snapshots offline, as a JSON Web Key Set. Needs no credential, and is limited per address.

curl 'https://api.entitler.co/v1/snapshot-keys'

Credentials

This route needs no credential.

Responses

200The ES256 keys that verify snapshots, as a JSON Web Key Set.

SnapshotKeySet

  • keysarray of objectrequired
    • algstringrequired

      One of ES256.

    • crvstringrequired

      One of P-256.

    • kidstringrequired
    • ktystringrequired

      One of EC.

    • usestringrequired

      One of sig.

    • xstringrequired
    • ystringrequired

405A method other than GET, with no body.

429The address's limit is spent, with no body.

  • Retry-After: Seconds until the limit's period ends.

500A stored key can't be published, with no body.

503The keys are unreachable, with no body.