Skip to main content

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

Response Headers

    Schema

      status stringrequired

      contents

      object[]

      required

    • Array [

    • 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

    • Array [

    • 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
    • ]

    Loading...