Create collection
POST/collections
Create a Collection
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 collection
Example:
Title
description stringrequired
Description of collection
Example:
Text
privacy stringrequired
Privacy of content (hidden, public, registered)
Example:
registered
video_ids[] stringrequired
Specify videos ID to add on this collection
Example:
6698
trailer_id stringrequired
trailer_id
Example:
574
date_order stringrequired
Date to order chronologically collections
Example:
2024-11-12 12:00:00
geoblocking[] stringrequired
Countries where block contents (format of 3 letters)
Example:
ita
category_ids[] stringrequired
Id of categories to attach on this collection
Example:
2225
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
directors[] stringrequired
Full name of directors
Example:
Tarantino
actors[] stringrequired
Full name of actors
Example:
Kidman
original_language stringrequired
Original language of collection
Example:
eng
age_restriction stringrequired
Age restriction rating for collection
Example:
G
year_production stringrequired
Year of production
Example:
2020
payment_type stringrequired
Set payment type to "manual" to manage subscriptions with ACL (unset to manage by yourself)
Example:
manual
Responses
- 200
- 401
- 404
Response Headers
- application/json
- Schema
- Example (from schema)
- 1
Schema
status stringrequired
id stringrequired
{
"status": "string",
"id": "string"
}
OK
{
"status": "<string>",
"id": "<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...