# Overview

## Welcome to Viloud API docs

Viloud platform provides you an easy way to distribute your content to your viewers. Now you can improve your distribution using the APIs available on Viloud.

In this docs, you will find the necessary resources to automate your processes and integrate Viloud with the rest of your providers to achieve a more automated workflow.

At the moment we can offer you a **delivery API** to obtain all the necessary information from your channels to enrich your web spaces and native apps, and to achieve integrations with third platforms such as Roku, Amazon, Apple TV, etc.

Soon we will release the **management API** that will allow you to perform operations that until now were only available through the dashboard. Since this is a first version of Docs there are a few things to explain but if you consider that there is any lack or you think have some feedback you can contact [here](https://viloud.tv/contact/) or send us an email to <help@viloud.tv>.


# Philosophy

As far as possible the API philosophy will be REST. However, due to the particularities of the context, sometimes it will not be possible to adjust 100% to this philosophy, so some endpoints may not correspond to typical REST resources. In any case these adjustments will always be promoted by an increase of readability and simplicity of the API and its consumption.


# Versioning

Versioning will be specified by the release date of each version, at first and due to the simplicity of the API all calls will be made through the same version. Version changes will be notified by the usual means and will be done automatically as long as they are backward compatible.

## Backward compatibility

A version is considered to be backwards compatible with the previous version whenever:

* Adding endpoints
* Adding options to call parameters
* Adding attributes to response resources
* Do not modifying/removing call parameters or their interpretation
* Do not modifying endpoint responses
* Do not deleting endpoints

For this reason it is recommended that if your integration uses schema-based validation of the API be flexible in accepting new attributes in the resources.


# Introduction

Delivery API will allow you to deliver your data to thirdy party platforms and to your viewers. It's designed to be used as a CDN so it supports high-volume requests.

You don't need authentication to use this API, so you can make calls from your website to enrich your content with your Viloud data.


# Channels

Here you can find all endpoints that retrieves channels data.

## Getting channel data

By making this request you will get your channel data in different formats, right now this request is mainly used to integrate your channel in Roku.

{% openapi src="/files/rjYww1uq23kLnyKHs9v1" path="/channel/{channel\_id}" method="get" %}
[DeliveryAPI.yaml](https://3065622103-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTDaTuhjx0RGgmmwfskSe%2Fuploads%2FnV2Wx6fW2BAABzFugHHo%2FDeliveryAPI.yaml?alt=media\&token=bfd281c4-06a8-4e4a-a940-77a7d2e09b42)
{% endopenapi %}

{% openapi src="/files/rjYww1uq23kLnyKHs9v1" path="/channel/{channel\_id}/schedule" method="get" %}
[DeliveryAPI.yaml](https://3065622103-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTDaTuhjx0RGgmmwfskSe%2Fuploads%2FnV2Wx6fW2BAABzFugHHo%2FDeliveryAPI.yaml?alt=media\&token=bfd281c4-06a8-4e4a-a940-77a7d2e09b42)
{% endopenapi %}

{% openapi src="/files/rjYww1uq23kLnyKHs9v1" path="/channel/{channel\_id}/epg" method="get" %}
[DeliveryAPI.yaml](https://3065622103-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTDaTuhjx0RGgmmwfskSe%2Fuploads%2FnV2Wx6fW2BAABzFugHHo%2FDeliveryAPI.yaml?alt=media\&token=bfd281c4-06a8-4e4a-a940-77a7d2e09b42)
{% endopenapi %}


# Introduction

*(Coming soon)* Management API will allow you to integrate Viloud in a more automated way with your systems, you will find your resources such as channels, videos, schedulers and the needed endpoints to improve your workflow with your providers.


