openapi: 3.2.0 info: title: Level2 Hub Controller Choose Account API version: 0.1.0 tags: - name: Choose Account paths: /choose-account/connecttrade: post: summary: Connecttrade Select Account operationId: connecttrade_select_account_choose_account_connecttrade_post parameters: - required: false schema: title: User Id type: string name: user_id in: query - required: false schema: title: Broker Id type: integer name: broker_id in: query - required: false schema: title: Account Id type: string name: account_id in: query - required: false schema: title: Connection Id type: string name: connection_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: - Choose Account /choose-account/sterling: post: summary: Sterling Select Account operationId: sterling_select_account_choose_account_sterling_post parameters: - required: false schema: title: User Id type: string name: user_id in: query - required: false schema: title: Broker Id type: integer name: broker_id in: query - required: false schema: title: Token type: string name: token in: query - required: false schema: title: Account type: string name: account in: query responses: '200': description: Successful Response content: application/json: schema: {} '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' tags: - Choose Account 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