openapi: 3.2.0 info: title: Level2 Hub Controller Prediction Market Events API version: 0.1.0 tags: - name: Prediction Market Events paths: /prediction_market_events: get: summary: Prediction Market Events operationId: prediction_market_events_prediction_market_events_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 - description: Page number required: false schema: title: Page minimum: 1.0 type: integer description: Page number default: 1 name: page in: query - description: Items per page required: false schema: title: Size maximum: 100.0 minimum: 1.0 type: integer description: Items per page default: 10 name: size in: query responses: '200': description: Successful Response content: application/json: schema: {} '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' tags: - Prediction Market Events 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