POST/api/v1/episodes/bulk/unpublish
Unpublish multiple episodes
Unpublishes every id in a single transaction with a single RSS refresh. Atomic: the first failure rolls back all changes. Duplicate ids are unpublished once. Accepts 1-100 ids.
ReturnsResponseListEpisodeView
AcceptsBulkIdsRequest
Response examples
200All episodes unpublished
*/* example derived from schema
{
"statusCode": 0,
"statusMessage": "string",
"data": [
{
"id": 0,
"seriesId": 0,
"seriesSlug": "string",
"episodeNumber": 0
}
],
"errors": [
{
"code": "string",
"message": "string",
"field": "string"
}
]
}400Empty id list (VALIDATION_ERROR)
*/* example derived from schema
{
"statusCode": 0,
"statusMessage": "string",
"data": [
{
"id": 0,
"seriesId": 0,
"seriesSlug": "string",
"episodeNumber": 0
}
],
"errors": [
{
"code": "string",
"message": "string",
"field": "string"
}
]
}404Unknown id, or id belongs to another tenant (EPISODENOTFOUND)
*/* example derived from schema
{
"statusCode": 0,
"statusMessage": "string",
"data": [
{
"id": 0,
"seriesId": 0,
"seriesSlug": "string",
"episodeNumber": 0
}
],
"errors": [
{
"code": "string",
"message": "string",
"field": "string"
}
]
}409An episode is not published (PUBLICATIONINVALIDTRANSITION)
*/* example derived from schema
{
"statusCode": 0,
"statusMessage": "string",
"data": [
{
"id": 0,
"seriesId": 0,
"seriesSlug": "string",
"episodeNumber": 0
}
],
"errors": [
{
"code": "string",
"message": "string",
"field": "string"
}
]
}