zou 0.20.67__py3-none-any.whl → 0.20.69__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- zou/__init__.py +1 -1
- zou/app/blueprints/assets/resources.py +134 -91
- zou/app/blueprints/auth/resources.py +6 -6
- zou/app/blueprints/breakdown/resources.py +47 -47
- zou/app/blueprints/chats/resources.py +8 -8
- zou/app/blueprints/comments/resources.py +62 -49
- zou/app/blueprints/concepts/resources.py +23 -23
- zou/app/blueprints/crud/base.py +6 -6
- zou/app/blueprints/crud/output_file.py +2 -2
- zou/app/blueprints/crud/output_type.py +2 -2
- zou/app/blueprints/crud/preview_file.py +2 -2
- zou/app/blueprints/crud/software.py +2 -2
- zou/app/blueprints/crud/working_file.py +2 -2
- zou/app/blueprints/departments/resources.py +20 -20
- zou/app/blueprints/edits/resources.py +33 -33
- zou/app/blueprints/entities/resources.py +8 -8
- zou/app/blueprints/events/resources.py +7 -7
- zou/app/blueprints/export/csv/assets.py +2 -2
- zou/app/blueprints/export/csv/casting.py +2 -2
- zou/app/blueprints/export/csv/edits.py +2 -2
- zou/app/blueprints/export/csv/playlists.py +2 -2
- zou/app/blueprints/export/csv/shots.py +2 -2
- zou/app/blueprints/files/resources.py +123 -123
- zou/app/blueprints/news/resources.py +28 -28
- zou/app/blueprints/persons/resources.py +75 -75
- zou/app/blueprints/playlists/resources.py +37 -37
- zou/app/blueprints/previews/resources.py +36 -36
- zou/app/blueprints/projects/resources.py +159 -159
- zou/app/blueprints/search/resources.py +3 -3
- zou/app/blueprints/shots/resources.py +250 -198
- zou/app/blueprints/source/csv/assets.py +2 -2
- zou/app/blueprints/source/csv/casting.py +2 -2
- zou/app/blueprints/source/csv/edits.py +2 -2
- zou/app/blueprints/source/csv/shots.py +2 -2
- zou/app/blueprints/source/csv/task_type_estimations.py +10 -10
- zou/app/blueprints/source/otio.py +6 -6
- zou/app/blueprints/source/shotgun/import_errors.py +2 -2
- zou/app/blueprints/tasks/resources.py +135 -135
- zou/app/blueprints/user/resources.py +87 -87
- zou/app/models/attachment_file.py +4 -0
- zou/app/services/comments_service.py +41 -9
- zou/app/services/tasks_service.py +1 -0
- zou/migrations/versions/1b0ab951adca_add_reply_id_to_attachments.py +44 -0
- {zou-0.20.67.dist-info → zou-0.20.69.dist-info}/METADATA +5 -5
- {zou-0.20.67.dist-info → zou-0.20.69.dist-info}/RECORD +49 -48
- {zou-0.20.67.dist-info → zou-0.20.69.dist-info}/WHEEL +0 -0
- {zou-0.20.67.dist-info → zou-0.20.69.dist-info}/entry_points.txt +0 -0
- {zou-0.20.67.dist-info → zou-0.20.69.dist-info}/licenses/LICENSE +0 -0
- {zou-0.20.67.dist-info → zou-0.20.69.dist-info}/top_level.txt +0 -0
|
@@ -36,8 +36,8 @@ class ShotResource(Resource, ArgsMixin):
|
|
|
36
36
|
name: shot_id
|
|
37
37
|
required: True
|
|
38
38
|
type: string
|
|
39
|
-
format:
|
|
40
|
-
|
|
39
|
+
format: uuid
|
|
40
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
41
41
|
responses:
|
|
42
42
|
200:
|
|
43
43
|
description: Given shot
|
|
@@ -62,12 +62,15 @@ class ShotResource(Resource, ArgsMixin):
|
|
|
62
62
|
name: shot_id
|
|
63
63
|
required: True
|
|
64
64
|
type: string
|
|
65
|
-
format:
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
65
|
+
format: uuid
|
|
66
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
67
|
+
requestBody:
|
|
68
|
+
required: true
|
|
69
|
+
content:
|
|
70
|
+
application/json:
|
|
71
|
+
schema:
|
|
72
|
+
type: object
|
|
73
|
+
description: Shot data to update
|
|
71
74
|
responses:
|
|
72
75
|
200:
|
|
73
76
|
description: Update given shot
|
|
@@ -108,8 +111,8 @@ class ShotResource(Resource, ArgsMixin):
|
|
|
108
111
|
name: shot_id
|
|
109
112
|
required: True
|
|
110
113
|
type: string
|
|
111
|
-
format:
|
|
112
|
-
|
|
114
|
+
format: uuid
|
|
115
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
113
116
|
responses:
|
|
114
117
|
204:
|
|
115
118
|
description: Given shot deleted
|
|
@@ -137,8 +140,8 @@ class SceneResource(Resource):
|
|
|
137
140
|
name: scene_id
|
|
138
141
|
required: True
|
|
139
142
|
type: string
|
|
140
|
-
format:
|
|
141
|
-
|
|
143
|
+
format: uuid
|
|
144
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
142
145
|
responses:
|
|
143
146
|
200:
|
|
144
147
|
description: Given scene
|
|
@@ -160,8 +163,8 @@ class SceneResource(Resource):
|
|
|
160
163
|
name: scene_id
|
|
161
164
|
required: True
|
|
162
165
|
type: string
|
|
163
|
-
format:
|
|
164
|
-
|
|
166
|
+
format: uuid
|
|
167
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
165
168
|
responses:
|
|
166
169
|
204:
|
|
167
170
|
description: Given scene deleted
|
|
@@ -189,20 +192,20 @@ class ShotsResource(Resource):
|
|
|
189
192
|
name: sequence_id
|
|
190
193
|
required: False
|
|
191
194
|
type: string
|
|
192
|
-
format:
|
|
193
|
-
|
|
195
|
+
format: uuid
|
|
196
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
194
197
|
- in: query
|
|
195
198
|
name: project_id
|
|
196
199
|
required: False
|
|
197
200
|
type: string
|
|
198
|
-
format:
|
|
199
|
-
|
|
201
|
+
format: uuid
|
|
202
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
200
203
|
- in: query
|
|
201
204
|
name: parent_id
|
|
202
205
|
required: False
|
|
203
206
|
type: string
|
|
204
|
-
format:
|
|
205
|
-
|
|
207
|
+
format: uuid
|
|
208
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
206
209
|
responses:
|
|
207
210
|
200:
|
|
208
211
|
description: All shot entries
|
|
@@ -235,20 +238,20 @@ class AllShotsResource(Resource):
|
|
|
235
238
|
name: sequence_id
|
|
236
239
|
required: False
|
|
237
240
|
type: string
|
|
238
|
-
format:
|
|
239
|
-
|
|
241
|
+
format: uuid
|
|
242
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
240
243
|
- in: query
|
|
241
244
|
name: project_id
|
|
242
245
|
required: False
|
|
243
246
|
type: string
|
|
244
|
-
format:
|
|
245
|
-
|
|
247
|
+
format: uuid
|
|
248
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
246
249
|
- in: query
|
|
247
250
|
name: parent_id
|
|
248
251
|
required: False
|
|
249
252
|
type: string
|
|
250
|
-
format:
|
|
251
|
-
|
|
253
|
+
format: uuid
|
|
254
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
252
255
|
responses:
|
|
253
256
|
200:
|
|
254
257
|
description: All shot entries
|
|
@@ -281,8 +284,8 @@ class ScenesResource(Resource):
|
|
|
281
284
|
name: project_id
|
|
282
285
|
required: False
|
|
283
286
|
type: string
|
|
284
|
-
format:
|
|
285
|
-
|
|
287
|
+
format: uuid
|
|
288
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
286
289
|
responses:
|
|
287
290
|
200:
|
|
288
291
|
description: All scene entries
|
|
@@ -305,8 +308,8 @@ class ShotAssetsResource(Resource):
|
|
|
305
308
|
name: shot_id
|
|
306
309
|
required: True
|
|
307
310
|
type: string
|
|
308
|
-
format:
|
|
309
|
-
|
|
311
|
+
format: uuid
|
|
312
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
310
313
|
responses:
|
|
311
314
|
200:
|
|
312
315
|
description: All assets for given shot
|
|
@@ -330,8 +333,8 @@ class ShotTaskTypesResource(Resource):
|
|
|
330
333
|
name: shot_id
|
|
331
334
|
required: True
|
|
332
335
|
type: string
|
|
333
|
-
format:
|
|
334
|
-
|
|
336
|
+
format: uuid
|
|
337
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
335
338
|
responses:
|
|
336
339
|
200:
|
|
337
340
|
description: All task types related to given shot
|
|
@@ -355,8 +358,8 @@ class ShotTasksResource(Resource, ArgsMixin):
|
|
|
355
358
|
name: shot_id
|
|
356
359
|
required: True
|
|
357
360
|
type: string
|
|
358
|
-
format:
|
|
359
|
-
|
|
361
|
+
format: uuid
|
|
362
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
360
363
|
responses:
|
|
361
364
|
200:
|
|
362
365
|
description: All tasks related to given shot
|
|
@@ -381,8 +384,8 @@ class SequenceShotTasksResource(Resource, ArgsMixin):
|
|
|
381
384
|
name: sequence_id
|
|
382
385
|
required: True
|
|
383
386
|
type: string
|
|
384
|
-
format:
|
|
385
|
-
|
|
387
|
+
format: uuid
|
|
388
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
386
389
|
responses:
|
|
387
390
|
200:
|
|
388
391
|
description: All task types related to given sequence
|
|
@@ -411,8 +414,8 @@ class EpisodeShotTasksResource(Resource, ArgsMixin):
|
|
|
411
414
|
name: episode_id
|
|
412
415
|
required: True
|
|
413
416
|
type: string
|
|
414
|
-
format:
|
|
415
|
-
|
|
417
|
+
format: uuid
|
|
418
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
416
419
|
responses:
|
|
417
420
|
200:
|
|
418
421
|
description: All shots tasks related to given episode
|
|
@@ -441,8 +444,8 @@ class EpisodeAssetTasksResource(Resource, ArgsMixin):
|
|
|
441
444
|
name: episode_id
|
|
442
445
|
required: True
|
|
443
446
|
type: string
|
|
444
|
-
format:
|
|
445
|
-
|
|
447
|
+
format: uuid
|
|
448
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
446
449
|
responses:
|
|
447
450
|
200:
|
|
448
451
|
description: All assets tasks related to given episode
|
|
@@ -471,8 +474,8 @@ class EpisodeShotsResource(Resource, ArgsMixin):
|
|
|
471
474
|
name: episode_id
|
|
472
475
|
required: True
|
|
473
476
|
type: string
|
|
474
|
-
format:
|
|
475
|
-
|
|
477
|
+
format: uuid
|
|
478
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
476
479
|
responses:
|
|
477
480
|
200:
|
|
478
481
|
description: All shots related to given episode
|
|
@@ -501,8 +504,8 @@ class ShotPreviewsResource(Resource):
|
|
|
501
504
|
name: shot_id
|
|
502
505
|
required: True
|
|
503
506
|
type: string
|
|
504
|
-
format:
|
|
505
|
-
|
|
507
|
+
format: uuid
|
|
508
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
506
509
|
responses:
|
|
507
510
|
200:
|
|
508
511
|
description: All previews related to given episode
|
|
@@ -526,8 +529,8 @@ class SequenceTasksResource(Resource, ArgsMixin):
|
|
|
526
529
|
name: sequence_id
|
|
527
530
|
required: True
|
|
528
531
|
type: string
|
|
529
|
-
format:
|
|
530
|
-
|
|
532
|
+
format: uuid
|
|
533
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
531
534
|
responses:
|
|
532
535
|
200:
|
|
533
536
|
description: All tasks related to given shot
|
|
@@ -553,8 +556,8 @@ class SequenceTaskTypesResource(Resource):
|
|
|
553
556
|
name: sequence_id
|
|
554
557
|
required: True
|
|
555
558
|
type: string
|
|
556
|
-
format:
|
|
557
|
-
|
|
559
|
+
format: uuid
|
|
560
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
558
561
|
responses:
|
|
559
562
|
200:
|
|
560
563
|
description: All task types related to given shot
|
|
@@ -578,8 +581,8 @@ class ShotsAndTasksResource(Resource):
|
|
|
578
581
|
name: project_id
|
|
579
582
|
required: False
|
|
580
583
|
type: string
|
|
581
|
-
format:
|
|
582
|
-
|
|
584
|
+
format: uuid
|
|
585
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
583
586
|
responses:
|
|
584
587
|
200:
|
|
585
588
|
description: All shots
|
|
@@ -610,8 +613,8 @@ class SceneAndTasksResource(Resource):
|
|
|
610
613
|
name: project_id
|
|
611
614
|
required: False
|
|
612
615
|
type: string
|
|
613
|
-
format:
|
|
614
|
-
|
|
616
|
+
format: uuid
|
|
617
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
615
618
|
responses:
|
|
616
619
|
200:
|
|
617
620
|
description: All scenes
|
|
@@ -635,8 +638,8 @@ class SequenceAndTasksResource(Resource):
|
|
|
635
638
|
name: project_id
|
|
636
639
|
required: False
|
|
637
640
|
type: string
|
|
638
|
-
format:
|
|
639
|
-
|
|
641
|
+
format: uuid
|
|
642
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
640
643
|
responses:
|
|
641
644
|
200:
|
|
642
645
|
description: All sequences
|
|
@@ -660,8 +663,8 @@ class EpisodeAndTasksResource(Resource):
|
|
|
660
663
|
name: project_id
|
|
661
664
|
required: False
|
|
662
665
|
type: string
|
|
663
|
-
format:
|
|
664
|
-
|
|
666
|
+
format: uuid
|
|
667
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
665
668
|
responses:
|
|
666
669
|
200:
|
|
667
670
|
description: All episodes
|
|
@@ -685,8 +688,8 @@ class ProjectShotsResource(Resource, ArgsMixin):
|
|
|
685
688
|
name: project_id
|
|
686
689
|
required: True
|
|
687
690
|
type: string
|
|
688
|
-
format:
|
|
689
|
-
|
|
691
|
+
format: uuid
|
|
692
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
690
693
|
responses:
|
|
691
694
|
200:
|
|
692
695
|
description: All shots related to given project
|
|
@@ -709,25 +712,34 @@ class ProjectShotsResource(Resource, ArgsMixin):
|
|
|
709
712
|
name: project_id
|
|
710
713
|
required: True
|
|
711
714
|
type: string
|
|
712
|
-
format:
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
715
|
+
format: uuid
|
|
716
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
717
|
+
requestBody:
|
|
718
|
+
required: true
|
|
719
|
+
content:
|
|
720
|
+
application/json:
|
|
721
|
+
schema:
|
|
722
|
+
type: object
|
|
723
|
+
required:
|
|
724
|
+
- name
|
|
725
|
+
properties:
|
|
726
|
+
name:
|
|
727
|
+
type: string
|
|
728
|
+
required: true
|
|
729
|
+
example: "Name of shot"
|
|
730
|
+
description:
|
|
731
|
+
type: string
|
|
732
|
+
required: false
|
|
733
|
+
example: "Description of shot"
|
|
734
|
+
sequence_id:
|
|
735
|
+
type: string
|
|
736
|
+
format: uuid
|
|
737
|
+
required: false
|
|
738
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
739
|
+
nb_frames:
|
|
740
|
+
type: integer
|
|
741
|
+
required: false
|
|
742
|
+
example: 24
|
|
731
743
|
responses:
|
|
732
744
|
201:
|
|
733
745
|
description: Shot created for given project
|
|
@@ -786,8 +798,8 @@ class ProjectSequencesResource(Resource, ArgsMixin):
|
|
|
786
798
|
name: project_id
|
|
787
799
|
required: True
|
|
788
800
|
type: string
|
|
789
|
-
format:
|
|
790
|
-
|
|
801
|
+
format: uuid
|
|
802
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
791
803
|
responses:
|
|
792
804
|
200:
|
|
793
805
|
description: All sequences related to given project
|
|
@@ -810,18 +822,26 @@ class ProjectSequencesResource(Resource, ArgsMixin):
|
|
|
810
822
|
name: project_id
|
|
811
823
|
required: True
|
|
812
824
|
type: string
|
|
813
|
-
format:
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
+
format: uuid
|
|
826
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
827
|
+
requestBody:
|
|
828
|
+
required: true
|
|
829
|
+
content:
|
|
830
|
+
application/json:
|
|
831
|
+
schema:
|
|
832
|
+
type: object
|
|
833
|
+
required:
|
|
834
|
+
- name
|
|
835
|
+
properties:
|
|
836
|
+
name:
|
|
837
|
+
type: string
|
|
838
|
+
required: true
|
|
839
|
+
example: "Name of sequence"
|
|
840
|
+
episode_id:
|
|
841
|
+
type: string
|
|
842
|
+
format: uuid
|
|
843
|
+
required: false
|
|
844
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
825
845
|
responses:
|
|
826
846
|
201:
|
|
827
847
|
description: Sequence created for given project
|
|
@@ -870,8 +890,8 @@ class ProjectEpisodesResource(Resource, ArgsMixin):
|
|
|
870
890
|
name: project_id
|
|
871
891
|
required: True
|
|
872
892
|
type: string
|
|
873
|
-
format:
|
|
874
|
-
|
|
893
|
+
format: uuid
|
|
894
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
875
895
|
responses:
|
|
876
896
|
200:
|
|
877
897
|
description: All episodes related to given project
|
|
@@ -894,18 +914,26 @@ class ProjectEpisodesResource(Resource, ArgsMixin):
|
|
|
894
914
|
name: project_id
|
|
895
915
|
required: True
|
|
896
916
|
type: string
|
|
897
|
-
format:
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
917
|
+
format: uuid
|
|
918
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
919
|
+
requestBody:
|
|
920
|
+
required: true
|
|
921
|
+
content:
|
|
922
|
+
application/json:
|
|
923
|
+
schema:
|
|
924
|
+
type: object
|
|
925
|
+
required:
|
|
926
|
+
- name
|
|
927
|
+
- description
|
|
928
|
+
properties:
|
|
929
|
+
name:
|
|
930
|
+
type: string
|
|
931
|
+
required: true
|
|
932
|
+
example: "Name of the episode"
|
|
933
|
+
description:
|
|
934
|
+
type: string
|
|
935
|
+
required: true
|
|
936
|
+
example: "Description of the episode"
|
|
909
937
|
responses:
|
|
910
938
|
201:
|
|
911
939
|
description: Episode created for given project
|
|
@@ -951,8 +979,8 @@ class ProjectEpisodeStatsResource(Resource):
|
|
|
951
979
|
name: project_id
|
|
952
980
|
required: True
|
|
953
981
|
type: string
|
|
954
|
-
format:
|
|
955
|
-
|
|
982
|
+
format: uuid
|
|
983
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
956
984
|
responses:
|
|
957
985
|
200:
|
|
958
986
|
description: Number of tasks by status, task types and episodes for given project
|
|
@@ -977,8 +1005,8 @@ class ProjectEpisodeRetakeStatsResource(Resource):
|
|
|
977
1005
|
name: project_id
|
|
978
1006
|
required: True
|
|
979
1007
|
type: string
|
|
980
|
-
format:
|
|
981
|
-
|
|
1008
|
+
format: uuid
|
|
1009
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
982
1010
|
responses:
|
|
983
1011
|
200:
|
|
984
1012
|
description: Number of tasks by status, task types and episodes for given project
|
|
@@ -1003,8 +1031,8 @@ class EpisodeResource(Resource, ArgsMixin):
|
|
|
1003
1031
|
name: episode_id
|
|
1004
1032
|
required: True
|
|
1005
1033
|
type: string
|
|
1006
|
-
format:
|
|
1007
|
-
|
|
1034
|
+
format: uuid
|
|
1035
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
1008
1036
|
responses:
|
|
1009
1037
|
200:
|
|
1010
1038
|
description: Given episode
|
|
@@ -1025,8 +1053,8 @@ class EpisodeResource(Resource, ArgsMixin):
|
|
|
1025
1053
|
name: episode_id
|
|
1026
1054
|
required: True
|
|
1027
1055
|
type: string
|
|
1028
|
-
format:
|
|
1029
|
-
|
|
1056
|
+
format: uuid
|
|
1057
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
1030
1058
|
responses:
|
|
1031
1059
|
204:
|
|
1032
1060
|
description: Given episode deleted
|
|
@@ -1055,8 +1083,8 @@ class EpisodesResource(Resource):
|
|
|
1055
1083
|
name: project_id
|
|
1056
1084
|
required: False
|
|
1057
1085
|
type: string
|
|
1058
|
-
format:
|
|
1059
|
-
|
|
1086
|
+
format: uuid
|
|
1087
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
1060
1088
|
responses:
|
|
1061
1089
|
200:
|
|
1062
1090
|
description: All episode entries
|
|
@@ -1080,14 +1108,14 @@ class EpisodeSequencesResource(Resource):
|
|
|
1080
1108
|
name: episode_id
|
|
1081
1109
|
required: True
|
|
1082
1110
|
type: string
|
|
1083
|
-
format:
|
|
1084
|
-
|
|
1111
|
+
format: uuid
|
|
1112
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
1085
1113
|
- in: query
|
|
1086
1114
|
name: project_id
|
|
1087
1115
|
required: False
|
|
1088
1116
|
type: string
|
|
1089
|
-
format:
|
|
1090
|
-
|
|
1117
|
+
format: uuid
|
|
1118
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
1091
1119
|
responses:
|
|
1092
1120
|
200:
|
|
1093
1121
|
description: All sequence entries for given episode
|
|
@@ -1119,8 +1147,8 @@ class EpisodeTaskTypesResource(Resource):
|
|
|
1119
1147
|
name: episode_id
|
|
1120
1148
|
required: True
|
|
1121
1149
|
type: string
|
|
1122
|
-
format:
|
|
1123
|
-
|
|
1150
|
+
format: uuid
|
|
1151
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
1124
1152
|
responses:
|
|
1125
1153
|
200:
|
|
1126
1154
|
description: All task types related to given episode
|
|
@@ -1143,8 +1171,8 @@ class EpisodeTasksResource(Resource):
|
|
|
1143
1171
|
name: episode_id
|
|
1144
1172
|
required: True
|
|
1145
1173
|
type: string
|
|
1146
|
-
format:
|
|
1147
|
-
|
|
1174
|
+
format: uuid
|
|
1175
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
1148
1176
|
responses:
|
|
1149
1177
|
200:
|
|
1150
1178
|
description: All tasks related to given episode
|
|
@@ -1167,8 +1195,8 @@ class SequenceResource(Resource, ArgsMixin):
|
|
|
1167
1195
|
name: sequence_id
|
|
1168
1196
|
required: True
|
|
1169
1197
|
type: string
|
|
1170
|
-
format:
|
|
1171
|
-
|
|
1198
|
+
format: uuid
|
|
1199
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
1172
1200
|
responses:
|
|
1173
1201
|
200:
|
|
1174
1202
|
description: Given sequence
|
|
@@ -1189,8 +1217,8 @@ class SequenceResource(Resource, ArgsMixin):
|
|
|
1189
1217
|
name: sequence_id
|
|
1190
1218
|
required: True
|
|
1191
1219
|
type: string
|
|
1192
|
-
format:
|
|
1193
|
-
|
|
1220
|
+
format: uuid
|
|
1221
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
1194
1222
|
responses:
|
|
1195
1223
|
204:
|
|
1196
1224
|
description: Given sequence deleted
|
|
@@ -1219,8 +1247,8 @@ class SequencesResource(Resource):
|
|
|
1219
1247
|
name: episode_id
|
|
1220
1248
|
required: False
|
|
1221
1249
|
type: string
|
|
1222
|
-
format:
|
|
1223
|
-
|
|
1250
|
+
format: uuid
|
|
1251
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
1224
1252
|
responses:
|
|
1225
1253
|
200:
|
|
1226
1254
|
description: All sequence entries
|
|
@@ -1249,14 +1277,14 @@ class SequenceShotsResource(Resource):
|
|
|
1249
1277
|
name: sequence_id
|
|
1250
1278
|
required: True
|
|
1251
1279
|
type: string
|
|
1252
|
-
format:
|
|
1253
|
-
|
|
1280
|
+
format: uuid
|
|
1281
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
1254
1282
|
- in: query
|
|
1255
1283
|
name: project_id
|
|
1256
1284
|
required: False
|
|
1257
1285
|
type: string
|
|
1258
|
-
format:
|
|
1259
|
-
|
|
1286
|
+
format: uuid
|
|
1287
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
1260
1288
|
responses:
|
|
1261
1289
|
200:
|
|
1262
1290
|
description: All shot entries for given sequence
|
|
@@ -1285,8 +1313,8 @@ class ProjectScenesResource(Resource, ArgsMixin):
|
|
|
1285
1313
|
name: project_id
|
|
1286
1314
|
required: True
|
|
1287
1315
|
type: string
|
|
1288
|
-
format:
|
|
1289
|
-
|
|
1316
|
+
format: uuid
|
|
1317
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
1290
1318
|
responses:
|
|
1291
1319
|
200:
|
|
1292
1320
|
description: All scenes related to given project
|
|
@@ -1307,19 +1335,27 @@ class ProjectScenesResource(Resource, ArgsMixin):
|
|
|
1307
1335
|
name: project_id
|
|
1308
1336
|
required: True
|
|
1309
1337
|
type: string
|
|
1310
|
-
format:
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1338
|
+
format: uuid
|
|
1339
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
1340
|
+
requestBody:
|
|
1341
|
+
required: true
|
|
1342
|
+
content:
|
|
1343
|
+
application/json:
|
|
1344
|
+
schema:
|
|
1345
|
+
type: object
|
|
1346
|
+
required:
|
|
1347
|
+
- name
|
|
1348
|
+
- sequence_id
|
|
1349
|
+
properties:
|
|
1350
|
+
name:
|
|
1351
|
+
type: string
|
|
1352
|
+
required: true
|
|
1353
|
+
example: "Name of scene"
|
|
1354
|
+
sequence_id:
|
|
1355
|
+
type: string
|
|
1356
|
+
format: uuid
|
|
1357
|
+
required: true
|
|
1358
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
1323
1359
|
responses:
|
|
1324
1360
|
201:
|
|
1325
1361
|
description: Scene created for given project
|
|
@@ -1356,8 +1392,8 @@ class SequenceScenesResource(Resource):
|
|
|
1356
1392
|
name: sequence_id
|
|
1357
1393
|
required: True
|
|
1358
1394
|
type: string
|
|
1359
|
-
format:
|
|
1360
|
-
|
|
1395
|
+
format: uuid
|
|
1396
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
1361
1397
|
responses:
|
|
1362
1398
|
200:
|
|
1363
1399
|
description: All scenes related to given sequence
|
|
@@ -1380,8 +1416,8 @@ class SceneTaskTypesResource(Resource):
|
|
|
1380
1416
|
name: scene_id
|
|
1381
1417
|
required: True
|
|
1382
1418
|
type: string
|
|
1383
|
-
format:
|
|
1384
|
-
|
|
1419
|
+
format: uuid
|
|
1420
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
1385
1421
|
responses:
|
|
1386
1422
|
200:
|
|
1387
1423
|
description: All task types related to given scene
|
|
@@ -1405,8 +1441,8 @@ class SceneTasksResource(Resource):
|
|
|
1405
1441
|
name: scene_id
|
|
1406
1442
|
required: True
|
|
1407
1443
|
type: string
|
|
1408
|
-
format:
|
|
1409
|
-
|
|
1444
|
+
format: uuid
|
|
1445
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
1410
1446
|
responses:
|
|
1411
1447
|
200:
|
|
1412
1448
|
description: All tasks related to given scene
|
|
@@ -1429,8 +1465,8 @@ class SceneShotsResource(Resource, ArgsMixin):
|
|
|
1429
1465
|
name: scene_id
|
|
1430
1466
|
required: True
|
|
1431
1467
|
type: string
|
|
1432
|
-
format:
|
|
1433
|
-
|
|
1468
|
+
format: uuid
|
|
1469
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
1434
1470
|
responses:
|
|
1435
1471
|
200:
|
|
1436
1472
|
description: All shots that come from given scene
|
|
@@ -1451,13 +1487,22 @@ class SceneShotsResource(Resource, ArgsMixin):
|
|
|
1451
1487
|
name: scene_id
|
|
1452
1488
|
required: True
|
|
1453
1489
|
type: string
|
|
1454
|
-
format:
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1490
|
+
format: uuid
|
|
1491
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
1492
|
+
requestBody:
|
|
1493
|
+
required: true
|
|
1494
|
+
content:
|
|
1495
|
+
application/json:
|
|
1496
|
+
schema:
|
|
1497
|
+
type: object
|
|
1498
|
+
required:
|
|
1499
|
+
- shot_id
|
|
1500
|
+
properties:
|
|
1501
|
+
shot_id:
|
|
1502
|
+
type: string
|
|
1503
|
+
format: uuid
|
|
1504
|
+
required: true
|
|
1505
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
1461
1506
|
responses:
|
|
1462
1507
|
200:
|
|
1463
1508
|
description: Given scene marked as source of given shot
|
|
@@ -1483,14 +1528,14 @@ class RemoveShotFromSceneResource(Resource):
|
|
|
1483
1528
|
name: scene_id
|
|
1484
1529
|
required: True
|
|
1485
1530
|
type: string
|
|
1486
|
-
format:
|
|
1487
|
-
|
|
1531
|
+
format: uuid
|
|
1532
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
1488
1533
|
- in: path
|
|
1489
1534
|
name: shot_id
|
|
1490
1535
|
required: True
|
|
1491
1536
|
type: string
|
|
1492
|
-
format:
|
|
1493
|
-
|
|
1537
|
+
format: uuid
|
|
1538
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
1494
1539
|
responses:
|
|
1495
1540
|
204:
|
|
1496
1541
|
description: Given shot deleted from given scene
|
|
@@ -1519,8 +1564,8 @@ class ShotVersionsResource(Resource):
|
|
|
1519
1564
|
name: shot_id
|
|
1520
1565
|
required: True
|
|
1521
1566
|
type: string
|
|
1522
|
-
format:
|
|
1523
|
-
|
|
1567
|
+
format: uuid
|
|
1568
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
1524
1569
|
responses:
|
|
1525
1570
|
204:
|
|
1526
1571
|
description: Data versions of given shot
|
|
@@ -1548,26 +1593,26 @@ class ProjectQuotasResource(Resource, ArgsMixin):
|
|
|
1548
1593
|
name: project_id
|
|
1549
1594
|
required: True
|
|
1550
1595
|
type: string
|
|
1551
|
-
format:
|
|
1552
|
-
|
|
1596
|
+
format: uuid
|
|
1597
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
1553
1598
|
- in: path
|
|
1554
1599
|
name: task_type_id
|
|
1555
1600
|
required: True
|
|
1556
1601
|
type: string
|
|
1557
|
-
format:
|
|
1558
|
-
|
|
1602
|
+
format: uuid
|
|
1603
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
1559
1604
|
- in: query
|
|
1560
1605
|
name: count_mode
|
|
1561
1606
|
required: True
|
|
1562
1607
|
type: string
|
|
1563
1608
|
enum: [weighted, weigtheddone, feedback, done]
|
|
1564
|
-
|
|
1609
|
+
example: weighted
|
|
1565
1610
|
- in: query
|
|
1566
1611
|
name: studio_id
|
|
1567
1612
|
required: False
|
|
1568
1613
|
type: string
|
|
1569
|
-
format:
|
|
1570
|
-
|
|
1614
|
+
format: uuid
|
|
1615
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
1571
1616
|
responses:
|
|
1572
1617
|
200:
|
|
1573
1618
|
description: Quotas statistics for shots
|
|
@@ -1622,26 +1667,26 @@ class ProjectPersonQuotasResource(Resource, ArgsMixin):
|
|
|
1622
1667
|
name: project_id
|
|
1623
1668
|
required: True
|
|
1624
1669
|
type: string
|
|
1625
|
-
format:
|
|
1626
|
-
|
|
1670
|
+
format: uuid
|
|
1671
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
1627
1672
|
- in: path
|
|
1628
1673
|
name: person_id
|
|
1629
1674
|
required: True
|
|
1630
1675
|
type: string
|
|
1631
|
-
format:
|
|
1632
|
-
|
|
1676
|
+
format: uuid
|
|
1677
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
1633
1678
|
- in: query
|
|
1634
1679
|
name: count_mode
|
|
1635
1680
|
required: True
|
|
1636
1681
|
type: string
|
|
1637
1682
|
enum: [weighted, weigtheddone, feedback, done]
|
|
1638
|
-
|
|
1683
|
+
example: weighted
|
|
1639
1684
|
- in: query
|
|
1640
1685
|
name: studio_id
|
|
1641
1686
|
required: False
|
|
1642
1687
|
type: string
|
|
1643
|
-
format:
|
|
1644
|
-
|
|
1688
|
+
format: uuid
|
|
1689
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
1645
1690
|
responses:
|
|
1646
1691
|
200:
|
|
1647
1692
|
description: Quotas statistics for shots
|
|
@@ -1696,21 +1741,28 @@ class SetShotsFramesResource(Resource, ArgsMixin):
|
|
|
1696
1741
|
---
|
|
1697
1742
|
tags:
|
|
1698
1743
|
- Shots
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1744
|
+
requestBody:
|
|
1745
|
+
required: true
|
|
1746
|
+
content:
|
|
1747
|
+
application/json:
|
|
1748
|
+
schema:
|
|
1749
|
+
type: object
|
|
1750
|
+
required:
|
|
1751
|
+
- shots
|
|
1752
|
+
properties:
|
|
1753
|
+
shots:
|
|
1754
|
+
type: array
|
|
1755
|
+
required: true
|
|
1756
|
+
items:
|
|
1757
|
+
type: object
|
|
1758
|
+
properties:
|
|
1759
|
+
shot_id:
|
|
1760
|
+
type: string
|
|
1761
|
+
format: uuid
|
|
1762
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
1763
|
+
nb_frames:
|
|
1764
|
+
type: integer
|
|
1765
|
+
example: 24
|
|
1714
1766
|
responses:
|
|
1715
1767
|
200:
|
|
1716
1768
|
description: Frames set for given shots
|