Owner Token

Mint a fresh owner token and its derived owner id

Changed on

Returns {token, ownerId} where token is a 32-char base62 owner token and ownerId is its 64-char lowercase SHA-256 hex. Stateless: nothing is persisted. Send the returned token as X-Owner-Token when publishing to claim ownership.

get/api/owner-token

Request

  • Base URL: https://brewpage.app
  • URL: https://brewpage.app/api/owner-token
  • Auth: none declared

Response

Fresh owner token minted

tokenstring
ownerIdstring

Changes

    • breaking

      removed the media type */* for the response with the status

    • breaking

      removed the media type */* for the response with the status

    • info

      api operation id mintOwnerToken removed and replaced with generateOwnerToken

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status