---
openapi: 3.0.1
info:
  title: Trading API v3
  description: APIs related to trading operations
  version: v3
paths:
  /frontoffice/api/v3/info:
    get:
      tags:
        - InfoControllerV
      description: "Required operations: trading-ui"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/BBP.TradingServer.TradingApi.Models.Info.ApiGetServerTime.Response
  /frontoffice/api/v3/guest/info:
    get:
      tags:
        - GuestInfoControllerV
      description: >-
        Anonymous counterpart of /frontoffice/api/v3/info. No authentication and
        no required operations. Returns the same platform time and the same
        schema.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/BBP.TradingServer.TradingApi.Models.Info.ApiGetServerTime.Response
  /frontoffice/api/v3/guest/info/time-zones:
    get:
      tags:
        - GuestInfoControllerV
      description: >-
        Platform time zones available to anonymous callers. No authentication
        and no required operations.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: >-
                    #/components/schemas/BBP.TradingServer.TradingApi.Models.Info.ApiGetServerTimeZones.Response
components:
  schemas:
    BBP.TradingServer.TradingApi.Models.Info.ApiGetServerTime.Response:
      type: object
      properties:
        serverTime:
          type: string
        serverTimeZone:
          type: string
      additionalProperties: false
    BBP.TradingServer.TradingApi.Models.Info.ApiGetServerTimeZones.Response:
      type: object
      properties:
        id:
          type: string
        offset:
          type: string
        offsetInMinutes:
          type: integer
          format: int32
        label:
          type: string
        shortLabel:
          type: string
      additionalProperties: false
