Edit collection
PATCH/collections/:collection_id
Edit a collection
Request
Path Parameters
collection_id stringrequired
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:
Titledescription stringrequired
Description of collection
Example:
Textprivacy stringrequired
Privacy of content (hidden, public, registered)
Example:
hiddenvideo_ids[] stringrequired
Specify videos ID to add on this collection
Example:
52345trailer_id stringrequired
Id of video trailer
Example:
56664date_order stringrequired
Date to order chronologically order collections
Example:
2024-10-10 12:00:00geoblocking[] stringrequired
Countries where block contents (format of 3 letters)
Example:
itacategory_ids[] stringrequired
Id of categories to attach on this collection
Example:
9907seo_title stringrequired
Title for search engines
Example:
Textseo_description stringrequired
Description for search engines
Example:
Descriptionfull_description stringrequired
Full description that allows html inside
Example:
Fulldirectors[] stringrequired
Full name of directors
Example:
Tarantinoactors[] stringrequired
Full name of actors
Example:
Kidmanoriginal_language stringrequired
Original language of collection
Example:
itaage_restriction stringrequired
Age restriction rating for collection
Example:
Gyear_production stringrequired
Year of production
Example:
2023payment_type stringrequired
Set payment type to "manual" to manage subscriptions with ACL (unset to manage by yourself)
Example:
manualResponses
- 200
- 401
Response Headers
- application/json
- Schema
- Example (from schema)
- Example
Schema
status stringrequired
id stringrequired
{
"status": "string",
"id": "string"
}
{
"status": "<string>",
"id": "<string>"
}
Response Headers
- application/json
- Schema
- Example (from schema)
- Example
Schema
status stringrequired
{
"status": "string"
}
{
"status": "<string>"
}
Loading...