-
Notifications
You must be signed in to change notification settings - Fork 7
/
apiary.apib
3811 lines (3436 loc) · 90.8 KB
/
apiary.apib
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
HOST: http://localhost/yamj3/
--- YAMJ v3 ---
---
# Information on the API in use by YAMJ
This is the API for YAMJ.
Please log an issue on the GitHub Issue list if you find any problems, or want to request and additional API or change to an API.
***
The API can be called using the following base URL:
`http://{CORE_IP}/yamj3/`
`{CORE_IP}` is the address of where your jetty install is running, usually you can use `localhost`, but you can also look in the system info page on the YAMJ web pages.
## JSON & JSONP
If you require JSONP formatted data, you can call the URL and append the following:
.json?callback={function}
**Example**
http://localhost:8888/yamj3/api/video/1.json?callback={function}
## Using the API documentation
The documentation describes the way that the API can be called, along with an example of the data returned.
The URL provided is the base URL for calling that particular API.
Next will be listed some required parameters, all of which must be provided for the API to work.
Optional parameters can be provided, if required, to modify the results returned.
### Adding parameters to the URL
The first parameter that you add to the URL must be preceded by `?`, each subsequent parameter is preceded by `&`
**Example**
http://localhost:8888/yamj3/api/video/list?start=0&max=5
This adds the `start=0` parameter first and then `max=5` second. The `=` separates the parameter name from the value.
***
# Using paging for results
In most methods of the API you can use paging parameters to control the amount of data received back and effectively page through the results.
There are two ways to do this. The first way is to use the `start` and `max` parameters:
<table width="100%">
<col width="20%">
<col width="80%">
<tr>
<td>start</td>
<td>Where to start the result list from. Default is 0, the beginning</td>
</tr>
<tr>
<td>max</td>
<td>Maximum number of results to return. <br>
Note: The actual number of results returned may be less than the max parameter, indicating that you are at the end of the result list</td>
</tr>
</table>
An alternative way to page through the results is using the `page`, `line`, `perpage` & `perline` parameters.
This way of paging through the results assumes that you know the layout of a "page" for the skin.
<table width="100%">
<col width="20%">
<col width="80%">
<tr>
<td>page</td>
<td>The page number of the results that are wanted.</td>
</tr>
<tr>
<td>line</td>
<td>The line number on the page for the results that are wanted</td>
</tr>
<tr>
<td>perpage</td>
<td>How many entries per page</td>
</tr>
<tr>
<td>perline</td>
<td>How many entries per line</td>
</tr>
</table>
These are translated into `start` and `max` using the following methodology:
start = ( (page - 1) * perpage ) + ( (line - 1) * perline )
if line is set (i.e. >0)
max = perline
else
max = perpage
otherwise
max = default (no limit)
Methods that can use paging will be marked in the documentation.
**Only one of these methods should be used**
***
# Sorting the results
If the API method supports it, the results can be sorted using a simple asceding or descending sort.
<table width="100%">
<col width="20%">
<col width="80%">
<tr>
<td>sortby</td>
<td>The field to sort on.<br>
This is the name of the field in the database.</td>
</tr>
<tr>
<td>sortdir</td>
<td>The direction of the sorting. Can be either 'ASC' or 'DESC'</td>
</tr>
</table>
__Example__: `http://localhost:8888/yamj3/api/genres?sortby=name&sortdir=desc`
***
# Searching the results
If the API method supports it, the results can be searched on a specific field of the results.
This will limit the results returned to those matching that criteria.
<table width="100%">
<col width="20%">
<col width="80%">
<tr>
<td>field</td>
<td>The name of the field to search on<br>
This is the name of the field in the database.</td>
</tr>
<tr>
<td>search</td>
<td>The text to search for.<br>
Should be appropriate for the field being searched on.<br>
Searching on text for a numeric field will return no results!</td>
</tr>
<tr>
<td>mode</td>
<td>The mode of the search, i.e. where should the text be searched for in the field?<br>
Can be one of:<br>
<table width="100%">
<col width="15%">
<col width="85%">
<tr>
<td>ANY</td>
<td>This is the default and will match anywhere in the field</td>
</tr>
<tr>
<td>START</td>
<td>Match only at the start of the field</td>
</tr>
<tr>
<td>END</td>
<td>Match only at the end of the field</td>
</tr>
<tr>
<td>EXACT</td>
<td>Match the whole field exactly</td>
</tr>
</table>
</td>
</tr>
</table>
__Example__: `http://localhost:8888/yamj3/api/genres?field=name&search=a`
__Note__: The search is case ___insensitive___.
***
---
--
Index Methods
This section is for the index API methods
--
Get an index of videos.
***
**Required Parameters**
<table width="100%">
<col width="20%">
<col width="80%">
<tr>
<td>type</td>
<td>The list of video types to get.<br/>
Can be a comma separated list consisting one or more of:<br>
'all', 'movie', 'series', 'season' or 'episode'<br>
If left blank, will default to 'all'.
</td>
</tr>
</table>
**Optional Parameters**
<table width="100%">
<col width="20%">
<col width="80%">
<tr>
<td>include</td>
<td>Comma delimited list of fields & values to include.<br/>
Example: include=year-2010,genre-Action<br/>
Valid includes are: year, genre, studio, country, award, certification, videosource, resolution, rating, newest, boxset, library
</td>
</tr>
<tr>
<td>exclude</td>
<td>Comma delimited list of fields & values to exclude.<br/>
Example: exclude=year-2012,genre-Thriller<br/>
Valid excludes are: year, genre, studio, country, award, certification, videosource, resolution, rating, newest, boxset, library
</td>
</tr>
<tr>
<td>artwork</td>
<td>The list of artwork types to get for the videos.<br/>
Can be one or more of: 'ALL', 'POSTER', 'FANART', 'BANNER', 'VIDEOIMAGE', etc.<br/>
Leave this option blank to return no artwork</td>
</tr>
<tr>
<td>watched</td>
<td>If just watched or unwatched videos should be selected.<br/>
Use 'watched=true' to select just watched videos.<br/>
Use 'watched=false' to select just unwatched videos.
</td>
</tr>
<tr>
<td>yearStart</td>
<td>Get just videos from this and later years.</td>
</tr>
<tr>
<td>yearEnd</td>
<td>Get just videos from this and previous years.</td>
</tr>
<tr>
<td>PAGING</td>
<td>See above for the explanation on paging parameters.</td>
</tr>
<tr>
<td>SEARCHING</td>
<td>See above for the explanation on searching parameters.</td>
</tr>
<tr>
<td>SORTING</td>
<td>See above for the explanation on sorting parameters.</td>
</tr>
</table>
__Example__: `http://localhost:8888/yamj3/api/index/video?max=2`
GET /api/index/video
< 200
< Content-Type: application/json
{
"count":2,
"totalCount":13,
"queryDuration":"107ms",
"queryTime":"2013-07-31 16:18:12",
"status":{
"status":200,
"message":"OK"
},
"parameters":{
"start":-1,
"max":2,
"sortdir":"ASC",
"artwork":"POSTER",
},
"baseArtworkUrl":"http://141.196.102.114:8888/artwork/",
"baseMediainfoUrl":"http://141.196.102.114:8888/mediainfo/",
"results":[
{
"id":1,
"videoType":"SEASON",
"title":"Game of Thrones",
"originalTitle":"Game of Thrones",
"videoYear":2011,
"genres":[],
"artwork":{
"POSTER":[
{
"source":"SEASON",
"videoId":1,
"artworkId":1,
"locatedId":1,
"generatedId":1,
"artworkType":"POSTER",
"filename":"g/ga/Game of Thrones_0000.series.poster.1.default-poster.jpg"
},
{
"source":"SEASON",
"videoId":1,
"artworkId":1,
"locatedId":2,
"generatedId":2,
"artworkType":"POSTER",
"filename":"g/ga/Game of Thrones_0000.series.poster.2.default-poster.jpg"
}
]
},
"artworkCount":2,
"genreCount":0
}
]
}
Get an index of people.
***
**Optional Parameters**
<table width="100%">
<col width="20%">
<col width="80%">
<tr>
<td>dataitems</td>
<td>This is a list of additional data items to append to add to the results.<br/>
Valid options are: artwork, biography.
</td>
</tr>
<tr>
<td>artwork</td>
<td>The list of artwork types to get for the index.<br/>
Currently only 'PHOTO' is supported for this index.<br/>
Note: This is used in conjunction with the dataitem "artwork".</td>
</tr>
<tr>
<td>SEARCHING</td>
<td>See above for the explanation on searching parameters.</td>
</tr>
<tr>
<td>SORTING</td>
<td>See above for the explanation on sorting parameters.</td>
</tr>
<tr>
<td>PAGING</td>
<td>See above for the explanation on paging parameters.</td>
</tr>
</table>
__Example__: `http://localhost:8888/yamj3/api/index/person?max=3`
GET /api/index/person
< 200
< Content-Type: application/json
{
"count":3,
"totalCount":110,
"queryDuration":"31ms",
"queryTime":"2013-08-01 10:56:42",
"status":{
"status":200,
"message":"OK"
},
"options":{
"start":-1,
"max":3,
"sortby":"",
"sortdir":"ASC",
"id":-1
},
"baseArtworkUrl":"http://192.168.1.34:8888/artwork/",
"baseMediainfoUrl":"http://192.168.1.34:8888/mediainfo/",
"results":[
{
"id":1,
"name":"Zachary Levi",
"biography":"Zachary Levi Pugh (born September 29, 1980), better known by his stage name Zachary Levi, ...",
"birthDay":"1980-09-29",
"birthPlace":"Lake Charles, Louisiana, USA",
},
{
"id":2,
"name":"Yvonne Strahovski",
"biography":"Yvonne Strahovski (born Strzechowski on 30 July 1982) is an Australian actress. Born in Australia ...",
"birthDay":"1982-07-30",
"birthPlace":"Sydney, Australia",
},
{
"id":3,
"name":"Joshua Gomez",
"biography":"Joshua Eli Gomez (born November 20, 1975, in Bayonne, New Jersey) is an American actor ...",
"birthDay":"1975-11-20",
"birthPlace":"Bayonne, New Jersey, USA",
}
]
}
Get counts for various main objects in the database.
Note: These are currently fixed and are intended for system wide statistics.
For specific indexes, there will be an option to get the count for that index.
***
**Optional Parameters**
<table width="100%">
<col width="20%">
<col width="80%">
<tr>
<td>type</td>
<td>The type of the count to get.<br/>
Can be a comma separated list consisting one or more of:<br>
'all', 'movie', 'series', 'season', 'episode' or 'person'<br>
If left blank, will default to 'all'.
</td>
</tr>
</table>
__Example__: `http://localhost:8888/yamj3/api/index/count?type=all`
GET /api/index/count
< 200
< Content-Type: application/json
{
[
{
"type":"MOVIE",
"count":730,
"createTimestamp":1372626565000,
"updateTimestamp":1372785055000,
"lastId":877
},
{
"type":"SERIES",
"count":6,
"createTimestamp":1372626159000,
"updateTimestamp":1372785325000,
"lastId":6
},
{
"type":"SEASON",
"count":10,
"createTimestamp":1372626160000,
"updateTimestamp":1372785325000,
"lastId":10
},
{
"type":"EPISODE",
"count":147,
"createTimestamp":1372626160000,
"updateTimestamp":1372785325000,
"lastId":549
},
{
"type":"PERSON",
"count":9175,
"createTimestamp":1372785318000,
"updateTimestamp":1372795950000,
"lastId":9175
}
]
}
Get a list of jobs and their associated counts.
***
**Optional Parameters**
<table width="100%">
<col width="20%">
<col width="80%">
<tr>
<td>job</td>
<td>A comma separated list of the jobs to get counts for.<br/>
If left blank, will default to 'all'
</td>
</tr>
</table>
__Example__: `http://localhost:8888/yamj3/api/index/jobs?job=actor,writer,director`
GET /api/index/jobs
< 200
< Content-Type: application/json
{
[
{
"item":"ACTOR",
"count":11693
},
{
"item":"ART",
"count":606
},
{
"item":"CAMERA",
"count":358
},
{
"item":"COSTUME_MAKEUP",
"count":215
},
{
"item":"CREW",
"count":223
},
{
"item":"DIRECTOR",
"count":843
},
{
"item":"EDITING",
"count":509
},
{
"item":"EFFECTS",
"count":132
},
{
"item":"GUEST_STAR",
"count":360
},
{
"item":"LIGHTING",
"count":19
},
{
"item":"PRODUCER",
"count":2400
},
{
"item":"SOUND",
"count":569
},
{
"item":"WRITER",
"count":1532
}
]
}
Get an alphabetical list of the first characters in a type list.
***
**Optional Parameters**
<table width="100%">
<col width="20%">
<col width="80%">
<tr>
<td>type</td>
<td>The type of the list to get.<br/>
Can be a comma separated list consisting one or more of:<br>
'all', 'movie', 'series', 'season', 'episode' or 'person'<br>
If left blank, will default to 'all'.
</td>
</tr>
</table>
__Example__: `http://localhost:8888/yamj3/api/alphabetical/list?type=movie`
GET /api/alphabetical/list
< 200
< Content-Type: application/json
{
"count": 25,
"totalCount": 25,
"queryDuration": "64ms",
"queryTime": "2015-05-13 11:05:34 +0100",
"status": {
"status": 200,
"message": "OK"
},
"options": {
"type": "movie"
},
"baseArtworkUrl": "http://192.168.0.20:8888/artwork/",
"baseMediainfoUrl": "http://192.168.0.20:8888/mediainfo/",
"basePhotoUrl": "http://192.168.0.20:8888/photo/",
"results": [
{
"name": "3"
},
{
"name": "A"
},
{
"name": "B"
},
{
"name": "C"
}
]
}
--
Video Methods
These methods get information on the videos in the database.
--
Get or update information for a video (movie/series/season).
***
**Required Parameters**
<table width="100%">
<col width="20%">
<col width="80%">
<tr>
<td>type</td>
<td>The type of the video.<br/>
Valid types are: movie, season, series, episode (just update)
</td>
</tr>
<tr>
<td>id</td>
<td>The id of the movie to get or update.<br/>
Note: This is specific to the video type, so Movie ID 1 is not the same as Season ID 1.
</td>
</tr>
</table>
**GET request - Optional Parameters**
<table width="100%">
<col width="20%">
<col width="80%">
<tr>
<td>dataitems</td>
<td>This is a list of additional data items to append to the results.<br/>
Valid options are: plot, outline, quote, tagline, status, artwork, files, genre, studio, country, certification, rating, award, externalid, boxset, trailer, jobs
</td>
</tr>
<tr>
<td>artwork</td>
<td>The list of artwork types to get for the video.<br/>
Can be one or more of: 'ALL', 'POSTER', 'FANART', 'BANNER', 'VIDEOIMAGE', etc.<br/>
Leave this option blank to return no artwork
</td>
</tr>
</table>
**PUT request - JSON document in Request Body**
<table width="100%">
<col width="20%">
<col width="80%">
<tr>
<td>title</td>
<td>The title of the video; optional</td>
</tr>
<tr>
<td>titleOriginal</td>
<td>The original title of the video; optional</td>
</tr>
<tr>
<td>plot</td>
<td>The plot of the video; optional</td>
</tr>
<tr>
<td>outline</td>
<td>The outline of the video; optional</td>
</tr>
<tr>
<td>tagline</td>
<td>The tagline of the video; optional; just movie/episode</td>
</tr>
<tr>
<td>quote</td>
<td>The quote of the video; optional; just movie/episode</td>
</tr>
<tr>
<td>publicationYear</td>
<td>The publication year of the video; optional; just movie/season</td>
</tr>
<tr>
<td>startYear</td>
<td>The start year of the video; optional; just series</td>
</tr>
<tr>
<td>endYear</td>
<td>The end year of the video; optional; just series</td>
</tr>
</table>
__Example__: `http://localhost:8888/yamj3/api/video/movie/2?dataitems=plot,artwork,files,genre&artwork=all`
GET /api/video/{type}/{id}
< 200
< Content-Type: application/json
{
"count":1,
"totalCount":1,
"queryDuration":"496ms",
"queryTime":"2014-01-14 15:16:48",
"status":{
"status":200,
"message":"OK"
},
"options":{
"start":-1,
"max":-1,
"language":null,
"sortby":"",
"sortdir":"ASC",
"field":"",
"search":"",
"mode":"",
"dataitems":[
"artwork",
"files",
"genre"
],
"id":2,
"artwork":"ALL",
"type":"MOVIE",
"include":"",
"exclude":""
},
"baseArtworkUrl":"http://192.168.1.34:8888/artwork/",
"baseMediainfoUrl":"http://192.168.1.34:8888/mediainfo/",
"basePhotoUrl":"http://192.168.1.34:8888/photo/",
"result":{
"id":2,
"videoType":"MOVIE",
"title":"Avatar",
"originalTitle":"Avatar",
"videoYear":2009,
"genres":[
{
"id":1,
"name":"Adventure"
},
{
"id":2,
"name":"Action"
},
{
"id":4,
"name":"Science Fiction"
},
{
"id":5,
"name":"Fantasy"
}
],
"artwork":{
"POSTER":[
{
"id":2,
"source":"MOVIE",
"artworkId":8,
"locatedId":0,
"generatedId":0,
"artworkType":"POSTER",
"filename":""
}
],
"FANART":[
{
"id":2,
"source":"MOVIE",
"artworkId":9,
"locatedId":0,
"generatedId":0,
"artworkType":"FANART",
"filename":""
}
]
},
"files":[
{
"id":2,
"filename":"C:\\Projects\\YAMJv3\\testdir\\Avatar (2009).avi",
"season":-1,
"episode":-1
}
],
"outline":null,
"plot":null,
"country":null,
"quote":null,
"tagline":null,
"topRank":null,
"seriesId":-1,
"seasonId":null,
"season":-1,
"episode":-1,
"artworkCount":2,
"genreCount":4
}
}
PUT /api/video/{type}/{id}
> Content-Type: application/json
{
"title":"Avatar - Aufbruch nach Pandora",
}
< 200
< Content-Type: application/json
{
"status": 200,
"message": "Updated video with ID 2"
}
Retrieve information on a specific series.
Will get all the seasons associated with the series.
***
**Required Parameters**
<table width="100%">
<col width="20%">
<col width="80%">
<tr>
<td>id</td>
<td>The id of the series to get.</td>
</tr>
</table>
**Optional Parameters**
<table width="100%">
<col width="20%">
<col width="80%">
<tr>
<td>dataitems</td>
<td>This is a list of additional data items to append to add to the results.<br/>
Valid options are: plot, outline, genre, studio, country, certification, rating, award, artwork</td>
</tr>
<tr>
<td>artwork</td>
<td>The list of artwork types to get for the list.<br/>
Can be one or more of: 'ALL', 'POSTER', 'FANART', 'BANNER', 'VIDEOIMAGE', etc.<br/>
Note: This is used in conjunction with the dataitem "artwork".</td>
</tr>
</table>
__Example__: `http://localhost:8888/yamj3/api/video/seriesinfo?id=1`
GET /api/video/seriesinfo?id={id}
< 200
< Content-Type: application/json
{
"count":1,
"totalCount":1,
"queryDuration":"149ms",
"queryTime":"2013-09-05 13:15:05",
"status":{
"status":200,
"message":"OK"
},
"options":{
"start":-1,
"max":-1,
"sortby":"",
"sortdir":"ASC",
"field":"",
"search":"",
"mode":"",
"dataitems":[
"artwork"
],
"id":1,
"artwork":"POSTER"
},
"baseArtworkUrl":"http://192.168.1.34:8888/artwork/",
"baseMediainfoUrl":"http://192.168.1.34:8888/mediainfo/",
"basePhotoUrl":"http://192.168.1.34:8888/photo/",
"results":[
{
"seriesId":1,
"title":"Chuck",
"year":2007,
"seasonList":[
{
"seriesId":1,
"seasonId":1,
"season":1,
"title":"Chuck",
"artwork":{
"POSTER":[
{
"source":"SEASON",
"sourceId":1,
"artworkId":46,
"locatedId":58,
"generatedId":58,
"artworkType":"POSTER",
"filename":"c/ch/Chuck_0000_001.season.poster.58.default-poster.jpg"
},
{
"source":"SEASON",
"sourceId":1,
"artworkId":46,
"locatedId":59,
"generatedId":59,
"artworkType":"POSTER",
"filename":"c/ch/Chuck_0000_001.season.poster.59.default-poster.jpg"
},
{
"source":"SEASON",
"sourceId":1,
"artworkId":46,
"locatedId":60,
"generatedId":60,
"artworkType":"POSTER",
"filename":"c/ch/Chuck_0000_001.season.poster.60.default-poster.jpg"
},
{
"source":"SEASON",
"sourceId":1,
"artworkId":46,
"locatedId":61,
"generatedId":61,
"artworkType":"POSTER",
"filename":"c/ch/Chuck_0000_001.season.poster.61.default-poster.jpg"
},
{
"source":"SEASON",
"sourceId":1,
"artworkId":46,
"locatedId":62,
"generatedId":62,
"artworkType":"POSTER",
"filename":"c/ch/Chuck_0000_001.season.poster.62.default-poster.jpg"
}
]
},
"artworkCount":5
},
{
"seriesId":1,
"seasonId":2,
"season":2,
"title":"Chuck",
"artwork":{
"POSTER":[
{
"source":"SEASON",
"sourceId":1,
"artworkId":46,
"locatedId":58,
"generatedId":58,
"artworkType":"POSTER",
"filename":"c/ch/Chuck_0000_001.season.poster.58.default-poster.jpg"
},
{
"source":"SEASON",
"sourceId":1,
"artworkId":46,
"locatedId":59,
"generatedId":59,
"artworkType":"POSTER",
"filename":"c/ch/Chuck_0000_001.season.poster.59.default-poster.jpg"
},
{
"source":"SEASON",
"sourceId":1,
"artworkId":46,
"locatedId":60,
"generatedId":60,
"artworkType":"POSTER",
"filename":"c/ch/Chuck_0000_001.season.poster.60.default-poster.jpg"
},
{
"source":"SEASON",
"sourceId":1,
"artworkId":46,
"locatedId":61,
"generatedId":61,
"artworkType":"POSTER",
"filename":"c/ch/Chuck_0000_001.season.poster.61.default-poster.jpg"
},
{
"source":"SEASON",
"sourceId":1,
"artworkId":46,
"locatedId":62,
"generatedId":62,
"artworkType":"POSTER",
"filename":"c/ch/Chuck_0000_001.season.poster.62.default-poster.jpg"
}
]
},
"artworkCount":5
}
],
"artwork":{
"POSTER":[
{
"source":"SERIES",
"sourceId":1,
"artworkId":43,
"locatedId":43,
"generatedId":43,
"artworkType":"POSTER",
"filename":"c/ch/Chuck_0000.series.poster.43.default-poster.jpg"
},
{
"source":"SERIES",
"sourceId":1,
"artworkId":43,
"locatedId":44,
"generatedId":44,
"artworkType":"POSTER",
"filename":"c/ch/Chuck_0000.series.poster.44.default-poster.jpg"
},