The Media API also exposes an Endpoint "allmedia", that is able to handle Results from multiple Streamtypes at once. Above all, it is very usefull for Union Queries, where multiple Streamtype Results should be ordered. It is also heavily connected to the "GlobalID" System, which gives every Media Element a global, unique ID, without the need for a Streamtype.
The All Media Endpoint accepts (mostly) all Parameters of the Standard Media Endpoints - streamtype specific Parameters and Output Modifiers are not supported.
The All Media API supports most of the default Media API Endpoints in exactly the same Way with the same Parameters - except the Need for a Streamtype.
Single Item Call
This API Calls will return only one the referenced Item (if available and accessible with the calling Domain). The Result Set Format will be an Object.
GET https://api.nexx.cloud/v3.1/allmedia/byglobalid/:globalid
Path Parameters
The GlobalID of the target Media Item
Default Item List Calls
GET https://api.nexx.cloud/v3.1/allmedia/all
GET https://api.nexx.cloud/v3.1/allmedia/latest
returns "all" Items, sorted by Creation Date (ignores the "order" Parameters).
GET https://api.nexx.cloud/v3.1/allmedia/picked
returns all "picked" Items (ignores the "order" Parameter).
GET https://api.nexx.cloud/v3.1/allmedia/evergreens
returns all "Evergreen" Items.
GET https://api.nexx.cloud/v3.1/allmedia/forkids
returns all Items, marked as "created for Kids". This is NOT connected to any Age Restriction.
GET https://api.nexx.cloud/v3.1/allmedia/withawards
returns all Items, thave have been added Awards to
GET https://api.nexx.cloud/v3.1/allmedia/byquery/:query
performs a regular Query on all Items. The "order" Parameters are ignored, if querymode is set to "fulltext".
Path Parameters
Query Parameters
[classicwithand, classicwithor, fulltext] defines the Way, the Query is executed. Fore more results, "classicwithor" is optiomal. For a Lucense Search with Relevance, use "fulltext"
a comma seperated List of Attributes, to search within. If omitted, the Search will use all available Text Attributes.
skip Results with a Query Score lower than the given Value. Only usefull for querymode "fulltext".
By default, the Query will only return REsults on full Words. If also Subsctring Matches shall be returned, set this Parameter to 1. Only usefull, if querymode is not "fulltext".
if set to 0 or omitted, the Call will implictily report this Query to the nexxOMIA Reporting System.
GET https://api.nexx.cloud/v3.1/allmedia/random
GET https://api.nexx.cloud/v3.1/allmedia/mostactive
"mostactive" refers to the Number of "Views" of each Media Item. The "order" Parameters will be ignored.
Query Parameters
[1, 5, 10, 30] the Amount of Days, that will be included in the Computation of the Result Set.
/mostactiveexternal
GET https://api.nexx.cloud/v3.1/allmedia/mostactiveexternal
"mostactive" refers to the Number of "Views" of each Media Item (on external Platforms). The "order" Parameters will be ignored.
Query Parameters
[1, 5, 10, 30] the Amount of Days, that will be included in the Computation of the Result Set.
Reference Item List Calls
GET https://api.nexx.cloud/v3.1/allmedia/bytag/:tag
Path Parameters
GET https://api.nexx.cloud/v3.1/allmedia/byperson/:person
Path Parameters
the Name of the Person to query for
GET https://api.nexx.cloud/v3.1/allmedia/bypersonid/:personid
Path Parameters
the ID of the Person to query for
GET https://api.nexx.cloud/v3.1/allmedia/byshow/:show
Path Parameters
the Name of the Show to query for
GET https://api.nexx.cloud/v3.1/allmedia/byshowid/:showid
Path Parameters
the ID of the Show to query for
GET https://api.nexx.cloud/v3.1/allmedia/byplace/:place
Path Parameters
the Name of the Place to query for
GET https://api.nexx.cloud/v3.1/allmedia/byplaceid/:placeid
Path Parameters
the ID of the Place to query for
GET https://api.nexx.cloud/v3.1/allmedia/byproduct/:product
Path Parameters
the Name of the Product to query for
GET https://api.nexx.cloud/v3.1/allmedia/byproductid/:productid
Path Parameters
the ID of the Product to query for
GET https://api.nexx.cloud/v3.1/allmedia/byfile/:file
Path Parameters
the Name of the File to query for
GET https://api.nexx.cloud/v3.1/allmedia/byfileid/:fileid
Path Parameters
the ID of the File to query for
GET https://api.nexx.cloud/v3.1/allmedia/bystudio/:studioid
only available for Videos, Playlists and Sereis
Path Parameters
the ID of the Studio to query for