Create package
POST/packages
Create a packages
Request
Header Parameters
Content-Type stringrequired
Example: application/x-www-form-urlencoded
Accept stringrequired
Example: application/json
- application/x-www-form-urlencoded
Body
title stringrequired
Title of package
Example:
Title
description stringrequired
Description of package
Example:
Text
privacy stringrequired
Privacy of content (hidden, public, registered)
Example:
public
collection_ids[] stringrequired
Collections to add into this package
Example:
5345
date_order stringrequired
Date to order chronologically packages
Example:
2024-11-02 15:00:00
category_ids[] stringrequired
Id of categories to attach on this package
Example:
55698
seo_title stringrequired
Title for search engines
Example:
title
seo_description stringrequired
Description for search engines
Example:
description
full_description stringrequired
Full description that allows html inside
Example:
full
Responses
- 200
- 401
- 404
Response Headers
- application/json
- Schema
- Example (from schema)
- 1
Schema
Array [
]
status stringrequired
packages
object[]
required
tags stringrequired
title stringrequired
description stringrequired
id stringrequired
display_name stringrequired
full_description stringrequired
privacy stringrequired
img_preview stringrequired
img_preview_vertical stringrequired
img_preview_background stringrequired
img_preview_logo_title stringrequired
total_live stringrequired
total_videos stringrequired
total_ondemand stringrequired
category stringrequired
trailer stringrequired
views stringrequired
show_views stringrequired
likes_tot stringrequired
show_likes stringrequired
subtitles stringrequired
on_sale stringrequired
json_price stringrequired
channel stringrequired
access stringrequired
channel_display_name stringrequired
saved stringrequired
geoblocking stringrequired
android_products stringrequired
ios_products stringrequired
directors stringrequired
actors stringrequired
age_restriction stringrequired
original_language stringrequired
customfields stringrequired
full_original_language stringrequired
year stringrequired
next_video_play stringrequired
seo_title stringrequired
seo_description stringrequired
duration stringrequired
show_ads_on_free stringrequired
{
"status": "string",
"packages": [
{
"tags": "string",
"title": "string",
"description": "string",
"id": "string",
"display_name": "string",
"full_description": "string",
"privacy": "string",
"img_preview": "string",
"img_preview_vertical": "string",
"img_preview_background": "string",
"img_preview_logo_title": "string",
"total_live": "string",
"total_videos": "string",
"total_ondemand": "string",
"category": "string",
"trailer": "string",
"views": "string",
"show_views": "string",
"likes_tot": "string",
"show_likes": "string",
"subtitles": "string",
"on_sale": "string",
"json_price": "string",
"channel": "string",
"access": "string",
"channel_display_name": "string",
"saved": "string",
"geoblocking": "string",
"android_products": "string",
"ios_products": "string",
"directors": "string",
"actors": "string",
"age_restriction": "string",
"original_language": "string",
"customfields": "string",
"full_original_language": "string",
"year": "string",
"next_video_play": "string",
"seo_title": "string",
"seo_description": "string",
"duration": "string",
"show_ads_on_free": "string"
}
]
}
OK
{
"status": "<string>",
"packages": [
{
"tags": "<string>",
"title": "<string>",
"description": "<string>",
"id": "<string>",
"display_name": "<string>",
"full_description": "<string>",
"privacy": "<string>",
"img_preview": "<string>",
"img_preview_vertical": "<string>",
"img_preview_background": "<string>",
"img_preview_logo_title": "<string>",
"total_live": "<string>",
"total_videos": "<string>",
"total_ondemand": "<string>",
"category": "<string>",
"trailer": "<string>",
"views": "<string>",
"show_views": "<string>",
"likes_tot": "<string>",
"show_likes": "<string>",
"subtitles": "<string>",
"on_sale": "<string>",
"json_price": "<string>",
"channel": "<string>",
"access": "<string>",
"channel_display_name": "<string>",
"saved": "<string>",
"geoblocking": "<string>",
"android_products": "<string>",
"ios_products": "<string>",
"directors": "<string>",
"actors": "<string>",
"age_restriction": "<string>",
"original_language": "<string>",
"customfields": "<string>",
"full_original_language": "<string>",
"year": "<string>",
"next_video_play": "<string>",
"seo_title": "<string>",
"seo_description": "<string>",
"duration": "<string>",
"show_ads_on_free": "<string>"
},
{
"tags": "<string>",
"title": "<string>",
"description": "<string>",
"id": "<string>",
"display_name": "<string>",
"full_description": "<string>",
"privacy": "<string>",
"img_preview": "<string>",
"img_preview_vertical": "<string>",
"img_preview_background": "<string>",
"img_preview_logo_title": "<string>",
"total_live": "<string>",
"total_videos": "<string>",
"total_ondemand": "<string>",
"category": "<string>",
"trailer": "<string>",
"views": "<string>",
"show_views": "<string>",
"likes_tot": "<string>",
"show_likes": "<string>",
"subtitles": "<string>",
"on_sale": "<string>",
"json_price": "<string>",
"channel": "<string>",
"access": "<string>",
"channel_display_name": "<string>",
"saved": "<string>",
"geoblocking": "<string>",
"android_products": "<string>",
"ios_products": "<string>",
"directors": "<string>",
"actors": "<string>",
"age_restriction": "<string>",
"original_language": "<string>",
"customfields": "<string>",
"full_original_language": "<string>",
"year": "<string>",
"next_video_play": "<string>",
"seo_title": "<string>",
"seo_description": "<string>",
"duration": "<string>",
"show_ads_on_free": "<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...