radio-tracks

Methods

(static) create(episodeopt, radio_info, radio_oaopt, imageopt, srcopt) → {JSON}

A function to add new radio tracks.

Source:
Parameters:
Name Type Attributes Description
episode Integer <optional>

Radio tracks episode.

radio_info String

Radio information details, refers to RadioInfo.

radio_oa String <optional>

Radio on air date.

image String <optional>

Radio tracks image link url.

src String <optional>

Radio tracks source.

Returns:

An object that contains both an error message and a successful about radio tracks.

Type
JSON

(static) delete(id) → {JSON}

A function to delete a specific radio tracks by it's ID.

Source:
Parameters:
Name Type Description
id String

UUIDv4 which represents radio tracks ID.

Returns:

An object that contains a message about radio tracks deletion.

Type
JSON

(static) get(id) → {JSON}

A function to get a specific radio tracks.

Source:
Parameters:
Name Type Description
id String

UUIDv4 which represents radio tracks ID.

Returns:

An object that contains a specific of radio tracks.

Type
JSON

(static) getAll() → {JSON}

A function to get all radio tracks.

Source:
Returns:

An object that contains a list of radio tracks.

Type
JSON

(static) update(episodeopt, radio_infoopt, radio_oaopt, imageopt, srcopt) → {JSON}

A function to update radio tracks.

Source:
Parameters:
Name Type Attributes Description
episode Integer <optional>

Radio tracks episode.

radio_info String <optional>

Radio information details, refers to RadioInfo.

radio_oa String <optional>

Radio on air date.

image String <optional>

Radio tracks image link url.

src String <optional>

Radio tracks source.

Returns:

An object that contains both an error message and a successful about radio tracks.

Type
JSON