Contents
Export Catalogue - Plugixa Stream
GET /plugixa-stream/v1/admin/catalog/export
The catalogue as one CSV file: every title and episode that is not in the trash, one row each. It is the file Import Catalogue reads back.
Needs a user with the plugixa_stream_view capability (signed in with an Application Password or the login cookie). Administrators hold it; other roles only when you grant it.
Request
GET https://your-site.example/wp-json/plugixa-stream/v1/admin/catalog/export
Responses
200 OK. data.csv is the file’s content.
{
"success": true,
"data": {
"filename": "my-stream-catalog-2026-11-17.csv",
"csv": "type,id,series,season,number,title,status,description,year,...\nmovie,2681,,,,Sintel,publish,...\n"
}
}
| Field | Type | Meaning |
|---|---|---|
data.filename |
string |
A suggested file name: the site name, -catalog- and today’s date |
data.csv |
string |
The CSV, comma-separated, first line the column names |
The columns are type, id, series, season, number, title, status, description, year, age_rating, release_status, original_lang, genres, tags, studios, languages, featured, free_count, trailer_url, poster_url, banner_url, provider, video, duration, access, intro_start, intro_end, credits_start and thumbnail_url. Lists are names separated by |. A cell starting with =, +, - or @ is written with a leading apostrophe so a spreadsheet does not run it. See Import and export.
Errors
| Status | Code | When |
|---|---|---|
401 / 403 |
plugixa_stream_forbidden |
The caller lacks the capability. |
Plus the errors every endpoint can return.
Examples
curl -s "https://your-site.example/wp-json/plugixa-stream/v1/admin/catalog/export" \
-u "$WP_USER:$WP_APP_PASSWORD"
<?php
$ch = curl_init('https://your-site.example/wp-json/plugixa-stream/v1/admin/catalog/export');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_USERPWD => getenv('WP_USER') . ':' . getenv('WP_APP_PASSWORD'),
]);
$response = json_decode(curl_exec($ch), true);
curl_close($ch);
const response = await fetch('https://your-site.example/wp-json/plugixa-stream/v1/admin/catalog/export', {
headers: {
'Authorization': `Basic ${btoa(`${process.env.WP_USER}:${process.env.WP_APP_PASSWORD}`)}`,
},
});
const { data } = await response.json();
Quick Links
Share