Apps

Register an app public key

Registers a P-256 public key the app's backend signs client assertions with. Private keys are never accepted. Requires authenticated authority and enforces current resource policy.

post/api/orgs/{slug}/apps/{app}/keys

Request

  • Base URL
    https://git.cafe
  • Auth
    • API key in cookie gc-session
    • or HTTP bearer
    • or HTTP basic
    • or HTTP token

Path parameters

slugstring required
appstring required

Request body

kidstring required

Response

Response for status 201

idstring required
kidstring required
createdAtstring required
lastUsedAtstring nullable required
revokedAtstring nullable required

Changes

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