curl -H "X-API-Key: $PARTICLE_API_KEY" \
"https://api.particle.pro/v1/podcasts/removals?limit=25"{
"as_of": "2023-11-07T05:31:56Z",
"data": [
{
"podcast": {
"id": "<string>",
"title": "<string>",
"best_rank": {
"captured_at": "2023-11-07T05:31:56Z",
"chart_type": "top_podcasts",
"rank": 123,
"source": "apple",
"category_slug": "<string>",
"country": "<string>"
},
"bias": "<string>",
"image_url": "<string>",
"popularity": 123,
"publisher": {
"id": "<string>",
"name": "<string>",
"slug": "<string>"
},
"slug": "<string>",
"suitability_tier": "<string>"
},
"reason": "ai_generated",
"removed_at": "2023-11-07T05:31:56Z",
"type": "podcast",
"episode": {
"has_transcript": true,
"id": "<string>",
"title": "<string>",
"published_at": "2023-11-07T05:31:56Z"
},
"episode_count": 123,
"episodes": [
{
"has_transcript": true,
"id": "<string>",
"title": "<string>",
"published_at": "2023-11-07T05:31:56Z"
}
],
"transcribed_episode_count": 123
}
],
"has_more": true,
"cursor": "<string>"
}{
"detail": "Property foo is required but is missing.",
"error_code": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"resolve": {
"message": "<string>",
"action": "<string>",
"endpoint": "<string>",
"method": "<string>",
"url": "<string>"
},
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}List removed podcasts and episodes
Lists the podcasts and episodes we have removed from the catalog, oldest first, with when and why, so you can remove them from a copy you keep. A podcast removal takes the show and every episode it had: delete everything you hold for its podcast.id. Once a day, or as often as you sync, list with since set to the as_of of your previous sync and read every page. If you sync the episode archive, apply removals after loading the days it lists: a removal can come before the archive’s daily update that drops its episodes. A show we restore drops out of this list and comes back in the archive’s next update. An episode whose publication date changed was not removed; the archive lists the day it moved to.
curl -H "X-API-Key: $PARTICLE_API_KEY" \
"https://api.particle.pro/v1/podcasts/removals?limit=25"{
"as_of": "2023-11-07T05:31:56Z",
"data": [
{
"podcast": {
"id": "<string>",
"title": "<string>",
"best_rank": {
"captured_at": "2023-11-07T05:31:56Z",
"chart_type": "top_podcasts",
"rank": 123,
"source": "apple",
"category_slug": "<string>",
"country": "<string>"
},
"bias": "<string>",
"image_url": "<string>",
"popularity": 123,
"publisher": {
"id": "<string>",
"name": "<string>",
"slug": "<string>"
},
"slug": "<string>",
"suitability_tier": "<string>"
},
"reason": "ai_generated",
"removed_at": "2023-11-07T05:31:56Z",
"type": "podcast",
"episode": {
"has_transcript": true,
"id": "<string>",
"title": "<string>",
"published_at": "2023-11-07T05:31:56Z"
},
"episode_count": 123,
"episodes": [
{
"has_transcript": true,
"id": "<string>",
"title": "<string>",
"published_at": "2023-11-07T05:31:56Z"
}
],
"transcribed_episode_count": 123
}
],
"has_more": true,
"cursor": "<string>"
}{
"detail": "Property foo is required but is missing.",
"error_code": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"resolve": {
"message": "<string>",
"action": "<string>",
"endpoint": "<string>",
"method": "<string>",
"url": "<string>"
},
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}Authorizations
Query Parameters
Response
OK
The checkpoint for this walk through the pages, the same on every page of it. Once you have read the last page, every removal up to this time has been listed: pass it as since= on your next sync. Removals after it are listed too, and again on that sync; applying a removal twice is harmless.
Was this page helpful?