API: Show RSS Metadata
In this page
The Show RSS Metadata object
Show creators can customize the RSS feed information of the show. The RSS Metadata object has the following properties:
| Property | Type | Description |
|---|---|---|
show_id |
Numeric | Unique show identifier |
mode |
String | RSS customization mode |
prepend_url |
String | Tracking URL prefix |
redirect_url |
String | Redirect URL |
Retrieving Show RSS Metadata
GET /v2/shows/SHOW-ID/rss-metadataAuthenticated: yes. Owner: yes
This API returns the RSS Metadata information for the given Show.
The RSS feed of the show will be available at this URL: https://www.spreaker.com/show/SHOW-ID/episodes/feed
Example
curl -H "Authorization: Bearer OAUTH-TOKEN" https://api.spreaker.com/v2/shows/12345678/rss-metadata{
"response": {
"metadata": {
"show_id": 12345678,
"mode": "AUTO",
"prepend_url": null,
"redirect_url": null,
}
}
}Customize Show RSS Metadata
POST /v2/shows/SHOW-ID/rss-metadataAuthenticated: yes. Owner: yes
The API POST /v2/shows/SHOW-ID/rss-metadata supports these parameters:
| Parameter | Type | Description |
|---|---|---|
mode |
String | RSS customization mode, one of: AUTO, REDIRECT, DISABLED |
prepend_url |
String | Tracking URL prefix |
redirect_url |
String | Redirect URL to be used when mode is REDIRECT |