You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
This returns a`zencoder.Response` object. The body includes a Job ID, and one or more Output IDs (one for every output file created).
41
41
42
42
```python
43
-
response=zen.job.create('s3://bucket/key.mp4')
43
+
response=client.job.create('s3://bucket/key.mp4')
44
44
response.code# 201
45
45
response.body['id']# 12345
46
46
```
@@ -50,39 +50,40 @@ response.body['id'] # 12345
50
50
By default the jobs listing is paginated with 50 jobs per page and sorted by ID in descending order. You can pass two parameters to control the paging:`page` and`per_page`.
51
51
52
52
```python
53
-
zen.job.list(per_page=10)
54
-
zen.job.list(per_page=10,page=2)
53
+
client.job.list(per_page=10)
54
+
client.job.list(per_page=10,page=2)
55
55
```
56
56
57
57
Get[details](https://app.zencoder.com/docs/api/jobs/show) about a job.
58
58
59
59
The number passed to`details` is the ID of a Zencoder job.
60
60
61
61
```python
62
-
zen.job.details(1)
62
+
client.job.details(1)
63
63
```
64
64
65
65
Get[progress](https://app.zencoder.com/docs/api/jobs/progress) on a job.
66
66
67
67
The number passed to`progress` is the ID of a Zencoder job.
68
68
69
69
```python
70
-
zen.job.progress(1)
70
+
client.job.progress(1)
71
71
```
72
72
73
73
[Resubmit](https://app.zencoder.com/docs/api/jobs/resubmit) a job
74
74
75
75
The number passed to`resubmit` is the ID of a Zencoder job.
76
76
77
77
```python
78
-
zen.job.resubmit(1)
78
+
client.job.resubmit(1)
79
79
```
80
80
81
81
[Cancel](https://app.zencoder.com/docs/api/jobs/cancel) a job
82
82
83
83
The number passed to`cancel` is the ID of a Zencoder job.