DynTube API
  • Welcome!
  • Key Concepts
  • Quick Start
  • Reference
    • Videos
      • Video Upload via File (Server Side)
      • Video Upload via URL (server side)
      • HTML-Form Client Side Video Uploads
      • Get Video Status
      • Get Videos
      • Get Video
      • Update Video
      • Delete Video
      • Download Original Video
      • Get Video for Mobile App/Custom Player
      • Update Video Image
      • Add Video Captions/Chapters/Subtitles
      • Delete Video Captions/Subtitles/Chapters
      • Create Expirable Links
      • Get Collected Emails
      • Setting Up Webhooks
      • Copy call-to-action (CTA) to Videos
      • Token Authentication
    • Projects
      • Create Project
      • Update a Project
      • Get Projects
      • Get a Project
      • Delete a Project
      • Set default CTA for Project
    • Live Streaming
      • Create a Live Stream
      • Update a Live Stream
      • Get Live Streams
      • Get a Live Stream
      • Count Live Streams
      • Live Streams Limit
      • Get Live Streaming Recording
      • Delete a Live Stream
      • Service and Regions for live streams
    • Channels
      • Get Channels
      • Get Channel
      • Delete Channel
    • Subscriptions
      • Create a Plan
      • Create a Member
      • Attach Plan To Member
      • Get Plans
      • Get Members
      • Get Member's Plans
      • Delete a Plan
    • Analytics
      • Use your User Ids in Analytics
      • Get Video Analytics
    • Javascript Events Methods
      • Plain Javascript Events & Methods
      • Control the Player using React
      • Control the Player in Vue.js
    • Developer Resources
      • How to embed DynTube player in Next.Js
      • How to embed the video player in React
      • How to play DynTube videos in React Native
      • ExoPlayer app to play HLS videos
      • How to embed videos & channels dynamically
      • How to Import Vimeo Videos into DynTube
Powered by GitBook
On this page
  • Get Project List
  • Get a list of projects. You can filter or sort projects based on optional query string.
  • Sorting of results
  1. Reference
  2. Projects

Get Projects

Get Project List

Get a list of projects. You can filter or sort projects based on optional query string.

GET https://api.dyntube.com/v1/projects

Query Parameters

Name
Type
Description

page

Integer

Page number

size

Integer

Page size

planType

Integer

Type of the plan

sort

String

Sort order of the results. See details below.

projectId

String

Id of the project

parentId

String

project Id of the parent project.

{
    "pager": {
        "page": 1,
        "totalPages": 1,
        "totalResults": 49,
        "sort": "name:-1"
    },
    "projects": [
        {
            "id": "z1S2lNdmg",
            "key": "jOH3SJgVLmA",
            "name": "Videos",
            "description": "",
            "region": "use-s",
            "planType": 1,
            "options": {
                "convertToHls": true,
                "convertToMp4": false,
                "convertToOneMp4": true,
                "useOriginalMp4": false,
                "hlsEncrypt": false,
                "bitrate240p": 400,
                "bitrate360p": 1200,
                "bitrate540p": 1800,
                "bitrate720p": 3750,
                "bitrate1080p": 5625,
                "bitrate1440p": 0,
                "bitrate2160p": 0,
                "saveOriginalVideos": false
            },
            "videoOptions": {
                "autoplay": false,
                "playerSkin": "solid",
                "controlsColor": "",
                "primaryColor": "",
                "seekButtons": false,
                "volumeControl": true,
                "preload": "auto",
                "fullscreenControl": true,
                "controls": true,
                "captionsOn": false,
                "bigPlayControl": true,
                "defaultQuality": "",
                "qualityControl": true,
                "speedControl": true,
                "fastForward": true,
                "volume": 1.0,
                "loop": false,
                "muted": false,
                "landscapeFullscreen": false,
                "modal": false,
                "resumePlayback": false,
                "hideLogo": false,
                "cast": false,
                "extraSecurity": false,
                "stickyPlayer": false,
                "pauseOnScroll": false,
                "storeAuth": false,
                "contextMenu": false
            },
            "status": 1,
            "created": "2020-06-07T18:08:34.714+00:00",
            "updated": "2020-06-07T18:08:34.714+00:00"
        }
    ]
}
{
    // Response
}
{
    // Response
}

Sorting of results

The sorting order of the projects would be a query parameter sort with a value. the format of the value would be field:1 for ascending order and field:-1 for descending order.

# Here are examples to sort by "Created" date.

#Sort by date created descending:
https://api.dyntube.com/v1/projects?sort=Created:-1

#Sort by date created ascending:
https://api.dyntube.com/v1/projects?sort=Created:1
PreviousUpdate a ProjectNextGet a Project

Last updated 1 year ago