action pandascore_get_teams_team_id_or_slug_leagues { label: "Get leagues for a team" description: "List leagues in which the given team was part of" provider: pandascore method: GET path: "/teams/{team_id_or_slug}/leagues" encoding: json input: { type: "object" properties: { filter: { type: "object" properties: { id: { type: "array" items: { type: "integer" } } modified_at: { type: "array" items: { type: "string" format: "date-time" } } name: { type: "array" items: { type: "string" } } slug: { type: "array" items: { type: "string" } } url: { type: "array" items: { type: "string" format: "uri" } } } additionalProperties: false } range: { type: "object" properties: { id: { type: "array" items: { type: "integer" } } modified_at: { type: "array" items: { type: "string" format: "date-time" } } name: { type: "array" items: { type: "string" } } slug: { type: "array" items: { type: "string" } } url: { type: "array" items: { type: "string" format: "uri" } } } additionalProperties: false } search: { type: "object" properties: { name: { type: "string" } slug: { type: "string" } url: { type: "string" format: "uri" } } additionalProperties: false } sort: { type: "array" items: { enum: ["id", "-id", "modified_at", "-modified_at", "name", "-name", "slug", "-slug", "url", "-url"] type: "object" } } team_id_or_slug: { description: "A team ID or slug" type: "object" } } required: ["team_id_or_slug"] additionalProperties: false } output: { type: "object" additionalProperties: true } }