Skip to main content

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

Body

    title stringrequired

    Title of collection

    Example: Title
    description stringrequired

    Description of collection

    Example: Text
    privacy stringrequired

    Privacy of content (hidden, public, registered)

    Example: hidden
    video_ids[] stringrequired

    Specify videos ID to add on this collection

    Example: 52345
    trailer_id stringrequired

    Id of video trailer

    Example: 56664
    date_order stringrequired

    Date to order chronologically order collections

    Example: 2024-10-10 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: 9907
    seo_title stringrequired

    Title for search engines

    Example: Text
    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: ita
    age_restriction stringrequired

    Age restriction rating for collection

    Example: G
    year_production stringrequired

    Year of production

    Example: 2023
    payment_type stringrequired

    Set payment type to "manual" to manage subscriptions with ACL (unset to manage by yourself)

    Example: manual

Responses

Response Headers

    Schema

      status stringrequired
      id stringrequired
    Loading...