API reference
Me. 1 operations.
1 of them work. Each needs a bearer token with its scope. All operations.
Operations
Schemas 3
Me
Me is what GET /api/v1/me answers for the calling token: its own data, never another token's, never its secret. Member, Phone and Places are a till token's (null, "" and none for another); EndsAt is when it stops (null for never); State is active in a 200: a stopped token is 401 with auth.token_revoked, auth.token_expired or auth.token_blocked.
MeMember
MeMember is a till token's member: the account's id and name (its email when it has no name).
idrequired | integer |
namerequired | string |
MePlace
MePlace is a place a till token sells at, with its open dates.
closes_onrequired | string |
keyrequired | string |
namerequired | string |
opens_onrequired | string |
Made from engine/internal/openapi/openapi.json at commit 6c4cbd921. The contract-only operations come from the engine’s stub file, engine/internal/ops.