-
Notifications
You must be signed in to change notification settings - Fork 0
/
postman.json
71 lines (71 loc) · 4.17 KB
/
postman.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"info": {
"_postman_id": "4f6ff5a5-0784-42bc-bc7c-60f9ee7946d7",
"name": "Rasbora v1.0.0",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "25555064"
},
"item": [
{
"name": "tasks/create",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"task_id\": null,\n \"task_label\": \"Name S3E7\",\n \"task_priority\": 0.0003,\n \"callback\": {\n \"callback_url\": \"https://rasbora.example.com/callback\",\n \"callback_data\": {\n \"example_any_value_1\": \"your_video_id:712477\",\n \"example_any_value_2\": \"your_video_table_name:videos\",\n \"example_any_value_3\": \"your_video_type:movies\"\n }\n },\n \"video_transcoder\": {\n \"input\": {\n \"input_file_system\": \"LocalStorage\",\n \"input_file_name\": \"1080p_1mb_demo.mp4\",\n \"input_file_path\": \"/Users/bluefin/Downloads\"\n },\n \"output\": {\n \"handler\": \"rasbora:/default.handler\",\n \"container\": \".mp4\",\n \"args\": [\n {\n \"video_source\": \"0:v\",\n \"audio_source\": \"0:a\",\n \"scale\": \"426:240\",\n \"quality\": \"240p\",\n \"profile\": \"high\",\n \"fps\": \"24\",\n \"ba\": \"49k\",\n \"ca\": \"aac\",\n \"bv\": \"162k\",\n \"cv\": \"libx264\"\n },\n {\n \"video_source\": \"0:v\",\n \"audio_source\": \"0:a\",\n \"scale\": \"640:360\",\n \"quality\": \"360P\",\n \"profile\": \"high\",\n \"fps\": \"24\",\n \"ba\": \"80k\",\n \"ca\": \"aac\",\n \"bv\": \"273k\",\n \"cv\": \"libx264\"\n },\n {\n \"video_source\": \"0:v\",\n \"audio_source\": \"0:a\",\n \"scale\": \"854:480\",\n \"quality\": \"480p\",\n \"profile\": \"high\",\n \"fps\": \"24\",\n \"ba\": \"120k\",\n \"ca\": \"aac\",\n \"bv\": \"425k\",\n \"cv\": \"libx264\"\n },\n {\n \"video_source\": \"0:v\",\n \"audio_source\": \"0:a\",\n \"scale\": \"1280:720\",\n \"quality\": \"720p\",\n \"profile\": \"high\",\n \"fps\": \"24\",\n \"ba\": \"160k\",\n \"ca\": \"aac\",\n \"bv\": \"828k\",\n \"cv\": \"libx264\"\n },\n {\n \"video_source\": \"0:v\",\n \"audio_source\": \"0:a\",\n \"scale\": \"1920:1080\",\n \"quality\": \"1080p\",\n \"profile\": \"high\",\n \"fps\": \"24\",\n \"ba\": \"160k\",\n \"ca\": \"aac\",\n \"bv\": \"2090k\",\n \"cv\": \"libx264\"\n }\n ]\n }\n }\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{endpoint}}/v1.0/tasks/create",
"host": [
"{{endpoint}}"
],
"path": [
"v1.0",
"tasks",
"create"
]
}
},
"response": []
}
],
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
],
"variable": [
{
"key": "endpoint",
"value": "http://localhost:3701",
"type": "string"
}
]
}