curl --location 'https://api.tvunetworks.com/mediahub/api/v2/projects?active=undefined' \
--header 'SID: ' \
--header 'Content-Type: application/json' \
--data '{
"pageNum": 1,
"pageSize": 10,
"orderItem": {
"key": "liveFirst",
"desc": true,
"secondKey": "string"
},
"includeTags": [],
"excludeTags": [],
"permission": {
"createByMe": 0
},
"condition": "projectName or description"
}'{
"errorCode": "0x0",
"errorInfo": "success",
"async": true,
"result": {
"total": 0,
"list": [
{
"id": "string",
"userId": "string",
"projectName": "string",
"description": "string",
"objectId": "string",
"projectId": "string",
"backupSourceObjectId": "string",
"region": "string",
"tags": "string",
"outputEncodingPairs": [
{
"outputName": "string",
"profileName": "string",
"outputEncodingProfilePairId": "string",
"outputId": "string",
"outputType": "string",
"profileId": "string",
"destinationId": "string",
"status": 2
}
],
"previewId": "string",
"activeOutput": [
{
"destinationId": "string",
"outputId": "string",
"outputName": "string",
"url": "string"
}
],
"activeSourceObj": {
"sourceObjectId": "string",
"sourceObjectName": "string",
"sourceUrl": "string"
},
"enableInSync": 0,
"colorCorrection": 0
}
],
"pageNum": 0,
"pageSize": 0,
"size": 0,
"startRow": 0,
"endRow": 0,
"pages": 0,
"prePage": 0,
"nextPage": 0,
"isFirstPage": true,
"isLastPage": true,
"hasPreviousPage": true,
"hasNextPage": true,
"navigatePages": 0,
"navigatepageNums": [
0
],
"navigateFirstPage": 0,
"navigateLastPage": 0,
"firstPage": 0,
"lastPage": 0
}
}