Teyuto
HomeLink
Multiple Menus
  • Link1
  • Link2
HomeLink
Multiple Menus
  • Link1
  • Link2
  1. Contents
  • Introduction
  • Sessions
    • Generate session
      POST
    • Delete session
      DELETE
  • Videos
    • Create video
      POST
    • Edit video
      PATCH
    • Get video
      GET
    • Delete video
      DELETE
    • Get list of videos
      GET
    • Add cover
      POST
    • Delete cover
      DELETE
    • Delete caption
      DELETE
    • Add caption
      POST
    • Get TUS' parameters for direct upload
      GET
    • Get caption
      GET
  • Live
    • Create live
      POST
    • Edit live
      PATCH
    • Get live
      GET
    • Delete live
      DELETE
    • Get list of live
      GET
    • Add cover
      POST
    • Delete cover
      DELETE
  • Live-imitations
    • Create live-imitations
      POST
    • Edit live-imitation
      PATCH
    • Get live imitation
      GET
    • Delete live imitation
      DELETE
    • Get list of live imitations
      GET
    • Add cover
      POST
    • Delete cover
      DELETE
  • Collections
    • Get list of collections
    • Create collection
    • Delete collection
    • Add cover
    • Get collection
    • Add cover vertical
    • Add collection background
    • Add collection logo title
    • Delete cover
    • Delete cover vertical
    • Delete collection background
    • Delete collection logo title
    • Edit collection
  • Packages
    • Get list of packages
    • Get packages
    • Add cover
    • Delete cover
    • Edit packages
    • Delete package
    • Create package
  • Contents
    • List of contents
      GET
    • Get content
      GET
    • List type of contents
      GET
  • Tags
    • Get tag
    • Edit tag
    • Delete tag
    • Get list of tags
    • Create tag
  • Users
    • Get list of users
    • Get user
    • Edit user
    • Add avatar
    • Delete user
    • Create user
  • Pages
    • List of pages
    • Get specific page
  • Channels
    • Channel settings
  • Customfields
    • Users customfields
    • Create users customfields
    • Edit users customfields
    • Delete users customfields
    • Create collections customfields
    • Collections customfields
    • Edit collections customfields
    • Delete collections customfields
    • Create videos customfields
    • Videos customfields
    • Delete videos customfields
    • Edit videos customfields
  • Analytics
    • Analytics collections
    • Analytics collection
    • Analytics videos
    • Analytics video
    • General analytics
    • Analytics users
    • Analytics user
  • Events
    • Get list of events
    • Delete event
    • Create event
  • Acl
    • Set acl
    • Remove acl
  • Playlists
    • Get Playlist
    • Create Playlist
    • Edit Playlist
    • Delete Playlist
  • Restreams
    • Create Restream
    • Edit Restream
    • Get Restream
    • Get list of Restreams
    • Delete Restream
  1. Contents

List type of contents

GET
/contents/{type_contents}
List of all contents by type (videos/collections)

Request

Authorization
Add parameter in header
Authorization
Example:
Authorization: ********************
Path Params

Query Params

Header Params

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET '/contents/collections?page=3&category_id=7456&search=text&tag_ids[]=412' \
--header 'Accept: application/json' \
--header 'Authorization;'

Responses

🟢200OK
application/json
Body

Example
{
  "status": "<string>",
  "contents": [
    {
      "tags": "<string>",
      "title": "<string>",
      "description": "<string>",
      "id": "<string>",
      "image": "<string>",
      "image_vertical": "<string>",
      "image_background": "<string>",
      "image_logo_title": "<string>",
      "type_content": "<string>",
      "saved": "<string>",
      "access": "<string>",
      "percent_seen": "<string>",
      "total_views": "<string>",
      "total_likes": "<string>",
      "duration": "<string>",
      "liked": "<string>",
      "categories": [
        {
          "id": "<string>",
          "name": "<string>"
        },
        {
          "id": "<string>",
          "name": "<string>"
        }
      ],
      "on_sale": "<string>",
      "type_element": "<string>",
      "trailer": "<string>",
      "ondemand": "<string>",
      "livenow": "<string>",
      "last_seen": "<string>",
      "preroll": "<string>",
      "ad_tag": "<string>",
      "year_production": "<string>",
      "age_restriction": "<string>",
      "original_language": "<string>",
      "full_original_language": "<string>",
      "collection": "<string>",
      "markers": "<string>",
      "show_ads_on_free": "<string>"
    },
    {
      "tags": "<string>",
      "title": "<string>",
      "description": "<string>",
      "id": "<string>",
      "image": "<string>",
      "image_vertical": "<string>",
      "image_background": "<string>",
      "image_logo_title": "<string>",
      "type_content": "<string>",
      "saved": "<string>",
      "access": "<string>",
      "percent_seen": "<string>",
      "total_views": "<string>",
      "total_likes": "<string>",
      "duration": "<string>",
      "liked": "<string>",
      "categories": [
        {
          "id": "<string>",
          "name": "<string>"
        },
        {
          "id": "<string>",
          "name": "<string>"
        }
      ],
      "on_sale": "<string>",
      "type_element": "<string>",
      "trailer": "<string>",
      "ondemand": "<string>",
      "livenow": "<string>",
      "last_seen": "<string>",
      "preroll": "<string>",
      "ad_tag": "<string>",
      "year_production": "<string>",
      "age_restriction": "<string>",
      "original_language": "<string>",
      "full_original_language": "<string>",
      "collection": "<string>",
      "markers": "<string>",
      "show_ads_on_free": "<string>"
    }
  ]
}
🟠400Bad Request
🟠401Unauthorized
🟠404Not Found
Modified at 2024-09-04 17:30:45
Previous
Get content
Next
Get tag
Built with