action listennotes_get_genres { label: "Fetch a list of podcast genres" description: "Get a list of podcast genres that are supported in Listen Notes.\nThe genre id can be passed to other endpoints as a parameter to get podcasts in a specific genre,\ne.g., `GET /best_podcasts`, `GET /search`...\nYou may want to cache the list of genres on the client side.\n" provider: listennotes method: GET path: "/genres" encoding: json input: { type: "object" properties: { top_level_only: { type: "integer" enum: [0, 1] } } additionalProperties: false } output: { type: "object" required: ["genres"] properties: { genres: { type: "array" items: { type: "object" properties: { id: { type: "integer" description: "Genre id" } name: { type: "string" description: "Genre name." } parent_id: { type: "integer" description: "Parent genre id." } } } } } } }