All Media Data

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.

Each All Media API Endpoint supports the special Query Parameter "selectedStreamtypes". With this Parameter, the calling Domain can control, what kind of Media shall be returned. It it is omitted, all possible Media Items will be returned.

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.

/byglobalid

GET https://api.nexx.cloud/v3.1/allmedia/byglobalid/:globalid

Path Parameters

NameTypeDescription

globalid

number

The GlobalID of the target Media Item

Item found

Default Item List Calls

/all

GET https://api.nexx.cloud/v3.1/allmedia/all

Item found

/latest

GET https://api.nexx.cloud/v3.1/allmedia/latest

returns "all" Items, sorted by Creation Date (ignores the "order" Parameters).

/picked

GET https://api.nexx.cloud/v3.1/allmedia/picked

returns all "picked" Items (ignores the "order" Parameter).

Item found

/evergreens

GET https://api.nexx.cloud/v3.1/allmedia/evergreens

returns all "Evergreen" Items.

/forkids

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.

/withawards

GET https://api.nexx.cloud/v3.1/allmedia/withawards

returns all Items, thave have been added Awards to

/byquery

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

NameTypeDescription

streamtype

string

the Media Streamtype

query

string

the targetthe Item Slug

Query Parameters

NameTypeDescription

queryMode

string

[classicwithand, classicwithor, fulltext] defines the Way, the Query is executed. Fore more results, "classicwithor" is optiomal. For a Lucense Search with Relevance, use "fulltext"

queryFields

string

a comma seperated List of Attributes, to search within. If omitted, the Search will use all available Text Attributes.

minimalQueryScore

integer

skip Results with a Query Score lower than the given Value. Only usefull for querymode "fulltext".

includeSubstringMatches

boolean

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".

skipReporting

boolean

if set to 0 or omitted, the Call will implictily report this Query to the nexxOMIA Reporting System.

/random

GET https://api.nexx.cloud/v3.1/allmedia/random

/topslider

GET https://api.nexx.cloud/v3.1/allmnedia/topslider

returns all Items, currently in the TopSlider of a nexxNEON Domain.

/mostactive

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

NameTypeDescription

timeframe

integer

[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

NameTypeDescription

timeframe

integer

[1, 5, 10, 30] the Amount of Days, that will be included in the Computation of the Result Set.

/bestrated

GET https://api.nexx.cloud/v3.1/allmedia/bestrated

"rated" refers to the summed Amount of "Rating Interactions" of each Media Item. The "order" Parameters will be ignored.

Query Parameters

NameTypeDescription

timeframe

integer

[1, 5, 10, 30] the Amount of Days, that will be included in the Computation of the Result Set.

/mostliked

GET https://api.nexx.cloud/v3.1/allmedia/mostliked

"liked" refers to the Number of "Like Interactions" of each Media Item. The "order" Parameters will be ignored.

Query Parameters

NameTypeDescription

timeframe

integer

[1, 5, 10, 30] the Amount of Days, that will be included in the Computation of the Result Set.

/mostreacted

GET https://api.nexx.cloud/v3.1/allmedia/mostreacted

"reacted" refers to the Number of "Reaction Interactions" of each Media Item. The "order" Parameters will be ignored.

Query Parameters

NameTypeDescription

timeframe

integer

[1, 5, 10, 30] the Amount of Days, that will be included in the Co

/mostcommented

GET https://api.nexx.cloud/v3.1/allmedia/mostcommented

"commented" refers to the Number of "Comment Interactions" of each Media Item. The "order" Parameter will be ignored.

Query Parameters

NameTypeDescription

timeframe

integer

[1, 5, 10, 30] the Amount of Days, that will be included in the Computation of the Result Set.

Reference Item List Calls

/bytag

GET https://api.nexx.cloud/v3.1/allmedia/bytag/:tag

Path Parameters

NameTypeDescription

tag

string

the Tag to query for

/byperson

GET https://api.nexx.cloud/v3.1/allmedia/byperson/:person

Path Parameters

NameTypeDescription

person

string

the Name of the Person to query for

/bypersonid

GET https://api.nexx.cloud/v3.1/allmedia/bypersonid/:personid

Path Parameters

NameTypeDescription

personid

integer

the ID of the Person to query for

/byshow

GET https://api.nexx.cloud/v3.1/allmedia/byshow/:show

Path Parameters

NameTypeDescription

show

string

the Name of the Show to query for

/byshowid

GET https://api.nexx.cloud/v3.1/allmedia/byshowid/:showid

Path Parameters

NameTypeDescription

showid

number

the ID of the Show to query for

/byplace

GET https://api.nexx.cloud/v3.1/allmedia/byplace/:place

Path Parameters

NameTypeDescription

place

string

the Name of the Place to query for

/byplaceid

GET https://api.nexx.cloud/v3.1/allmedia/byplaceid/:placeid

Path Parameters

NameTypeDescription

placeid

number

the ID of the Place to query for

/byproduct

GET https://api.nexx.cloud/v3.1/allmedia/byproduct/:product

Path Parameters

NameTypeDescription

product*

string

the Name of the Product to query for

/byproductid

GET https://api.nexx.cloud/v3.1/allmedia/byproductid/:productid

Path Parameters

NameTypeDescription

productid*

number

the ID of the Product to query for

/byfile

GET https://api.nexx.cloud/v3.1/allmedia/byfile/:file

Path Parameters

NameTypeDescription

file*

string

the Name of the File to query for

/byfileid

GET https://api.nexx.cloud/v3.1/allmedia/byfileid/:fileid

Path Parameters

NameTypeDescription

fileid*

number

the ID of the File to query for

/bystudio

GET https://api.nexx.cloud/v3.1/allmedia/bystudio/:studioid

only available for Videos, Playlists and Sereis

Path Parameters

NameTypeDescription

studioid

number

the ID of the Studio to query for

Last updated