Podcast List

Endpoint

GET /podcasts - Get the list of available podcasts

Parameters

Parameter Parameter Type Data Type
api-key header string Required
Authorization header string Required

Error messages

  • invalid HTTP_API_KEY
  • Not authenticated

HTTP response codes:

  • 200 - Success
  • 401 - Unauthorized action

Example request

curl --request GET \
  --url https://api-dev.radiozu.ro/v1/podcasts \
  --header 'Authorization: Bearer AUTH_TOKEN' \
  --header 'api-key: API_KEY' 

Response fields

An array containing multiple podcasts objects. One podcast object is described by:

  • id - interest id
  • name - interest name, string
  • description - nullable, string
  • feed_url - string
  • image - nullable, string

Example response

{
    "data": [
        {
            "id": 1,
            "name": "Fain & Simplu Podcast",
            "active": 1,
            "description": "Mihai Morar prezintă Fain & Simplu. Podcast pentru minte, trup și suflet.",
            "host": "Mihai Morar",
            "feed_url": "https:\/\/feeds.buzzsprout.com\/659008.rss",
            "image": "https:\/\/cms-podcasts.radiozu.ro\/storage\/ARGqbKsP1geP4VtK5vcYIbiyTGSxUM.jpg"
        },
        {
            "id": 2,
            "name": "podcast de test",
            "active": 1,
            "description": "podcast de testpodcast de testpodcast de test",
            "host": "RadioZU",
            "feed_url": "https:\/\/anchor.fm\/s\/7ea57f84\/podcast\/rss",
            "image": "https:\/\/cms-podcasts.radiozu.ro\/storage\/ehpfrAbQ9rP7aNStfOe217V9T437xY.jpg"
        }
    ]
}