openapi: 3.2.0 info: title: Level2 Hub Controller Get Account Balances API version: 0.1.0 tags: - name: Get Account Balances paths: /get_account_balances: get: summary: Get Account Balances operationId: get_account_balances_get_account_balances_get parameters: - required: true schema: title: User Id type: string name: user_id in: query - required: false schema: title: Broker Id type: integer name: broker_id in: query responses: '200': description: Successful Response content: application/json: schema: {} '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' tags: - Get Account Balances components: schemas: HTTPValidationError: title: HTTPValidationError type: object properties: detail: title: Detail type: array items: $ref: '#/components/schemas/ValidationError' ValidationError: title: ValidationError required: - loc - msg - type type: object properties: loc: title: Location type: array items: anyOf: - type: string - type: integer msg: title: Message type: string type: title: Error Type type: string