zou 0.20.67__py3-none-any.whl → 0.20.68__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 +41 -41
- 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 +143 -143
- 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 +134 -134
- zou/app/blueprints/user/resources.py +87 -87
- {zou-0.20.67.dist-info → zou-0.20.68.dist-info}/METADATA +2 -2
- {zou-0.20.67.dist-info → zou-0.20.68.dist-info}/RECORD +45 -45
- {zou-0.20.67.dist-info → zou-0.20.68.dist-info}/WHEEL +0 -0
- {zou-0.20.67.dist-info → zou-0.20.68.dist-info}/entry_points.txt +0 -0
- {zou-0.20.67.dist-info → zou-0.20.68.dist-info}/licenses/LICENSE +0 -0
- {zou-0.20.67.dist-info → zou-0.20.68.dist-info}/top_level.txt +0 -0
|
@@ -27,14 +27,14 @@ class CastingResource(Resource):
|
|
|
27
27
|
name: project_id
|
|
28
28
|
required: True
|
|
29
29
|
type: string
|
|
30
|
-
format:
|
|
31
|
-
|
|
30
|
+
format: uuid
|
|
31
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
32
32
|
- in: path
|
|
33
33
|
name: entity_id
|
|
34
34
|
required: True
|
|
35
35
|
type: string
|
|
36
|
-
format:
|
|
37
|
-
|
|
36
|
+
format: uuid
|
|
37
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
38
38
|
responses:
|
|
39
39
|
200:
|
|
40
40
|
description: Casting of given entity
|
|
@@ -54,14 +54,14 @@ class CastingResource(Resource):
|
|
|
54
54
|
name: project_id
|
|
55
55
|
required: True
|
|
56
56
|
type: string
|
|
57
|
-
format:
|
|
58
|
-
|
|
57
|
+
format: uuid
|
|
58
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
59
59
|
- in: path
|
|
60
60
|
name: entity_id
|
|
61
61
|
required: True
|
|
62
62
|
type: string
|
|
63
|
-
format:
|
|
64
|
-
|
|
63
|
+
format: uuid
|
|
64
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
65
65
|
responses:
|
|
66
66
|
200:
|
|
67
67
|
description: Modification of assets linked to an entity
|
|
@@ -84,8 +84,8 @@ class EpisodesCastingResource(Resource):
|
|
|
84
84
|
name: project_id
|
|
85
85
|
required: True
|
|
86
86
|
type: string
|
|
87
|
-
format:
|
|
88
|
-
|
|
87
|
+
format: uuid
|
|
88
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
89
89
|
responses:
|
|
90
90
|
200:
|
|
91
91
|
description: Casting of episodes
|
|
@@ -107,14 +107,14 @@ class EpisodeSequenceAllCastingResource(Resource):
|
|
|
107
107
|
name: project_id
|
|
108
108
|
required: True
|
|
109
109
|
type: string
|
|
110
|
-
format:
|
|
111
|
-
|
|
110
|
+
format: uuid
|
|
111
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
112
112
|
- in: path
|
|
113
113
|
name: episode_id
|
|
114
114
|
required: True
|
|
115
115
|
type: string
|
|
116
|
-
format:
|
|
117
|
-
|
|
116
|
+
format: uuid
|
|
117
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
118
118
|
responses:
|
|
119
119
|
200:
|
|
120
120
|
description: Casting for all shots from given episode.
|
|
@@ -139,8 +139,8 @@ class SequenceAllCastingResource(Resource):
|
|
|
139
139
|
name: project_id
|
|
140
140
|
required: True
|
|
141
141
|
type: string
|
|
142
|
-
format:
|
|
143
|
-
|
|
142
|
+
format: uuid
|
|
143
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
144
144
|
responses:
|
|
145
145
|
200:
|
|
146
146
|
description: Casting for all shots from given project.
|
|
@@ -162,14 +162,14 @@ class SequenceCastingResource(Resource):
|
|
|
162
162
|
name: project_id
|
|
163
163
|
required: True
|
|
164
164
|
type: string
|
|
165
|
-
format:
|
|
166
|
-
|
|
165
|
+
format: uuid
|
|
166
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
167
167
|
- in: path
|
|
168
168
|
name: sequence_id
|
|
169
169
|
required: True
|
|
170
170
|
type: string
|
|
171
|
-
format:
|
|
172
|
-
|
|
171
|
+
format: uuid
|
|
172
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
173
173
|
responses:
|
|
174
174
|
200:
|
|
175
175
|
description: Casting of shots from given sequence
|
|
@@ -192,14 +192,14 @@ class AssetTypeCastingResource(Resource):
|
|
|
192
192
|
name: project_id
|
|
193
193
|
required: True
|
|
194
194
|
type: string
|
|
195
|
-
format:
|
|
196
|
-
|
|
195
|
+
format: uuid
|
|
196
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
197
197
|
- in: path
|
|
198
198
|
name: asset_type_id
|
|
199
199
|
required: True
|
|
200
200
|
type: string
|
|
201
|
-
format:
|
|
202
|
-
|
|
201
|
+
format: uuid
|
|
202
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
203
203
|
responses:
|
|
204
204
|
200:
|
|
205
205
|
description: Casting of assets from given asset type
|
|
@@ -224,8 +224,8 @@ class ShotAssetInstancesResource(Resource, ArgsMixin):
|
|
|
224
224
|
name: shot_id
|
|
225
225
|
required: True
|
|
226
226
|
type: string
|
|
227
|
-
format:
|
|
228
|
-
|
|
227
|
+
format: uuid
|
|
228
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
229
229
|
responses:
|
|
230
230
|
200:
|
|
231
231
|
description: All assets linked to shot
|
|
@@ -246,8 +246,8 @@ class ShotAssetInstancesResource(Resource, ArgsMixin):
|
|
|
246
246
|
name: shot_id
|
|
247
247
|
required: True
|
|
248
248
|
type: string
|
|
249
|
-
format:
|
|
250
|
-
|
|
249
|
+
format: uuid
|
|
250
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
251
251
|
responses:
|
|
252
252
|
201:
|
|
253
253
|
description: Asset instance added to given shot
|
|
@@ -275,14 +275,14 @@ class RemoveShotAssetInstanceResource(Resource, ArgsMixin):
|
|
|
275
275
|
name: shot_id
|
|
276
276
|
required: True
|
|
277
277
|
type: string
|
|
278
|
-
format:
|
|
279
|
-
|
|
278
|
+
format: uuid
|
|
279
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
280
280
|
- in: path
|
|
281
281
|
name: asset_instance_id
|
|
282
282
|
required: True
|
|
283
283
|
type: string
|
|
284
|
-
format:
|
|
285
|
-
|
|
284
|
+
format: uuid
|
|
285
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
286
286
|
responses:
|
|
287
287
|
204:
|
|
288
288
|
description: Asset instance removed from given shot
|
|
@@ -308,8 +308,8 @@ class SceneAssetInstancesResource(Resource, ArgsMixin):
|
|
|
308
308
|
name: scene_id
|
|
309
309
|
required: True
|
|
310
310
|
type: string
|
|
311
|
-
format:
|
|
312
|
-
|
|
311
|
+
format: uuid
|
|
312
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
313
313
|
responses:
|
|
314
314
|
200:
|
|
315
315
|
description: All asset instances linked to given scene
|
|
@@ -330,8 +330,8 @@ class SceneAssetInstancesResource(Resource, ArgsMixin):
|
|
|
330
330
|
name: scene_id
|
|
331
331
|
required: True
|
|
332
332
|
type: string
|
|
333
|
-
format:
|
|
334
|
-
|
|
333
|
+
format: uuid
|
|
334
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
335
335
|
responses:
|
|
336
336
|
201:
|
|
337
337
|
description: Asset instances created on given scene
|
|
@@ -361,8 +361,8 @@ class SceneCameraInstancesResource(Resource):
|
|
|
361
361
|
name: scene_id
|
|
362
362
|
required: True
|
|
363
363
|
type: string
|
|
364
|
-
format:
|
|
365
|
-
|
|
364
|
+
format: uuid
|
|
365
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
366
366
|
responses:
|
|
367
367
|
201:
|
|
368
368
|
description: All camera instances linked to scene
|
|
@@ -390,26 +390,26 @@ class ProjectEntityLinksResource(Resource, ArgsMixin):
|
|
|
390
390
|
name: project_id
|
|
391
391
|
required: True
|
|
392
392
|
type: string
|
|
393
|
-
format:
|
|
394
|
-
|
|
393
|
+
format: uuid
|
|
394
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
395
395
|
- in: query
|
|
396
396
|
name: page
|
|
397
397
|
required: False
|
|
398
398
|
type: string
|
|
399
399
|
format: Number
|
|
400
|
-
|
|
400
|
+
example: 2
|
|
401
401
|
- in: query
|
|
402
402
|
name: limit
|
|
403
403
|
required: False
|
|
404
404
|
type: string
|
|
405
405
|
format: Number
|
|
406
|
-
|
|
406
|
+
example: 100
|
|
407
407
|
- in: query
|
|
408
408
|
name: cursor_created_at
|
|
409
409
|
required: False
|
|
410
410
|
type: string
|
|
411
411
|
format: Datetime
|
|
412
|
-
|
|
412
|
+
example: 2020-01-01T00:00:00
|
|
413
413
|
responses:
|
|
414
414
|
200:
|
|
415
415
|
description: All entity links related to given project
|
|
@@ -441,14 +441,14 @@ class ProjectEntityLinkResource(Resource):
|
|
|
441
441
|
name: project_id
|
|
442
442
|
required: True
|
|
443
443
|
type: string
|
|
444
|
-
format:
|
|
445
|
-
|
|
444
|
+
format: uuid
|
|
445
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
446
446
|
- in: path
|
|
447
447
|
name: entity_link_id
|
|
448
448
|
required: True
|
|
449
449
|
type: string
|
|
450
|
-
format:
|
|
451
|
-
|
|
450
|
+
format: uuid
|
|
451
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
452
452
|
responses:
|
|
453
453
|
200:
|
|
454
454
|
description: Entity link deleted
|
|
@@ -28,7 +28,7 @@ class ChatResource(Resource):
|
|
|
28
28
|
description: ID of the entity related to the chat
|
|
29
29
|
type: integer
|
|
30
30
|
required: true
|
|
31
|
-
|
|
31
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
32
32
|
responses:
|
|
33
33
|
200:
|
|
34
34
|
description: Chat information
|
|
@@ -56,7 +56,7 @@ class ChatMessagesResource(Resource):
|
|
|
56
56
|
description: ID of the entity related to the chat
|
|
57
57
|
type: integer
|
|
58
58
|
required: true
|
|
59
|
-
|
|
59
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
60
60
|
responses:
|
|
61
61
|
200:
|
|
62
62
|
description: Chat messages
|
|
@@ -79,13 +79,13 @@ class ChatMessagesResource(Resource):
|
|
|
79
79
|
description: ID of the entity related to the chat
|
|
80
80
|
type: integer
|
|
81
81
|
required: true
|
|
82
|
-
|
|
82
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
83
83
|
- in: body
|
|
84
84
|
name: message
|
|
85
85
|
description: Message to send
|
|
86
86
|
type: string
|
|
87
87
|
required: true
|
|
88
|
-
|
|
88
|
+
example: Hello, world!
|
|
89
89
|
- in: formData
|
|
90
90
|
name: files
|
|
91
91
|
description: Files to attach
|
|
@@ -143,13 +143,13 @@ class ChatMessageResource(Resource):
|
|
|
143
143
|
description: ID of the entity related to the chat
|
|
144
144
|
type: integer
|
|
145
145
|
required: true
|
|
146
|
-
|
|
146
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
147
147
|
- in: path
|
|
148
148
|
name: chat_message_id
|
|
149
149
|
description: ID of the chat message
|
|
150
150
|
type: integer
|
|
151
151
|
required: true
|
|
152
|
-
|
|
152
|
+
example: 1
|
|
153
153
|
responses:
|
|
154
154
|
200:
|
|
155
155
|
description: Chat message
|
|
@@ -172,13 +172,13 @@ class ChatMessageResource(Resource):
|
|
|
172
172
|
description: ID of the entity related to the chat
|
|
173
173
|
type: integer
|
|
174
174
|
required: true
|
|
175
|
-
|
|
175
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
176
176
|
- in: path
|
|
177
177
|
name: chat_message_id
|
|
178
178
|
description: ID of the chat message
|
|
179
179
|
type: integer
|
|
180
180
|
required: true
|
|
181
|
-
|
|
181
|
+
example: 1
|
|
182
182
|
responses:
|
|
183
183
|
204:
|
|
184
184
|
description: Empty response
|
|
@@ -37,13 +37,13 @@ class DownloadAttachmentResource(Resource):
|
|
|
37
37
|
name: attachment_file_id
|
|
38
38
|
required: True
|
|
39
39
|
type: string
|
|
40
|
-
format:
|
|
41
|
-
|
|
40
|
+
format: uuid
|
|
41
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
42
42
|
- in: path
|
|
43
43
|
name: file_name
|
|
44
44
|
required: True
|
|
45
45
|
type: string
|
|
46
|
-
|
|
46
|
+
example: filename
|
|
47
47
|
responses:
|
|
48
48
|
200:
|
|
49
49
|
description: Attachment file downloaded
|
|
@@ -109,14 +109,14 @@ class AckCommentResource(Resource):
|
|
|
109
109
|
name: task_id
|
|
110
110
|
required: True
|
|
111
111
|
type: string
|
|
112
|
-
format:
|
|
113
|
-
|
|
112
|
+
format: uuid
|
|
113
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
114
114
|
- in: path
|
|
115
115
|
name: comment_id
|
|
116
116
|
required: True
|
|
117
117
|
type: string
|
|
118
|
-
format:
|
|
119
|
-
|
|
118
|
+
format: uuid
|
|
119
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
120
120
|
responses:
|
|
121
121
|
200:
|
|
122
122
|
description: Comment acknowledged
|
|
@@ -148,8 +148,8 @@ class CommentTaskResource(Resource):
|
|
|
148
148
|
name: task_id
|
|
149
149
|
required: True
|
|
150
150
|
type: string
|
|
151
|
-
format:
|
|
152
|
-
|
|
151
|
+
format: uuid
|
|
152
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
153
153
|
- in: body
|
|
154
154
|
name: Comment
|
|
155
155
|
description: person ID, name, comment, revision and change status of task
|
|
@@ -160,13 +160,13 @@ class CommentTaskResource(Resource):
|
|
|
160
160
|
properties:
|
|
161
161
|
task_status_id:
|
|
162
162
|
type: string
|
|
163
|
-
format:
|
|
163
|
+
format: uuid
|
|
164
164
|
example: a24a6ea4-ce75-4665-a070-57453082c25a4-ce75-4665-a070-57453082c25
|
|
165
165
|
comment:
|
|
166
166
|
type: string
|
|
167
167
|
person_id:
|
|
168
168
|
type: string
|
|
169
|
-
format:
|
|
169
|
+
format: uuid
|
|
170
170
|
example: a24a6ea4-ce75-4665-a070-57453082c25a4-ce75-4665-a070-57453082c25
|
|
171
171
|
created_at:
|
|
172
172
|
type: string
|
|
@@ -268,20 +268,20 @@ class AttachmentResource(Resource):
|
|
|
268
268
|
name: task_id
|
|
269
269
|
required: True
|
|
270
270
|
type: string
|
|
271
|
-
format:
|
|
272
|
-
|
|
271
|
+
format: uuid
|
|
272
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
273
273
|
- in: path
|
|
274
274
|
name: comment_id
|
|
275
275
|
required: True
|
|
276
276
|
type: string
|
|
277
|
-
format:
|
|
278
|
-
|
|
277
|
+
format: uuid
|
|
278
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
279
279
|
- in: path
|
|
280
280
|
name: attachment_id
|
|
281
281
|
required: True
|
|
282
282
|
type: string
|
|
283
|
-
format:
|
|
284
|
-
|
|
283
|
+
format: uuid
|
|
284
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
285
285
|
responses:
|
|
286
286
|
204:
|
|
287
287
|
description: Empty response
|
|
@@ -314,14 +314,14 @@ class AddAttachmentToCommentResource(Resource):
|
|
|
314
314
|
name: task_id
|
|
315
315
|
required: True
|
|
316
316
|
type: string
|
|
317
|
-
format:
|
|
318
|
-
|
|
317
|
+
format: uuid
|
|
318
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
319
319
|
- in: path
|
|
320
320
|
name: comment_id
|
|
321
321
|
required: True
|
|
322
322
|
type: string
|
|
323
|
-
format:
|
|
324
|
-
|
|
323
|
+
format: uuid
|
|
324
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
325
325
|
- in: formData
|
|
326
326
|
name: files
|
|
327
327
|
type: file
|
|
@@ -364,8 +364,8 @@ class CommentManyTasksResource(Resource):
|
|
|
364
364
|
name: project_id
|
|
365
365
|
required: True
|
|
366
366
|
type: string
|
|
367
|
-
format:
|
|
368
|
-
|
|
367
|
+
format: uuid
|
|
368
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
369
369
|
- in: body
|
|
370
370
|
name: Comment
|
|
371
371
|
description: person ID, name, comment, revision and change status of task
|
|
@@ -376,17 +376,17 @@ class CommentManyTasksResource(Resource):
|
|
|
376
376
|
properties:
|
|
377
377
|
task_status_id:
|
|
378
378
|
type: string
|
|
379
|
-
format:
|
|
379
|
+
format: uuid
|
|
380
380
|
example: a24a6ea4-ce75-4665-a070-57453082c25a4-ce75-4665-a070-57453082c25
|
|
381
381
|
comment:
|
|
382
382
|
type: string
|
|
383
383
|
person_id:
|
|
384
384
|
type: string
|
|
385
|
-
format:
|
|
385
|
+
format: uuid
|
|
386
386
|
example: a24a6ea4-ce75-4665-a070-57453082c25a4-ce75-4665-a070-57453082c25
|
|
387
387
|
object_id:
|
|
388
388
|
type: string
|
|
389
|
-
format:
|
|
389
|
+
format: uuid
|
|
390
390
|
example: a24a6ea4-ce75-4665-a070-57453082c25a4-ce75-4665-a070-57453082c25
|
|
391
391
|
created_at:
|
|
392
392
|
type: string
|
|
@@ -471,18 +471,18 @@ class ReplyCommentResource(Resource, ArgsMixin):
|
|
|
471
471
|
name: task_id
|
|
472
472
|
required: True
|
|
473
473
|
type: string
|
|
474
|
-
format:
|
|
475
|
-
|
|
474
|
+
format: uuid
|
|
475
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
476
476
|
- in: path
|
|
477
477
|
name: comment_id
|
|
478
478
|
required: True
|
|
479
479
|
type: string
|
|
480
|
-
format:
|
|
481
|
-
|
|
480
|
+
format: uuid
|
|
481
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
482
482
|
- in: formData
|
|
483
483
|
name: text
|
|
484
484
|
type: string
|
|
485
|
-
|
|
485
|
+
example: comment
|
|
486
486
|
responses:
|
|
487
487
|
200:
|
|
488
488
|
description: Reply to given comment
|
|
@@ -520,20 +520,20 @@ class DeleteReplyCommentResource(Resource):
|
|
|
520
520
|
name: task_id
|
|
521
521
|
required: True
|
|
522
522
|
type: string
|
|
523
|
-
format:
|
|
524
|
-
|
|
523
|
+
format: uuid
|
|
524
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
525
525
|
- in: path
|
|
526
526
|
name: comment_id
|
|
527
527
|
required: True
|
|
528
528
|
type: string
|
|
529
|
-
format:
|
|
530
|
-
|
|
529
|
+
format: uuid
|
|
530
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
531
531
|
- in: path
|
|
532
532
|
name: reply_id
|
|
533
533
|
required: True
|
|
534
534
|
type: string
|
|
535
|
-
format:
|
|
536
|
-
|
|
535
|
+
format: uuid
|
|
536
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
537
537
|
responses:
|
|
538
538
|
200:
|
|
539
539
|
description: Given comment reply deleted
|
|
@@ -558,8 +558,8 @@ class ProjectAttachmentFiles(Resource):
|
|
|
558
558
|
name: project_id
|
|
559
559
|
required: True
|
|
560
560
|
type: string
|
|
561
|
-
format:
|
|
562
|
-
|
|
561
|
+
format: uuid
|
|
562
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
563
563
|
responses:
|
|
564
564
|
200:
|
|
565
565
|
description: All attachment files related to given project
|
|
@@ -587,8 +587,8 @@ class TaskAttachmentFiles(Resource):
|
|
|
587
587
|
name: task_id
|
|
588
588
|
required: True
|
|
589
589
|
type: string
|
|
590
|
-
format:
|
|
591
|
-
|
|
590
|
+
format: uuid
|
|
591
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
592
592
|
responses:
|
|
593
593
|
200:
|
|
594
594
|
description: All attachment files related to given task
|
|
@@ -28,8 +28,8 @@ class ConceptResource(Resource, ArgsMixin):
|
|
|
28
28
|
name: concept_id
|
|
29
29
|
required: True
|
|
30
30
|
type: string
|
|
31
|
-
format:
|
|
32
|
-
|
|
31
|
+
format: uuid
|
|
32
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
33
33
|
responses:
|
|
34
34
|
200:
|
|
35
35
|
description: Given concept
|
|
@@ -56,8 +56,8 @@ class ConceptResource(Resource, ArgsMixin):
|
|
|
56
56
|
name: concept_id
|
|
57
57
|
required: True
|
|
58
58
|
type: string
|
|
59
|
-
format:
|
|
60
|
-
|
|
59
|
+
format: uuid
|
|
60
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
61
61
|
responses:
|
|
62
62
|
204:
|
|
63
63
|
description: Given concept deleted
|
|
@@ -86,14 +86,14 @@ class AllConceptsResource(Resource):
|
|
|
86
86
|
name: project_id
|
|
87
87
|
required: False
|
|
88
88
|
type: string
|
|
89
|
-
format:
|
|
90
|
-
|
|
89
|
+
format: uuid
|
|
90
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
91
91
|
- in: query
|
|
92
92
|
name: parent_id
|
|
93
93
|
required: False
|
|
94
94
|
type: string
|
|
95
|
-
format:
|
|
96
|
-
|
|
95
|
+
format: uuid
|
|
96
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
97
97
|
responses:
|
|
98
98
|
200:
|
|
99
99
|
description: All concept entries
|
|
@@ -121,8 +121,8 @@ class ConceptTaskTypesResource(Resource):
|
|
|
121
121
|
name: concept_id
|
|
122
122
|
required: True
|
|
123
123
|
type: string
|
|
124
|
-
format:
|
|
125
|
-
|
|
124
|
+
format: uuid
|
|
125
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
126
126
|
responses:
|
|
127
127
|
200:
|
|
128
128
|
description: All task types related to given concept
|
|
@@ -148,8 +148,8 @@ class ConceptTasksResource(Resource, ArgsMixin):
|
|
|
148
148
|
name: concept_id
|
|
149
149
|
required: True
|
|
150
150
|
type: string
|
|
151
|
-
format:
|
|
152
|
-
|
|
151
|
+
format: uuid
|
|
152
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
153
153
|
responses:
|
|
154
154
|
200:
|
|
155
155
|
description: All tasks related to given concept
|
|
@@ -180,8 +180,8 @@ class ConceptPreviewsResource(Resource):
|
|
|
180
180
|
name: concept_id
|
|
181
181
|
required: True
|
|
182
182
|
type: string
|
|
183
|
-
format:
|
|
184
|
-
|
|
183
|
+
format: uuid
|
|
184
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
185
185
|
responses:
|
|
186
186
|
200:
|
|
187
187
|
description: All previews related to given episode
|
|
@@ -207,8 +207,8 @@ class ConceptsAndTasksResource(Resource):
|
|
|
207
207
|
name: project_id
|
|
208
208
|
required: False
|
|
209
209
|
type: string
|
|
210
|
-
format:
|
|
211
|
-
|
|
210
|
+
format: uuid
|
|
211
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
212
212
|
responses:
|
|
213
213
|
200:
|
|
214
214
|
description: All concepts
|
|
@@ -236,8 +236,8 @@ class ProjectConceptsResource(Resource, ArgsMixin):
|
|
|
236
236
|
name: project_id
|
|
237
237
|
required: True
|
|
238
238
|
type: string
|
|
239
|
-
format:
|
|
240
|
-
|
|
239
|
+
format: uuid
|
|
240
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
241
241
|
responses:
|
|
242
242
|
200:
|
|
243
243
|
description: All concepts related to given project
|
|
@@ -265,21 +265,21 @@ class ProjectConceptsResource(Resource, ArgsMixin):
|
|
|
265
265
|
name: project_id
|
|
266
266
|
required: True
|
|
267
267
|
type: string
|
|
268
|
-
format:
|
|
269
|
-
|
|
268
|
+
format: uuid
|
|
269
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
270
270
|
- in: formData
|
|
271
271
|
name: name
|
|
272
272
|
required: True
|
|
273
273
|
type: string
|
|
274
|
-
|
|
274
|
+
example: Name of concept
|
|
275
275
|
- in: formData
|
|
276
276
|
name: description
|
|
277
277
|
type: string
|
|
278
|
-
|
|
278
|
+
example: Description of concept
|
|
279
279
|
- in: formData
|
|
280
280
|
name: entity_concept_links
|
|
281
281
|
type: list of UUIDs
|
|
282
|
-
|
|
282
|
+
example: ["a24a6ea4-ce75-4665-a070-57453082c25"]
|
|
283
283
|
responses:
|
|
284
284
|
201:
|
|
285
285
|
description: Concept created for given project
|
zou/app/blueprints/crud/base.py
CHANGED
|
@@ -324,8 +324,8 @@ class BaseModelResource(Resource, ArgsMixin):
|
|
|
324
324
|
name: instance_id
|
|
325
325
|
required: True
|
|
326
326
|
type: string
|
|
327
|
-
format:
|
|
328
|
-
|
|
327
|
+
format: uuid
|
|
328
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
329
329
|
responses:
|
|
330
330
|
200:
|
|
331
331
|
description: Model as a JSON object
|
|
@@ -376,8 +376,8 @@ class BaseModelResource(Resource, ArgsMixin):
|
|
|
376
376
|
name: instance_id
|
|
377
377
|
required: True
|
|
378
378
|
type: string
|
|
379
|
-
format:
|
|
380
|
-
|
|
379
|
+
format: uuid
|
|
380
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
381
381
|
- in: body
|
|
382
382
|
name: Model
|
|
383
383
|
schema:
|
|
@@ -441,8 +441,8 @@ class BaseModelResource(Resource, ArgsMixin):
|
|
|
441
441
|
name: instance_id
|
|
442
442
|
required: True
|
|
443
443
|
type: string
|
|
444
|
-
format:
|
|
445
|
-
|
|
444
|
+
format: uuid
|
|
445
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
446
446
|
responses:
|
|
447
447
|
204:
|
|
448
448
|
description: Model deleted
|
|
@@ -72,8 +72,8 @@ class OutputFileResource(BaseModelResource):
|
|
|
72
72
|
name: output_file_id
|
|
73
73
|
required: True
|
|
74
74
|
type: string
|
|
75
|
-
format:
|
|
76
|
-
|
|
75
|
+
format: uuid
|
|
76
|
+
example: a24a6ea4-ce75-4665-a070-57453082c25
|
|
77
77
|
responses:
|
|
78
78
|
200:
|
|
79
79
|
description: Model as a JSON object
|