List type of contents
GET/contents/:type_contents
List of all contents by type (videos/collections)
Request
Path Parameters
type_contents stringrequired
(Required) Type of content to list (collections,videos,shorts,playlists)
Example: collections
Query Parameters
page stringrequired
Page to get, 9 elements per page (dafault value is 1)
Example: 3
category_id stringrequired
Category of contents to get
Example: 7456
search stringrequired
Search contents passing a text
Example: text
tag_ids[] stringrequired
Id of tags to filter contents
Example: 412
Header Parameters
Accept stringrequired
Example: application/json
Responses
- 200
- 400
- 401
- 404
Response Headers
- application/json
- Schema
- Example (from schema)
- 1
Schema
Array [
Array [
]
]
status stringrequired
contents
object[]
required
tags stringrequired
title stringrequired
description stringrequired
id stringrequired
image stringrequired
image_vertical stringrequired
image_background stringrequired
image_logo_title stringrequired
type_content stringrequired
saved stringrequired
access stringrequired
percent_seen stringrequired
total_views stringrequired
total_likes stringrequired
duration stringrequired
liked stringrequired
categories
object[]
required
id stringrequired
name stringrequired
on_sale stringrequired
type_element stringrequired
trailer stringrequired
ondemand stringrequired
livenow stringrequired
last_seen stringrequired
preroll stringrequired
ad_tag stringrequired
year_production stringrequired
age_restriction stringrequired
original_language stringrequired
full_original_language stringrequired
collection stringrequired
markers stringrequired
show_ads_on_free stringrequired
{
"status": "string",
"contents": [
{
"tags": "string",
"title": "string",
"description": "string",
"id": "string",
"image": "string",
"image_vertical": "string",
"image_background": "string",
"image_logo_title": "string",
"type_content": "string",
"saved": "string",
"access": "string",
"percent_seen": "string",
"total_views": "string",
"total_likes": "string",
"duration": "string",
"liked": "string",
"categories": [
{
"id": "string",
"name": "string"
}
],
"on_sale": "string",
"type_element": "string",
"trailer": "string",
"ondemand": "string",
"livenow": "string",
"last_seen": "string",
"preroll": "string",
"ad_tag": "string",
"year_production": "string",
"age_restriction": "string",
"original_language": "string",
"full_original_language": "string",
"collection": "string",
"markers": "string",
"show_ads_on_free": "string"
}
]
}
OK
{
"status": "<string>",
"contents": [
{
"tags": "<string>",
"title": "<string>",
"description": "<string>",
"id": "<string>",
"image": "<string>",
"image_vertical": "<string>",
"image_background": "<string>",
"image_logo_title": "<string>",
"type_content": "<string>",
"saved": "<string>",
"access": "<string>",
"percent_seen": "<string>",
"total_views": "<string>",
"total_likes": "<string>",
"duration": "<string>",
"liked": "<string>",
"categories": [
{
"id": "<string>",
"name": "<string>"
},
{
"id": "<string>",
"name": "<string>"
}
],
"on_sale": "<string>",
"type_element": "<string>",
"trailer": "<string>",
"ondemand": "<string>",
"livenow": "<string>",
"last_seen": "<string>",
"preroll": "<string>",
"ad_tag": "<string>",
"year_production": "<string>",
"age_restriction": "<string>",
"original_language": "<string>",
"full_original_language": "<string>",
"collection": "<string>",
"markers": "<string>",
"show_ads_on_free": "<string>"
},
{
"tags": "<string>",
"title": "<string>",
"description": "<string>",
"id": "<string>",
"image": "<string>",
"image_vertical": "<string>",
"image_background": "<string>",
"image_logo_title": "<string>",
"type_content": "<string>",
"saved": "<string>",
"access": "<string>",
"percent_seen": "<string>",
"total_views": "<string>",
"total_likes": "<string>",
"duration": "<string>",
"liked": "<string>",
"categories": [
{
"id": "<string>",
"name": "<string>"
},
{
"id": "<string>",
"name": "<string>"
}
],
"on_sale": "<string>",
"type_element": "<string>",
"trailer": "<string>",
"ondemand": "<string>",
"livenow": "<string>",
"last_seen": "<string>",
"preroll": "<string>",
"ad_tag": "<string>",
"year_production": "<string>",
"age_restriction": "<string>",
"original_language": "<string>",
"full_original_language": "<string>",
"collection": "<string>",
"markers": "<string>",
"show_ads_on_free": "<string>"
}
]
}
Response Headers
- application/json
- Schema
- Example (from schema)
- 1
Schema
status stringrequired
{
"status": "string"
}
Bad Request
{
"status": "<string>"
}
Response Headers
- application/json
- Schema
- Example (from schema)
- 1
Schema
status stringrequired
{
"status": "string"
}
Unauthorized
{
"status": "<string>"
}
Response Headers
- application/json
- Schema
- Example (from schema)
- 1
Schema
status stringrequired
{
"status": "string"
}
Not Found
{
"status": "<string>"
}
Loading...