openapi: 3.2.0 info: title: Level2 Hub Controller Change Strategy Via Trainer API version: 0.1.0 tags: - name: Change Strategy Via Trainer paths: /change_strategy_via_trainer: post: summary: Change Strategy Via Trainer operationId: change_strategy_via_trainer_change_strategy_via_trainer_post parameters: - required: true schema: title: User Id type: string name: user_id in: query - required: true schema: title: Strategy Id type: integer name: strategy_id in: query requestBody: content: application/x-www-form-urlencoded: schema: $ref: '#/components/schemas/Body_change_strategy_via_trainer_change_strategy_via_trainer_post' required: true responses: '200': description: Successful Response content: application/json: schema: {} '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' tags: - Change Strategy Via Trainer 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 Body_change_strategy_via_trainer_change_strategy_via_trainer_post: title: Body_change_strategy_via_trainer_change_strategy_via_trainer_post required: - strategy_data - canvas_data type: object properties: strategy_data: title: Strategy Data type: string canvas_data: title: Canvas Data type: string