Keys

Describes a public key

Never refused: a key that cannot be claimed is answered with valid: false and the reason, as a page checking a key while it is typed needs. A key that is free now may be taken by the time a lambda is created with it.

get/keys/{publicKey}

Request

  • Base URL: https://genhttp.dev/api/v1
  • URL: https://genhttp.dev/api/v1/keys/{publicKey}
  • Auth: none declared

Path parameters

publicKeystring required

The key to look up, in any case - it is answered the way it would be stored

Response

What anybody may know about the key

PublicKeystring

The key as it would be stored: trimmed and lower cased

Validboolean

Whether it is spelled as a key may be: 3 to 40 characters of a-z, 0-9 and dashes, not starting or ending with a dash

Availableboolean

Whether a new lambda could be created with it right now

Existsboolean

Whether a lambda has it

Deployedboolean

Whether that lambda is online

Reasonstring nullable

Why it cannot be claimed, where it cannot - spelling, a reserved name, a key kept for the demos

Changes

No recorded changes to this operation across all 1 revision of this API.