Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This guide is valid for Telia Solutions for Media API version 4.0.0 released on 07.05.2018.

API_Telia.php (download)

This is the main class file for API request generation.

Include this file into your script to call the API functions.

config.php (download)

This is the API configuration file.

...

Send the API requests to https://api.cloudycdn.services/api/v4/

call.php (download)

This is the sample file with sample requests which generate server responses.

Regarding Datetime value type:

All Datetime type values are called and returned as strings in Y-m-d H:i:s format (E.g. 2018-12-10 17:58:23) and are in UTC timezone.

...

You will have to convert it to UTC and send that. Which in the case of UTC+2 will be 2018-12-10 16:00:00.

Request actions

The API function called depends on parameter action and object which are mandatory for every API call. Only "list" action is possible to use GET method otherwise need to use POST method. Other parameters are optional or action specific. 

...