action pandascore_get_tournaments_tournament_id_or_slug_brackets { label: "Get a tournament's brackets" description: "Get the brackets of the given tournament" provider: pandascore method: GET path: "/tournaments/{tournament_id_or_slug}/brackets" encoding: json input: { type: "object" properties: { filter: { type: "object" properties: { begin_at: { type: "array" items: { type: "string" format: "date-time" } } detailed_stats: { type: "boolean" description: "Whether the match offers full stats" } draw: { type: "boolean" description: "Whether result of the match is a draw" } end_at: { type: "array" items: { type: "string" format: "date-time" } } forfeit: { type: "boolean" description: "Whether match was forfeited" } game_advantage: { type: "array" items: { type: "object" } } id: { type: "array" items: { type: "integer" } } live_embed_url: { type: "array" items: { type: "string" format: "uri" description: "Use `.streams.official.embed_url` instead" } } match_type: { type: "array" items: { type: "string" enum: ["best_of", "custom", "first_to", "ow_best_of"] } } modified_at: { type: "array" items: { type: "string" format: "date-time" } } name: { type: "array" items: { type: "string" } } number_of_games: { type: "array" items: { type: "integer" description: "Number of games" } } official_stream_url: { type: "array" items: { type: "string" format: "uri" description: "Use `.streams.official.raw_url` instead" } } original_scheduled_at: { type: "array" items: { type: "string" format: "date-time" } } scheduled_at: { type: "array" items: { type: "string" format: "date-time" } } slug: { type: "array" items: { type: "string" } } status: { type: "array" items: { type: "string" enum: ["canceled", "finished", "not_started", "postponed", "running"] } } tournament_id: { type: "array" items: { type: "integer" } } winner_id: { type: "array" items: { type: "object" additionalProperties: true } } } additionalProperties: false } range: { type: "object" properties: { begin_at: { type: "array" items: { type: "string" format: "date-time" } } detailed_stats: { type: "array" items: { type: "boolean" description: "Whether the match offers full stats" } } draw: { type: "array" items: { type: "boolean" description: "Whether result of the match is a draw" } } end_at: { type: "array" items: { type: "string" format: "date-time" } } forfeit: { type: "array" items: { type: "boolean" description: "Whether match was forfeited" } } game_advantage: { type: "array" items: { type: "object" } } id: { type: "array" items: { type: "integer" } } live_embed_url: { type: "array" items: { type: "string" format: "uri" description: "Use `.streams.official.embed_url` instead" } } match_type: { type: "array" items: { type: "string" enum: ["best_of", "custom", "first_to", "ow_best_of"] } } modified_at: { type: "array" items: { type: "string" format: "date-time" } } name: { type: "array" items: { type: "string" } } number_of_games: { type: "array" items: { type: "integer" description: "Number of games" } } official_stream_url: { type: "array" items: { type: "string" format: "uri" description: "Use `.streams.official.raw_url` instead" } } original_scheduled_at: { type: "array" items: { type: "string" format: "date-time" } } scheduled_at: { type: "array" items: { type: "string" format: "date-time" } } slug: { type: "array" items: { type: "string" } } status: { type: "array" items: { type: "string" enum: ["canceled", "finished", "not_started", "postponed", "running"] } } tournament_id: { type: "array" items: { type: "integer" } } winner_id: { type: "array" items: { type: "object" additionalProperties: true } } } additionalProperties: false } search: { type: "object" properties: { live_embed_url: { type: "string" format: "uri" description: "Use `.streams.official.embed_url` instead" } match_type: { type: "string" enum: ["best_of", "custom", "first_to", "ow_best_of"] } name: { type: "string" } official_stream_url: { type: "string" format: "uri" description: "Use `.streams.official.raw_url` instead" } slug: { type: "string" } status: { type: "string" enum: ["canceled", "finished", "not_started", "postponed", "running"] } } additionalProperties: false } sort: { type: "array" items: { enum: ["begin_at", "-begin_at", "detailed_stats", "-detailed_stats", "draw", "-draw", "end_at", "-end_at", "forfeit", "-forfeit", "game_advantage", "-game_advantage", "id", "-id", "live_embed_url", "-live_embed_url", "match_type", "-match_type", "modified_at", "-modified_at", "name", "-name", "number_of_games", "-number_of_games", "official_stream_url", "-official_stream_url", "original_scheduled_at", "-original_scheduled_at", "scheduled_at", "-scheduled_at", "slug", "-slug", "status", "-status", "tournament_id", "-tournament_id", "winner_id", "-winner_id"] type: "object" } } tournament_id_or_slug: { description: "A tournament ID or slug" type: "object" } } required: ["tournament_id_or_slug"] additionalProperties: false } output: { type: "object" additionalProperties: true } }