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"
        }
    ]
}

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

Last updated