{ "uuid": "777154af-346b-48d8-ae72-20feb5006f5e", "lastMigration": 29, "name": "api.video", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "ad9bb488-578c-49ed-811e-fa0ab9de7bb9", "documentation": "Show account", "method": "get", "endpoint": "account", "responses": [ { "uuid": "9c0f38b3-b6a7-4f69-86e2-14c80775c0da", "body": "{\n \"environment\": \"\",\n \"features\": \"[\\\"app.dynamic_metadata, app.event_log\\\"]\",\n \"quota\": {\n \"quotaRemaining\": {{faker 'number.int' max=99999}},\n \"quotaTotal\": {{faker 'number.int' max=99999}},\n \"quotaUsed\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "1afaebe5-7315-40d4-a3e7-40f9d3a2c079", "body": "{\n \"name\": \"\",\n \"status\": {{faker 'number.int' max=99999}},\n \"title\": \"\",\n \"type\": \"\"\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a15aae2e-56a8-4f69-a261-fb35432a69db", "documentation": "List live stream player sessions", "method": "get", "endpoint": "analytics/live-streams/:liveStreamId", "responses": [ { "uuid": "43c9b99c-eb79-41a3-b083-11f7950b6945", "body": "{\n \"data\": [\n {\n \"client\": {\n \"name\": \"Firefox\",\n \"type\": \"browser\",\n \"version\": \"67.0\"\n },\n \"device\": {\n \"model\": \"unknown\",\n \"type\": \"desktop\",\n \"vendor\": \"Dell\"\n },\n \"location\": {\n \"city\": \"Paris\",\n \"country\": \"France\"\n },\n \"os\": {\n \"name\": \"Microsoft Windows\",\n \"shortname\": \"W10\",\n \"version\": \"Windows 10\"\n },\n \"referrer\": {\n \"medium\": \"organic\",\n \"searchTerm\": \"video stream\",\n \"source\": \"https://google.com\",\n \"url\": \"https://api.video\"\n },\n \"session\": {\n \"endedAt\": \"2019-06-24T12:45:01.109+00\",\n \"loadedAt\": \"2019-06-24T11:45:01.109+00\",\n \"sessionId\": \"\"\n }\n }\n ],\n \"pagination\": {\n \"currentPage\": 3,\n \"currentPageItems\": 20,\n \"itemsTotal\": 123,\n \"links\": {\n \"first\": {\n \"rel\": \"first\",\n \"uri\": \"/videos/search?currentPage=1&pageSize=20\"\n },\n \"last\": {\n \"rel\": \"last\",\n \"uri\": \"/videos/search?currentPage=6&pageSize=20\"\n },\n \"next\": {\n \"rel\": \"next\",\n \"uri\": \"/videos/search?currentPage=4&pageSize=20\"\n },\n \"previous\": {\n \"rel\": \"previous\",\n \"uri\": \"/videos/search?currentPage=2&pageSize=20\"\n }\n },\n \"pageSize\": 20,\n \"pagesTotal\": 7\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "5a712f92-2ead-450e-a5f8-4d4cef49b244", "body": "{\n \"name\": \"\",\n \"status\": {{faker 'number.int' max=99999}},\n \"title\": \"\",\n \"type\": \"\"\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "cb427c89-3d9c-45f8-b5cd-0267543377a0", "documentation": "List player session events", "method": "get", "endpoint": "analytics/sessions/:sessionId/events", "responses": [ { "uuid": "606406af-8d59-4b7b-a5b1-e8f005421b8c", "body": "{\n \"data\": [\n {\n \"at\": {{faker 'number.int' max=99999}},\n \"emittedAt\": \"2019-06-24T11:45:01.109+00\",\n \"from\": {{faker 'number.int' max=99999}},\n \"to\": {{faker 'number.int' max=99999}},\n \"type\": \"play\"\n }\n ],\n \"pagination\": {\n \"currentPage\": 3,\n \"currentPageItems\": 20,\n \"itemsTotal\": 123,\n \"links\": {\n \"first\": {\n \"rel\": \"first\",\n \"uri\": \"/videos/search?currentPage=1&pageSize=20\"\n },\n \"last\": {\n \"rel\": \"last\",\n \"uri\": \"/videos/search?currentPage=6&pageSize=20\"\n },\n \"next\": {\n \"rel\": \"next\",\n \"uri\": \"/videos/search?currentPage=4&pageSize=20\"\n },\n \"previous\": {\n \"rel\": \"previous\",\n \"uri\": \"/videos/search?currentPage=2&pageSize=20\"\n }\n },\n \"pageSize\": 20,\n \"pagesTotal\": 7\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "7b3ff033-69da-4d21-bd86-628dd4c1520d", "body": "{\n \"name\": \"\",\n \"status\": {{faker 'number.int' max=99999}},\n \"title\": \"\",\n \"type\": \"\"\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "51ae50a0-411c-4725-bb73-1d5c77b4466c", "documentation": "List video player sessions", "method": "get", "endpoint": "analytics/videos/:videoId", "responses": [ { "uuid": "21a84ed5-8b0a-4557-9d29-1fc81f4b8909", "body": "{\n \"data\": [\n {\n \"client\": {\n \"name\": \"Firefox\",\n \"type\": \"browser\",\n \"version\": \"67.0\"\n },\n \"device\": {\n \"model\": \"unknown\",\n \"type\": \"desktop\",\n \"vendor\": \"Dell\"\n },\n \"location\": {\n \"city\": \"Paris\",\n \"country\": \"France\"\n },\n \"os\": {\n \"name\": \"Microsoft Windows\",\n \"shortname\": \"W10\",\n \"version\": \"Windows10\"\n },\n \"referrer\": {\n \"medium\": \"organic\",\n \"searchTerm\": \"video encoding hosting and delivery\",\n \"source\": \"https://google.com\",\n \"url\": \"https://api.video\"\n },\n \"session\": {\n \"endedAt\": \"2019-06-24T11:49:19.243+00\",\n \"loadedAt\": \"2019-06-24T11:45:01.109+00\",\n \"sessionId\": \"psEmFwGQUAXR2lFHj5nDOpy\"\n }\n }\n ],\n \"pagination\": {\n \"currentPage\": 3,\n \"currentPageItems\": 20,\n \"itemsTotal\": 123,\n \"links\": {\n \"first\": {\n \"rel\": \"first\",\n \"uri\": \"/videos/search?currentPage=1&pageSize=20\"\n },\n \"last\": {\n \"rel\": \"last\",\n \"uri\": \"/videos/search?currentPage=6&pageSize=20\"\n },\n \"next\": {\n \"rel\": \"next\",\n \"uri\": \"/videos/search?currentPage=4&pageSize=20\"\n },\n \"previous\": {\n \"rel\": \"previous\",\n \"uri\": \"/videos/search?currentPage=2&pageSize=20\"\n }\n },\n \"pageSize\": 20,\n \"pagesTotal\": 7\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "1097b26d-dac7-43a9-a581-d4c5d4c5eb17", "body": "{\n \"name\": \"\",\n \"status\": {{faker 'number.int' max=99999}},\n \"title\": \"\",\n \"type\": \"\"\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b12b1283-6b29-43dd-8675-d562ea6d7ee8", "documentation": "Authenticate", "method": "post", "endpoint": "auth/api-key", "responses": [ { "uuid": "4510c355-9df9-4e87-bd11-c2ff5f345561", "body": "{\n \"access_token\": \"est\",\n \"expires_in\": 3600,\n \"refresh_token\": \"cillum\",\n \"token_type\": \"qui nulla l\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "feb4b94e-b179-416c-a525-a4db8f904df8", "body": "\"\"", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "fb97210a-7a19-476f-96cb-ccb291835c6e", "documentation": "Refresh token", "method": "post", "endpoint": "auth/refresh", "responses": [ { "uuid": "156b0f4f-2629-4fdd-b3ec-6e1aefc618c5", "body": "{\n \"access_token\": \"est\",\n \"expires_in\": 3600,\n \"refresh_token\": \"cillum\",\n \"token_type\": \"qui nulla l\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "c4a3d30e-6fd3-4a02-af38-01659e6b6d7e", "body": "\"\"", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b5d1d9d4-77c7-48d4-b020-5a18576bb4a9", "documentation": "List all live streams", "method": "get", "endpoint": "live-streams", "responses": [ { "uuid": "9268ec3e-d0c4-4858-925e-8a8071cecab5", "body": "{\n \"data\": [\n {\n \"assets\": {\n \"hls\": \"https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5.m3u8\",\n \"iframe\": \"\",\n \"player\": \"https://embed.api.video/live/li400mYKSgQ6xs7taUeSaEKr\",\n \"thumbnail\": \"https://cdn.api.video/live/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg\"\n },\n \"broadcasting\": true,\n \"liveStreamId\": \"li400mYKSgQ6xs7taUeSaEKr\",\n \"name\": \"My Live Stream\",\n \"playerId\": \"pl45d5vFFGrfdsdsd156dGhh\",\n \"public\": true,\n \"record\": true,\n \"streamKey\": \"cc1b4df0-d1c5-4064-a8f9-9f0368385135\"\n }\n ],\n \"pagination\": {\n \"currentPage\": 3,\n \"currentPageItems\": 20,\n \"itemsTotal\": 123,\n \"links\": {\n \"first\": {\n \"rel\": \"first\",\n \"uri\": \"/videos/search?currentPage=1&pageSize=20\"\n },\n \"last\": {\n \"rel\": \"last\",\n \"uri\": \"/videos/search?currentPage=6&pageSize=20\"\n },\n \"next\": {\n \"rel\": \"next\",\n \"uri\": \"/videos/search?currentPage=4&pageSize=20\"\n },\n \"previous\": {\n \"rel\": \"previous\",\n \"uri\": \"/videos/search?currentPage=2&pageSize=20\"\n }\n },\n \"pageSize\": 20,\n \"pagesTotal\": 7\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e2d05f98-cac0-4b19-bd1c-8bb8033766da", "documentation": "Create live stream", "method": "post", "endpoint": "live-streams", "responses": [ { "uuid": "c7af3478-daed-4ebc-b599-d77f5b965b43", "body": "{\n \"assets\": {\n \"hls\": \"https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5.m3u8\",\n \"iframe\": \"\",\n \"player\": \"https://embed.api.video/live/li400mYKSgQ6xs7taUeSaEKr\",\n \"thumbnail\": \"https://cdn.api.video/live/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg\"\n },\n \"broadcasting\": true,\n \"liveStreamId\": \"li400mYKSgQ6xs7taUeSaEKr\",\n \"name\": \"My Live Stream\",\n \"playerId\": \"pl45d5vFFGrfdsdsd156dGhh\",\n \"public\": true,\n \"record\": true,\n \"streamKey\": \"cc1b4df0-d1c5-4064-a8f9-9f0368385135\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "138c7b00-0c27-473a-bac2-11140178133b", "body": "\"\"", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "89665b19-40e9-42d8-bf1f-da7866a1fd6b", "documentation": "Delete a live stream", "method": "delete", "endpoint": "live-streams/:liveStreamId", "responses": [ { "uuid": "ef640fa5-48f5-47ed-8ed2-eae0c32fb270", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "efb2c4fe-f18d-4017-b2bf-48b4d44939f8", "documentation": "Show live stream", "method": "get", "endpoint": "live-streams/:liveStreamId", "responses": [ { "uuid": "bbcd9a29-3152-4dda-b327-0d8824b6212a", "body": "{\n \"assets\": {\n \"hls\": \"https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5.m3u8\",\n \"iframe\": \"\",\n \"player\": \"https://embed.api.video/live/li400mYKSgQ6xs7taUeSaEKr\",\n \"thumbnail\": \"https://cdn.api.video/live/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg\"\n },\n \"broadcasting\": true,\n \"liveStreamId\": \"li400mYKSgQ6xs7taUeSaEKr\",\n \"name\": \"My Live Stream\",\n \"playerId\": \"pl45d5vFFGrfdsdsd156dGhh\",\n \"public\": true,\n \"record\": true,\n \"streamKey\": \"cc1b4df0-d1c5-4064-a8f9-9f0368385135\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "39946df2-aac0-4393-8c19-ce4579b96751", "documentation": "Update a live stream", "method": "patch", "endpoint": "live-streams/:liveStreamId", "responses": [ { "uuid": "b2245612-1f16-49f7-9513-e6c51b9ea29a", "body": "{\n \"assets\": {\n \"hls\": \"https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5.m3u8\",\n \"iframe\": \"\",\n \"player\": \"https://embed.api.video/live/li400mYKSgQ6xs7taUeSaEKr\",\n \"thumbnail\": \"https://cdn.api.video/live/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg\"\n },\n \"broadcasting\": true,\n \"liveStreamId\": \"li400mYKSgQ6xs7taUeSaEKr\",\n \"name\": \"My Live Stream\",\n \"playerId\": \"pl45d5vFFGrfdsdsd156dGhh\",\n \"public\": true,\n \"record\": true,\n \"streamKey\": \"cc1b4df0-d1c5-4064-a8f9-9f0368385135\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "aac078dd-ec50-4698-bbfa-a9116f25270d", "body": "\"\"", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "dcf9c9f7-54e0-46df-9557-59ded571711c", "documentation": "Delete a thumbnail", "method": "delete", "endpoint": "live-streams/:liveStreamId/thumbnail", "responses": [ { "uuid": "64e6c497-7eba-4cf1-baff-25c78f55c7c6", "body": "{\n \"assets\": {\n \"hls\": \"https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5.m3u8\",\n \"iframe\": \"\",\n \"player\": \"https://embed.api.video/live/li400mYKSgQ6xs7taUeSaEKr\",\n \"thumbnail\": \"https://cdn.api.video/live/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg\"\n },\n \"broadcasting\": true,\n \"liveStreamId\": \"li400mYKSgQ6xs7taUeSaEKr\",\n \"name\": \"My Live Stream\",\n \"playerId\": \"pl45d5vFFGrfdsdsd156dGhh\",\n \"public\": true,\n \"record\": true,\n \"streamKey\": \"cc1b4df0-d1c5-4064-a8f9-9f0368385135\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "599ff4eb-3c82-46d4-b6c3-9b65581bff13", "body": "{\n \"name\": \"\",\n \"status\": {{faker 'number.int' max=99999}},\n \"title\": \"\",\n \"type\": \"\"\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3b8d8011-70ba-43d6-9d1f-f434e82b79d0", "documentation": "Upload a thumbnail", "method": "post", "endpoint": "live-streams/:liveStreamId/thumbnail", "responses": [ { "uuid": "25469a12-3fc5-4bf5-817b-109e8feb18a7", "body": "{\n \"assets\": {\n \"hls\": \"https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5.m3u8\",\n \"iframe\": \"\",\n \"player\": \"https://embed.api.video/live/li400mYKSgQ6xs7taUeSaEKr\",\n \"thumbnail\": \"https://cdn.api.video/live/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg\"\n },\n \"broadcasting\": true,\n \"liveStreamId\": \"li400mYKSgQ6xs7taUeSaEKr\",\n \"name\": \"My Live Stream\",\n \"playerId\": \"pl45d5vFFGrfdsdsd156dGhh\",\n \"public\": true,\n \"record\": true,\n \"streamKey\": \"cc1b4df0-d1c5-4064-a8f9-9f0368385135\"\n}", "latency": 0, "statusCode": 201, "label": "Created", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "b3462e18-bbff-4fcc-9999-319d580097a4", "body": "\"\"", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1e61a39f-6a54-4e30-8308-b887aa5dc50c", "body": "{\n \"name\": \"\",\n \"status\": {{faker 'number.int' max=99999}},\n \"title\": \"\",\n \"type\": \"\"\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "df4d9d93-6d5e-4067-9890-23c243b17ade", "documentation": "List all players", "method": "get", "endpoint": "players", "responses": [ { "uuid": "f38ce86b-0c73-4b57-9771-6e7a138b9429", "body": "{\n \"data\": [\n {\n \"backgroundBottom\": \"\",\n \"backgroundText\": \"\",\n \"backgroundTop\": \"\",\n \"enableApi\": true,\n \"enableControls\": true,\n \"forceAutoplay\": {{faker 'datatype.boolean'}},\n \"forceLoop\": {{faker 'datatype.boolean'}},\n \"hideTitle\": {{faker 'datatype.boolean'}},\n \"link\": \"\",\n \"linkHover\": \"\",\n \"text\": \"\",\n \"trackBackground\": \"\",\n \"trackPlayed\": \"\",\n \"trackUnplayed\": \"\"\n }\n ],\n \"pagination\": {\n \"currentPage\": 3,\n \"currentPageItems\": 20,\n \"itemsTotal\": 123,\n \"links\": {\n \"first\": {\n \"rel\": \"first\",\n \"uri\": \"/videos/search?currentPage=1&pageSize=20\"\n },\n \"last\": {\n \"rel\": \"last\",\n \"uri\": \"/videos/search?currentPage=6&pageSize=20\"\n },\n \"next\": {\n \"rel\": \"next\",\n \"uri\": \"/videos/search?currentPage=4&pageSize=20\"\n },\n \"previous\": {\n \"rel\": \"previous\",\n \"uri\": \"/videos/search?currentPage=2&pageSize=20\"\n }\n },\n \"pageSize\": 20,\n \"pagesTotal\": 7\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "db3f79cc-f3f9-48b5-a5e9-71487a89c889", "body": "\"\"", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "bd9f93a4-437f-4d2d-83c5-5644afd3f83e", "documentation": "Create a player", "method": "post", "endpoint": "players", "responses": [ { "uuid": "a281c12d-00a5-4855-965f-9b2d71ba976a", "body": "{\n \"backgroundBottom\": \"\",\n \"backgroundText\": \"\",\n \"backgroundTop\": \"\",\n \"enableApi\": true,\n \"enableControls\": true,\n \"forceAutoplay\": {{faker 'datatype.boolean'}},\n \"forceLoop\": {{faker 'datatype.boolean'}},\n \"hideTitle\": {{faker 'datatype.boolean'}},\n \"link\": \"\",\n \"linkHover\": \"\",\n \"text\": \"\",\n \"trackBackground\": \"\",\n \"trackPlayed\": \"\",\n \"trackUnplayed\": \"\"\n}", "latency": 0, "statusCode": 201, "label": "Created", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3089b4fa-ae32-4469-8384-3d5992b7bfc8", "documentation": "Delete a player", "method": "delete", "endpoint": "players/:playerId", "responses": [ { "uuid": "51c90937-43b2-45e9-b74d-3b419cd52af7", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "dc4d4d73-50f0-4017-a343-758927941541", "body": "{\n \"name\": \"\",\n \"status\": {{faker 'number.int' max=99999}},\n \"title\": \"\",\n \"type\": \"\"\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "12a4f0a9-0e3f-45d7-abc8-e1d09cd2ea25", "documentation": "Show a player", "method": "get", "endpoint": "players/:playerId", "responses": [ { "uuid": "b8f5b44d-6dd7-47eb-9ad3-bedb67dbdb7e", "body": "{\n \"backgroundBottom\": \"\",\n \"backgroundText\": \"\",\n \"backgroundTop\": \"\",\n \"enableApi\": true,\n \"enableControls\": true,\n \"forceAutoplay\": {{faker 'datatype.boolean'}},\n \"forceLoop\": {{faker 'datatype.boolean'}},\n \"hideTitle\": {{faker 'datatype.boolean'}},\n \"link\": \"\",\n \"linkHover\": \"\",\n \"text\": \"\",\n \"trackBackground\": \"\",\n \"trackPlayed\": \"\",\n \"trackUnplayed\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "474526f2-36aa-4ecd-824a-c0e1ec194141", "body": "{\n \"name\": \"\",\n \"status\": {{faker 'number.int' max=99999}},\n \"title\": \"\",\n \"type\": \"\"\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "95259942-98c8-46b1-9060-ee1303406fea", "documentation": "Update a player", "method": "patch", "endpoint": "players/:playerId", "responses": [ { "uuid": "e51bb859-98fb-405b-96da-240904f9d522", "body": "{\n \"backgroundBottom\": \"\",\n \"backgroundText\": \"\",\n \"backgroundTop\": \"\",\n \"enableApi\": true,\n \"enableControls\": true,\n \"forceAutoplay\": {{faker 'datatype.boolean'}},\n \"forceLoop\": {{faker 'datatype.boolean'}},\n \"hideTitle\": {{faker 'datatype.boolean'}},\n \"link\": \"\",\n \"linkHover\": \"\",\n \"text\": \"\",\n \"trackBackground\": \"\",\n \"trackPlayed\": \"\",\n \"trackUnplayed\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "730382aa-0a1c-441b-a190-83ed11dc55ef", "body": "{\n \"name\": \"\",\n \"status\": {{faker 'number.int' max=99999}},\n \"title\": \"\",\n \"type\": \"\"\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "09875cec-5c41-4d29-baa1-88bba07e58a0", "documentation": "Delete logo", "method": "delete", "endpoint": "players/:playerId/logo", "responses": [ { "uuid": "b4df54d5-4bca-4a68-aa3e-5ec17256982e", "body": "{}", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "c5d2be46-5d2a-4639-b040-cd1d889a6b45", "body": "{\n \"name\": \"\",\n \"status\": {{faker 'number.int' max=99999}},\n \"title\": \"\",\n \"type\": \"\"\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ca94033d-8197-4086-b3c2-7e69bb788d6e", "documentation": "Upload a logo", "method": "post", "endpoint": "players/:playerId/logo", "responses": [ { "uuid": "96586cdb-419e-407a-ba45-d1ac85d33054", "body": "{\n \"backgroundBottom\": \"\",\n \"backgroundText\": \"\",\n \"backgroundTop\": \"\",\n \"enableApi\": true,\n \"enableControls\": true,\n \"forceAutoplay\": {{faker 'datatype.boolean'}},\n \"forceLoop\": {{faker 'datatype.boolean'}},\n \"hideTitle\": {{faker 'datatype.boolean'}},\n \"link\": \"\",\n \"linkHover\": \"\",\n \"text\": \"\",\n \"trackBackground\": \"\",\n \"trackPlayed\": \"\",\n \"trackUnplayed\": \"\"\n}", "latency": 0, "statusCode": 201, "label": "Created", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "1326c3b5-bac2-4069-88c8-9be14077855a", "body": "\"\"", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e6c3dd14-b2a0-4d00-9653-0e64938df2fb", "body": "{\n \"name\": \"\",\n \"status\": {{faker 'number.int' max=99999}},\n \"title\": \"\",\n \"type\": \"\"\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9c82c647-5f22-4d00-9fac-0c73ad34e202", "documentation": "Upload with an upload token", "method": "post", "endpoint": "upload", "responses": [ { "uuid": "b7ddc01d-7974-4e7b-93e8-81619a7faf8c", "body": "{\n \"actions\": [\n \"video_delete\",\n \"video_download\",\n \"video_update\"\n ],\n \"description\": \"An amazing video explaining the string theory\",\n \"metadata\": [\n {\n \"key\": \"Author\",\n \"value\": \"John Doe\"\n },\n {\n \"key\": \"Format\",\n \"value\": \"Tutorial\"\n }\n ],\n \"publishedAt\": \"4665-07-14T23:36:18.598Z\",\n \"scheduledAt\": \"4251-03-03T12:52:03.085Z\",\n \"tags\": [\n \"maths\",\n \"string theory\",\n \"video\"\n ],\n \"title\": \"Maths video\",\n \"videoId\": \"vi4k0jvEUuaTdRAEjQ4Jfrgz\"\n}", "latency": 0, "statusCode": 201, "label": "Created", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "0ddeb9d3-25cd-4049-9721-19811e03930a", "body": "\"\"", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8887e01d-1ded-4bdf-adcb-015ef869d8b1", "documentation": "List all active upload tokens.", "method": "get", "endpoint": "upload-tokens", "responses": [ { "uuid": "db86aab7-102c-472f-b11a-0bfdeb51015b", "body": "{\n \"data\": [\n {\n \"createdAt\": \"2019-12-16T08:25:51+00:00\",\n \"expiresAt\": \"2019-12-16T09:25:51+00:00\",\n \"token\": \"to1tcmSFHeYY5KzyhOqVKMKb\",\n \"ttl\": {{faker 'number.int' max=99999}}\n }\n ],\n \"pagination\": {\n \"currentPage\": 3,\n \"currentPageItems\": 20,\n \"itemsTotal\": 123,\n \"links\": {\n \"first\": {\n \"rel\": \"first\",\n \"uri\": \"/videos/search?currentPage=1&pageSize=20\"\n },\n \"last\": {\n \"rel\": \"last\",\n \"uri\": \"/videos/search?currentPage=6&pageSize=20\"\n },\n \"next\": {\n \"rel\": \"next\",\n \"uri\": \"/videos/search?currentPage=4&pageSize=20\"\n },\n \"previous\": {\n \"rel\": \"previous\",\n \"uri\": \"/videos/search?currentPage=2&pageSize=20\"\n }\n },\n \"pageSize\": 20,\n \"pagesTotal\": 7\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "6e44ea40-dd64-4766-9478-0e2ccfd27304", "documentation": "Generate an upload token", "method": "post", "endpoint": "upload-tokens", "responses": [ { "uuid": "7e683673-16e2-4c4a-918d-d6668d244a7a", "body": "{\n \"createdAt\": \"2019-12-16T08:25:51+00:00\",\n \"expiresAt\": \"2019-12-16T09:25:51+00:00\",\n \"token\": \"to1tcmSFHeYY5KzyhOqVKMKb\",\n \"ttl\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "30d1ec65-66d0-4cb7-b5da-3a5a5963b0b2", "body": "\"\"", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5c35b08a-85b9-41ef-8c13-9e1ce93974c2", "documentation": "Delete an upload token", "method": "delete", "endpoint": "upload-tokens/:uploadToken", "responses": [ { "uuid": "67291692-05e5-45e7-a55f-abd447d98d59", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "9b90adf8-04c3-4aa5-ab1e-9720d9d8a325", "body": "{\n \"name\": \"\",\n \"status\": {{faker 'number.int' max=99999}},\n \"title\": \"\",\n \"type\": \"\"\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "7b11bf88-355a-4ed9-a15a-653b3d52cfd9", "documentation": "Show upload token", "method": "get", "endpoint": "upload-tokens/:uploadToken", "responses": [ { "uuid": "90254943-c870-40ea-85d1-1b6cf77f6508", "body": "{\n \"createdAt\": \"2019-12-16T08:25:51+00:00\",\n \"expiresAt\": \"2019-12-16T09:25:51+00:00\",\n \"token\": \"to1tcmSFHeYY5KzyhOqVKMKb\",\n \"ttl\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "5958c390-91be-4a67-b2fc-3ea9738a188b", "body": "{\n \"name\": \"\",\n \"status\": {{faker 'number.int' max=99999}},\n \"title\": \"\",\n \"type\": \"\"\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5028b578-d4ad-4b22-a264-91db9a73bba7", "documentation": "List all videos", "method": "get", "endpoint": "videos", "responses": [ { "uuid": "ec9e0faf-650d-4f01-8115-f2dd51e169bc", "body": "{\n \"data\": [\n {\n \"actions\": [\n \"video_delete\",\n \"video_download\",\n \"video_update\"\n ],\n \"description\": \"An amazing video explaining the string theory\",\n \"metadata\": [\n {\n \"key\": \"Author\",\n \"value\": \"John Doe\"\n },\n {\n \"key\": \"Format\",\n \"value\": \"Tutorial\"\n }\n ],\n \"publishedAt\": \"4665-07-14T23:36:18.598Z\",\n \"scheduledAt\": \"4251-03-03T12:52:03.085Z\",\n \"tags\": [\n \"maths\",\n \"string theory\",\n \"video\"\n ],\n \"title\": \"Maths video\",\n \"videoId\": \"vi4k0jvEUuaTdRAEjQ4Jfrgz\"\n }\n ],\n \"pagination\": {\n \"currentPage\": 3,\n \"currentPageItems\": 20,\n \"itemsTotal\": 123,\n \"links\": {\n \"first\": {\n \"rel\": \"first\",\n \"uri\": \"/videos/search?currentPage=1&pageSize=20\"\n },\n \"last\": {\n \"rel\": \"last\",\n \"uri\": \"/videos/search?currentPage=6&pageSize=20\"\n },\n \"next\": {\n \"rel\": \"next\",\n \"uri\": \"/videos/search?currentPage=4&pageSize=20\"\n },\n \"previous\": {\n \"rel\": \"previous\",\n \"uri\": \"/videos/search?currentPage=2&pageSize=20\"\n }\n },\n \"pageSize\": 20,\n \"pagesTotal\": 7\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "0f43c53d-a944-4ff1-9cf0-c533fab9118a", "body": "\"\"", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d8ab3b84-4492-4d92-b49f-801a0f117133", "documentation": "Create a video", "method": "post", "endpoint": "videos", "responses": [ { "uuid": "774ec3ce-688b-4c66-87cc-ed887d7161f2", "body": "{\n \"actions\": [\n \"video_delete\",\n \"video_download\",\n \"video_update\"\n ],\n \"description\": \"An amazing video explaining the string theory\",\n \"metadata\": [\n {\n \"key\": \"Author\",\n \"value\": \"John Doe\"\n },\n {\n \"key\": \"Format\",\n \"value\": \"Tutorial\"\n }\n ],\n \"publishedAt\": \"4665-07-14T23:36:18.598Z\",\n \"scheduledAt\": \"4251-03-03T12:52:03.085Z\",\n \"tags\": [\n \"maths\",\n \"string theory\",\n \"video\"\n ],\n \"title\": \"Maths video\",\n \"videoId\": \"vi4k0jvEUuaTdRAEjQ4Jfrgz\"\n}", "latency": 0, "statusCode": 201, "label": "Created", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "4d60aaf9-3148-428f-91b2-30e19fe49918", "body": "{\n \"actions\": [\n \"video_delete\",\n \"video_download\",\n \"video_update\"\n ],\n \"description\": \"An amazing video explaining the string theory\",\n \"metadata\": [\n {\n \"key\": \"Author\",\n \"value\": \"John Doe\"\n },\n {\n \"key\": \"Format\",\n \"value\": \"Tutorial\"\n }\n ],\n \"publishedAt\": \"4665-07-14T23:36:18.598Z\",\n \"scheduledAt\": \"4251-03-03T12:52:03.085Z\",\n \"tags\": [\n \"maths\",\n \"string theory\",\n \"video\"\n ],\n \"title\": \"Maths video\",\n \"videoId\": \"vi4k0jvEUuaTdRAEjQ4Jfrgz\"\n}", "latency": 0, "statusCode": 202, "label": "Accepted", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "38b41e42-be4e-47be-8349-3e7fef89f11c", "body": "\"\"", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3b3beae9-ce21-4c77-9a87-d29217711a3f", "documentation": "Delete a video", "method": "delete", "endpoint": "videos/:videoId", "responses": [ { "uuid": "138b1ca8-218f-4eb9-bde5-97cf8c91cd16", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "b16f033a-04dc-4a70-b3ec-9565eb887ada", "body": "{\n \"name\": \"\",\n \"status\": {{faker 'number.int' max=99999}},\n \"title\": \"\",\n \"type\": \"\"\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "316c7dfa-9e6e-4ad0-8a84-7597f99d1215", "documentation": "Show a video", "method": "get", "endpoint": "videos/:videoId", "responses": [ { "uuid": "c94016cc-c07e-48f2-b89c-69b5a450c555", "body": "{\n \"actions\": [\n \"video_delete\",\n \"video_download\",\n \"video_update\"\n ],\n \"description\": \"An amazing video explaining the string theory\",\n \"metadata\": [\n {\n \"key\": \"Author\",\n \"value\": \"John Doe\"\n },\n {\n \"key\": \"Format\",\n \"value\": \"Tutorial\"\n }\n ],\n \"publishedAt\": \"4665-07-14T23:36:18.598Z\",\n \"scheduledAt\": \"4251-03-03T12:52:03.085Z\",\n \"tags\": [\n \"maths\",\n \"string theory\",\n \"video\"\n ],\n \"title\": \"Maths video\",\n \"videoId\": \"vi4k0jvEUuaTdRAEjQ4Jfrgz\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "a725b4ed-d563-4599-b63b-a60612949275", "body": "{\n \"name\": \"\",\n \"status\": {{faker 'number.int' max=99999}},\n \"title\": \"\",\n \"type\": \"\"\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "2662f317-e3f7-4069-aead-70290e955aa9", "documentation": "Update a video", "method": "patch", "endpoint": "videos/:videoId", "responses": [ { "uuid": "396e50e3-02f6-4e63-8d4a-ac65bcc01ad7", "body": "{\n \"actions\": [\n \"video_delete\",\n \"video_download\",\n \"video_update\"\n ],\n \"description\": \"An amazing video explaining the string theory\",\n \"metadata\": [\n {\n \"key\": \"Author\",\n \"value\": \"John Doe\"\n },\n {\n \"key\": \"Format\",\n \"value\": \"Tutorial\"\n }\n ],\n \"publishedAt\": \"4665-07-14T23:36:18.598Z\",\n \"scheduledAt\": \"4251-03-03T12:52:03.085Z\",\n \"tags\": [\n \"maths\",\n \"string theory\",\n \"video\"\n ],\n \"title\": \"Maths video\",\n \"videoId\": \"vi4k0jvEUuaTdRAEjQ4Jfrgz\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "5efc6020-1622-4f1b-87c5-ce30bdbcdfd0", "body": "\"\"", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c0ad86c6-429c-4585-ae28-7deeb9dbdb83", "body": "{\n \"name\": \"\",\n \"status\": {{faker 'number.int' max=99999}},\n \"title\": \"\",\n \"type\": \"\"\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ea2e99c4-fdc6-43a5-b7ef-dee18b9b62e8", "documentation": "List video captions", "method": "get", "endpoint": "videos/:videoId/captions", "responses": [ { "uuid": "814bd752-e983-4f2d-bd47-42d647105c74", "body": "{\n \"data\": [\n {\n \"default\": {{faker 'datatype.boolean'}},\n \"src\": \"\",\n \"srclang\": \"\",\n \"uri\": \"\"\n }\n ],\n \"pagination\": {\n \"currentPage\": 3,\n \"currentPageItems\": 20,\n \"itemsTotal\": 123,\n \"links\": {\n \"first\": {\n \"rel\": \"first\",\n \"uri\": \"/videos/search?currentPage=1&pageSize=20\"\n },\n \"last\": {\n \"rel\": \"last\",\n \"uri\": \"/videos/search?currentPage=6&pageSize=20\"\n },\n \"next\": {\n \"rel\": \"next\",\n \"uri\": \"/videos/search?currentPage=4&pageSize=20\"\n },\n \"previous\": {\n \"rel\": \"previous\",\n \"uri\": \"/videos/search?currentPage=2&pageSize=20\"\n }\n },\n \"pageSize\": 20,\n \"pagesTotal\": 7\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "b58ad387-505b-4019-a999-986474e3e019", "body": "{\n \"name\": \"\",\n \"status\": {{faker 'number.int' max=99999}},\n \"title\": \"\",\n \"type\": \"\"\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "2034a45d-d3fb-4595-9980-a1fd489d9290", "documentation": "Delete a caption", "method": "delete", "endpoint": "videos/:videoId/captions/:language", "responses": [ { "uuid": "613c5603-fafb-4157-8980-b29f02b466ae", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "8ffe4ef7-b0e1-418d-9445-a30af649102e", "body": "{\n \"name\": \"\",\n \"status\": {{faker 'number.int' max=99999}},\n \"title\": \"\",\n \"type\": \"\"\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "dd1e3294-e668-47fe-8a74-4eb612b0a24b", "documentation": "Show a caption", "method": "get", "endpoint": "videos/:videoId/captions/:language", "responses": [ { "uuid": "7a386117-09ca-41d7-b1a9-f9b2b590fa0e", "body": "{\n \"default\": {{faker 'datatype.boolean'}},\n \"src\": \"\",\n \"srclang\": \"\",\n \"uri\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "57a85051-ac0d-42fa-a932-3736f24dd37c", "body": "{\n \"name\": \"\",\n \"status\": {{faker 'number.int' max=99999}},\n \"title\": \"\",\n \"type\": \"\"\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "85a902ea-77a7-4cee-b7b7-a06cb10981c9", "documentation": "Update caption", "method": "patch", "endpoint": "videos/:videoId/captions/:language", "responses": [ { "uuid": "87f036f5-7bc4-45e8-a820-353ce21b9a78", "body": "{\n \"default\": {{faker 'datatype.boolean'}},\n \"src\": \"\",\n \"srclang\": \"\",\n \"uri\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "bed26968-db01-4aef-b939-dcf3bb44dd33", "body": "\"\"", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "39f24f00-dd36-4f5a-8983-b00d047efade", "body": "{\n \"name\": \"\",\n \"status\": {{faker 'number.int' max=99999}},\n \"title\": \"\",\n \"type\": \"\"\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f35c516c-1443-4e36-bee0-22a904e2b2a7", "documentation": "Upload a caption", "method": "post", "endpoint": "videos/:videoId/captions/:language", "responses": [ { "uuid": "33309b2a-3b57-40f2-ac66-5f6eef6be6d8", "body": "{\n \"default\": {{faker 'datatype.boolean'}},\n \"src\": \"\",\n \"srclang\": \"\",\n \"uri\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "035b2e70-7027-4b83-b695-ba907b506cdd", "body": "\"\"", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c482194c-a8da-48cd-bb47-d5858c3af5fb", "body": "{\n \"name\": \"\",\n \"status\": {{faker 'number.int' max=99999}},\n \"title\": \"\",\n \"type\": \"\"\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8f082802-a174-4a07-8b73-18aa8fe499b8", "documentation": "List video chapters", "method": "get", "endpoint": "videos/:videoId/chapters", "responses": [ { "uuid": "86cdb8bd-1988-4f3c-acf0-2bc82591158b", "body": "{\n \"data\": [\n {\n \"language\": \"\",\n \"src\": \"https://cdn.api.video/vod/vi3N6cDinStg3oBbN79GklWS/chapters/fr.vtt\",\n \"uri\": \"\"\n }\n ],\n \"pagination\": {\n \"currentPage\": 3,\n \"currentPageItems\": 20,\n \"itemsTotal\": 123,\n \"links\": {\n \"first\": {\n \"rel\": \"first\",\n \"uri\": \"/videos/search?currentPage=1&pageSize=20\"\n },\n \"last\": {\n \"rel\": \"last\",\n \"uri\": \"/videos/search?currentPage=6&pageSize=20\"\n },\n \"next\": {\n \"rel\": \"next\",\n \"uri\": \"/videos/search?currentPage=4&pageSize=20\"\n },\n \"previous\": {\n \"rel\": \"previous\",\n \"uri\": \"/videos/search?currentPage=2&pageSize=20\"\n }\n },\n \"pageSize\": 20,\n \"pagesTotal\": 7\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "02cb8dc4-5de9-4039-b576-802771c4b6d0", "body": "{\n \"name\": \"\",\n \"status\": {{faker 'number.int' max=99999}},\n \"title\": \"\",\n \"type\": \"\"\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9df0a445-b298-4a21-8616-36c4deb28bf7", "documentation": "Delete a chapter", "method": "delete", "endpoint": "videos/:videoId/chapters/:language", "responses": [ { "uuid": "14f850f3-3f01-493f-87ba-d8a7b8e28712", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "26d759dd-92ab-4fc3-8b1d-6252c877cb83", "body": "{\n \"name\": \"\",\n \"status\": {{faker 'number.int' max=99999}},\n \"title\": \"\",\n \"type\": \"\"\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "189864e0-fa06-4754-960c-4663ceeba080", "documentation": "Show a chapter", "method": "get", "endpoint": "videos/:videoId/chapters/:language", "responses": [ { "uuid": "ab089595-b845-454b-918a-8dbabe9dab13", "body": "{\n \"language\": \"\",\n \"src\": \"https://cdn.api.video/vod/vi3N6cDinStg3oBbN79GklWS/chapters/fr.vtt\",\n \"uri\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "a4968d17-5e5a-4997-8e0c-1be5dbcc430b", "body": "{\n \"name\": \"\",\n \"status\": {{faker 'number.int' max=99999}},\n \"title\": \"\",\n \"type\": \"\"\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c88a8fa7-46cd-4d9c-8f49-4c5d39957060", "documentation": "Upload a chapter", "method": "post", "endpoint": "videos/:videoId/chapters/:language", "responses": [ { "uuid": "dba2fcd6-4be9-4d3c-9d02-bdfb897afefe", "body": "{\n \"language\": \"\",\n \"src\": \"https://cdn.api.video/vod/vi3N6cDinStg3oBbN79GklWS/chapters/fr.vtt\",\n \"uri\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "af7ae1e8-557d-48c4-9cf7-05bfa010e031", "body": "\"\"", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "601dee93-3979-4e23-afdd-cbcdfb7f6b2e", "body": "{\n \"name\": \"\",\n \"status\": {{faker 'number.int' max=99999}},\n \"title\": \"\",\n \"type\": \"\"\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5d676d63-f5ce-4e12-ac35-8d323b7ecfc0", "documentation": "Upload a video", "method": "post", "endpoint": "videos/:videoId/source", "responses": [ { "uuid": "83d491b6-eefe-402c-b714-c8da96fcebb5", "body": "{\n \"actions\": [\n \"video_delete\",\n \"video_download\",\n \"video_update\"\n ],\n \"description\": \"An amazing video explaining the string theory\",\n \"metadata\": [\n {\n \"key\": \"Author\",\n \"value\": \"John Doe\"\n },\n {\n \"key\": \"Format\",\n \"value\": \"Tutorial\"\n }\n ],\n \"publishedAt\": \"4665-07-14T23:36:18.598Z\",\n \"scheduledAt\": \"4251-03-03T12:52:03.085Z\",\n \"tags\": [\n \"maths\",\n \"string theory\",\n \"video\"\n ],\n \"title\": \"Maths video\",\n \"videoId\": \"vi4k0jvEUuaTdRAEjQ4Jfrgz\"\n}", "latency": 0, "statusCode": 201, "label": "Created", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "6e6e97ac-7be3-4ccc-94f4-648ec49a236f", "body": "\"\"", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1160d7e3-0ef3-4904-af3d-fbe80ae43527", "body": "{\n \"name\": \"\",\n \"status\": {{faker 'number.int' max=99999}},\n \"title\": \"\",\n \"type\": \"\"\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "23a17279-3034-4737-a389-66dc5feaed3a", "documentation": "Show video status", "method": "get", "endpoint": "videos/:videoId/status", "responses": [ { "uuid": "ee4304ab-2ac5-4f29-8961-e1d57fcfa489", "body": "{\n \"encoding\": {\n \"metadata\": {\n \"aspectRatio\": \"16/9\",\n \"audioCodec\": \"aac\",\n \"bitrate\": 411.218,\n \"duration\": 4176,\n \"framerate\": 24,\n \"height\": 240,\n \"samplerate\": 48000,\n \"videoCodec\": \"h264\",\n \"width\": 424\n },\n \"playable\": true,\n \"qualities\": [\n {\n \"quality\": \"240p\",\n \"status\": \"encoded\"\n },\n {\n \"quality\": \"360p\",\n \"status\": \"encoded\"\n },\n {\n \"quality\": \"480p\",\n \"status\": \"encoded\"\n },\n {\n \"quality\": \"720p\",\n \"status\": \"encoded\"\n },\n {\n \"quality\": \"1080p\",\n \"status\": \"encoding\"\n },\n {\n \"quality\": \"2160p\",\n \"status\": \"waiting\"\n }\n ]\n },\n \"ingest\": {\n \"filesize\": 273579401,\n \"receivedBytes\": [\n {\n \"from\": 0,\n \"to\": 134217727,\n \"total\": 273579401\n },\n {\n \"from\": 134217728,\n \"to\": 268435455,\n \"total\": 273579401\n },\n {\n \"from\": 268435456,\n \"to\": 273579400,\n \"total\": 273579401\n }\n ],\n \"status\": \"uploaded\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "ee1cfb3d-e92c-48ae-a78f-ba370b3fc4a2", "body": "{\n \"name\": \"\",\n \"status\": {{faker 'number.int' max=99999}},\n \"title\": \"\",\n \"type\": \"\"\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "93d32985-eddd-47e9-92dc-d27bce645d10", "documentation": "Pick a thumbnail", "method": "patch", "endpoint": "videos/:videoId/thumbnail", "responses": [ { "uuid": "ead25f08-3c3c-44f9-aabe-22e23de380f1", "body": "{\n \"actions\": [\n \"video_delete\",\n \"video_download\",\n \"video_update\"\n ],\n \"description\": \"An amazing video explaining the string theory\",\n \"metadata\": [\n {\n \"key\": \"Author\",\n \"value\": \"John Doe\"\n },\n {\n \"key\": \"Format\",\n \"value\": \"Tutorial\"\n }\n ],\n \"publishedAt\": \"4665-07-14T23:36:18.598Z\",\n \"scheduledAt\": \"4251-03-03T12:52:03.085Z\",\n \"tags\": [\n \"maths\",\n \"string theory\",\n \"video\"\n ],\n \"title\": \"Maths video\",\n \"videoId\": \"vi4k0jvEUuaTdRAEjQ4Jfrgz\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "b9d94188-9a52-4259-bfc6-b31565e55efe", "body": "{\n \"name\": \"\",\n \"status\": {{faker 'number.int' max=99999}},\n \"title\": \"\",\n \"type\": \"\"\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a534354f-5942-456c-8b18-8730719beba5", "documentation": "Upload a thumbnail", "method": "post", "endpoint": "videos/:videoId/thumbnail", "responses": [ { "uuid": "838ccb38-728d-4e87-b0f8-5a63c88fcc05", "body": "{\n \"actions\": [\n \"video_delete\",\n \"video_download\",\n \"video_update\"\n ],\n \"description\": \"An amazing video explaining the string theory\",\n \"metadata\": [\n {\n \"key\": \"Author\",\n \"value\": \"John Doe\"\n },\n {\n \"key\": \"Format\",\n \"value\": \"Tutorial\"\n }\n ],\n \"publishedAt\": \"4665-07-14T23:36:18.598Z\",\n \"scheduledAt\": \"4251-03-03T12:52:03.085Z\",\n \"tags\": [\n \"maths\",\n \"string theory\",\n \"video\"\n ],\n \"title\": \"Maths video\",\n \"videoId\": \"vi4k0jvEUuaTdRAEjQ4Jfrgz\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "e949fc48-c3dc-4f98-a9d9-b048b7dc376b", "body": "\"\"", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f6dd23c2-1514-4443-b41f-870b0e04019e", "body": "{\n \"name\": \"\",\n \"status\": {{faker 'number.int' max=99999}},\n \"title\": \"\",\n \"type\": \"\"\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d7c6d33d-7ba6-4dbb-bf6f-91ff7c1184da", "documentation": "List all webhooks", "method": "get", "endpoint": "webhooks", "responses": [ { "uuid": "ad827928-7be3-43ab-b9ff-2525884f4d28", "body": "{\n \"data\": [\n {\n \"createdAt\": \"2019-06-24T11:45:01.109+00\",\n \"events\": \"[\\\"video.encoding.quality.completed\\\"]\",\n \"url\": \"http://clientnotificationserver.com/notif?myquery=query\",\n \"webhookId\": \"webhook_XXXXXXXXXXXXXXX\"\n }\n ],\n \"pagination\": {\n \"currentPage\": 3,\n \"currentPageItems\": 20,\n \"itemsTotal\": 123,\n \"links\": {\n \"first\": {\n \"rel\": \"first\",\n \"uri\": \"/videos/search?currentPage=1&pageSize=20\"\n },\n \"last\": {\n \"rel\": \"last\",\n \"uri\": \"/videos/search?currentPage=6&pageSize=20\"\n },\n \"next\": {\n \"rel\": \"next\",\n \"uri\": \"/videos/search?currentPage=4&pageSize=20\"\n },\n \"previous\": {\n \"rel\": \"previous\",\n \"uri\": \"/videos/search?currentPage=2&pageSize=20\"\n }\n },\n \"pageSize\": 20,\n \"pagesTotal\": 7\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "28c9f7f4-76e9-493a-932f-dd28d7e58e80", "documentation": "Create Webhook", "method": "post", "endpoint": "webhooks", "responses": [ { "uuid": "34ff9d49-e403-4502-8617-f7b04793485b", "body": "{\n \"createdAt\": \"2019-06-24T11:45:01.109+00\",\n \"events\": \"[\\\"video.encoding.quality.completed\\\"]\",\n \"url\": \"http://clientnotificationserver.com/notif?myquery=query\",\n \"webhookId\": \"webhook_XXXXXXXXXXXXXXX\"\n}", "latency": 0, "statusCode": 201, "label": "Created", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "958bd45b-f1b6-4824-b82d-b3819f8d19b7", "body": "\"\"", "latency": 0, "statusCode": 400, "label": "Bad Request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f98314cb-388b-4627-a74b-90b4e7564ef9", "documentation": "Delete a Webhook", "method": "delete", "endpoint": "webhooks/:webhookId", "responses": [ { "uuid": "b30c4aac-353f-4b4f-be47-189ac3675463", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "43e482f5-df59-48bb-8295-5dfa02abd51f", "body": "{\n \"name\": \"\",\n \"status\": {{faker 'number.int' max=99999}},\n \"title\": \"\",\n \"type\": \"\"\n}", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "436d50f7-c2a2-44c4-a10b-b1205c24b9ee", "documentation": "Show Webhook details", "method": "get", "endpoint": "webhooks/:webhookId", "responses": [ { "uuid": "11f7318c-632f-4b2e-83d5-4ee42ab986cb", "body": "{\n \"createdAt\": \"2019-06-24T11:45:01.109+00\",\n \"events\": \"[\\\"video.encoding.quality.completed\\\"]\",\n \"url\": \"http://clientnotificationserver.com/notif?myquery=query\",\n \"webhookId\": \"webhook_XXXXXXXXXXXXXXX\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "ad9bb488-578c-49ed-811e-fa0ab9de7bb9" }, { "type": "route", "uuid": "a15aae2e-56a8-4f69-a261-fb35432a69db" }, { "type": "route", "uuid": "cb427c89-3d9c-45f8-b5cd-0267543377a0" }, { "type": "route", "uuid": "51ae50a0-411c-4725-bb73-1d5c77b4466c" }, { "type": "route", "uuid": "b12b1283-6b29-43dd-8675-d562ea6d7ee8" }, { "type": "route", "uuid": "fb97210a-7a19-476f-96cb-ccb291835c6e" }, { "type": "route", "uuid": "b5d1d9d4-77c7-48d4-b020-5a18576bb4a9" }, { "type": "route", "uuid": "e2d05f98-cac0-4b19-bd1c-8bb8033766da" }, { "type": "route", "uuid": "89665b19-40e9-42d8-bf1f-da7866a1fd6b" }, { "type": "route", "uuid": "efb2c4fe-f18d-4017-b2bf-48b4d44939f8" }, { "type": "route", "uuid": "39946df2-aac0-4393-8c19-ce4579b96751" }, { "type": "route", "uuid": "dcf9c9f7-54e0-46df-9557-59ded571711c" }, { "type": "route", "uuid": "3b8d8011-70ba-43d6-9d1f-f434e82b79d0" }, { "type": "route", "uuid": "df4d9d93-6d5e-4067-9890-23c243b17ade" }, { "type": "route", "uuid": "bd9f93a4-437f-4d2d-83c5-5644afd3f83e" }, { "type": "route", "uuid": "3089b4fa-ae32-4469-8384-3d5992b7bfc8" }, { "type": "route", "uuid": "12a4f0a9-0e3f-45d7-abc8-e1d09cd2ea25" }, { "type": "route", "uuid": "95259942-98c8-46b1-9060-ee1303406fea" }, { "type": "route", "uuid": "09875cec-5c41-4d29-baa1-88bba07e58a0" }, { "type": "route", "uuid": "ca94033d-8197-4086-b3c2-7e69bb788d6e" }, { "type": "route", "uuid": "9c82c647-5f22-4d00-9fac-0c73ad34e202" }, { "type": "route", "uuid": "8887e01d-1ded-4bdf-adcb-015ef869d8b1" }, { "type": "route", "uuid": "6e44ea40-dd64-4766-9478-0e2ccfd27304" }, { "type": "route", "uuid": "5c35b08a-85b9-41ef-8c13-9e1ce93974c2" }, { "type": "route", "uuid": "7b11bf88-355a-4ed9-a15a-653b3d52cfd9" }, { "type": "route", "uuid": "5028b578-d4ad-4b22-a264-91db9a73bba7" }, { "type": "route", "uuid": "d8ab3b84-4492-4d92-b49f-801a0f117133" }, { "type": "route", "uuid": "3b3beae9-ce21-4c77-9a87-d29217711a3f" }, { "type": "route", "uuid": "316c7dfa-9e6e-4ad0-8a84-7597f99d1215" }, { "type": "route", "uuid": "2662f317-e3f7-4069-aead-70290e955aa9" }, { "type": "route", "uuid": "ea2e99c4-fdc6-43a5-b7ef-dee18b9b62e8" }, { "type": "route", "uuid": "2034a45d-d3fb-4595-9980-a1fd489d9290" }, { "type": "route", "uuid": "dd1e3294-e668-47fe-8a74-4eb612b0a24b" }, { "type": "route", "uuid": "85a902ea-77a7-4cee-b7b7-a06cb10981c9" }, { "type": "route", "uuid": "f35c516c-1443-4e36-bee0-22a904e2b2a7" }, { "type": "route", "uuid": "8f082802-a174-4a07-8b73-18aa8fe499b8" }, { "type": "route", "uuid": "9df0a445-b298-4a21-8616-36c4deb28bf7" }, { "type": "route", "uuid": "189864e0-fa06-4754-960c-4663ceeba080" }, { "type": "route", "uuid": "c88a8fa7-46cd-4d9c-8f49-4c5d39957060" }, { "type": "route", "uuid": "5d676d63-f5ce-4e12-ac35-8d323b7ecfc0" }, { "type": "route", "uuid": "23a17279-3034-4737-a389-66dc5feaed3a" }, { "type": "route", "uuid": "93d32985-eddd-47e9-92dc-d27bce645d10" }, { "type": "route", "uuid": "a534354f-5942-456c-8b18-8730719beba5" }, { "type": "route", "uuid": "d7c6d33d-7ba6-4dbb-bf6f-91ff7c1184da" }, { "type": "route", "uuid": "28c9f7f4-76e9-493a-932f-dd28d7e58e80" }, { "type": "route", "uuid": "f98314cb-388b-4627-a74b-90b4e7564ef9" }, { "type": "route", "uuid": "436d50f7-c2a2-44c4-a10b-b1205c24b9ee" } ] }