Otter · Schema

HydraToken

HydraToken schema from Public API (Otter Public API).

RestaurantOrder ManagementDeliveryOnline OrderingMenu ManagementAnalytics

Properties

Name Type Description
access_token string The auth token used when consuming the API endpoints.
expires_in integer The token expiration time in seconds.
scope string The scopes available for the token.
token_type string The token type is always "bearer".
View JSON Schema on GitHub

JSON Schema

public-api-hydra-token-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "HydraToken",
  "description": "HydraToken schema from Public API (Otter Public API).",
  "$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-hydra-token-schema.json",
  "type": "object",
  "properties": {
    "access_token": {
      "type": "string",
      "description": "The auth token used when consuming the API endpoints.",
      "example": "oMahtBwBbnZeh4Q66mSuLFmk2V0_CLCKVt0aYcNJlcg.yditzjwCP7yp0PgR6AzQR3wQ1rTdCjkcPeAMuyfK-NU"
    },
    "expires_in": {
      "type": "integer",
      "format": "int64",
      "description": "The token expiration time in seconds.",
      "example": 2627999
    },
    "scope": {
      "type": "string",
      "description": "The scopes available for the token.",
      "example": "ping orders.create"
    },
    "token_type": {
      "type": "string",
      "description": "The token type is always \"bearer\".",
      "example": "bearer"
    }
  }
}