Skip to content

Commit

Permalink
Merge pull request #38 from podlove/eteubert-patch-2
Browse files Browse the repository at this point in the history
change(api): update shows list & filter
  • Loading branch information
dnkbln authored Nov 9, 2024
2 parents f3085a3 + ad6e684 commit 07b7833
Showing 1 changed file with 81 additions and 0 deletions.
81 changes: 81 additions & 0 deletions publisher/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,15 @@
"all"
]
}
},
{
"name": "show",
"in": "query",
"description": "Filter by show slug.",
"style": "form",
"schema": {
"type": "string"
}
}
],
"responses": {
Expand Down Expand Up @@ -2522,6 +2531,24 @@
}
}
},
"/podlove/v2/shows": {
"get": {
"tags": ["shows"],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ShowsArray"
}
}
}
}
}
},
"description": "A list of podcast shows."
},
"/podlove/v2/social/services": {
"get": {
"tags": [
Expand Down Expand Up @@ -6588,6 +6615,60 @@
"comment": "Host of the episode."
}
},
"ShowsArray": {
"type": "array",
"items": {
"properties": {
"id": {
"type": "integer",
"description": "Identifier of the show"
},
"title": {
"type": "string",
"description": "Title for the show."
},
"subtitle": {
"type": "string",
"description": "Subtitle for the show."
},
"slug": {
"type": "string",
"description": "Slug for the show."
},
"summary": {
"type": "string",
"description": "Summary for the show."
},
"image": {
"type": "string",
"description": "Cover Image URL for the show."
},
"language": {
"type": "string",
"description": "Language for the show."
},
"category": {
"type": "string",
"description": "(internal) Podcast category code."
},
"auphonic_preset": {
"type": "string",
"description": "(internal) Auphonic preset used by this show."
}
}
},
"example": {
"id": 1,
"title": "My First Show",
"subtitle": "",
"slug": "my-first-show",
"summary": "",
"image": "https://example.com/media/cover.jpg",
"language": "de",
"category": "",
"auphonic_preset": ""
}
},
"SocialServicesArray": {
"type": "array",
"items": {
Expand Down

0 comments on commit 07b7833

Please sign in to comment.