vzaar_api 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +13 -0
- data/.rspec +4 -0
- data/.tool-versions +1 -0
- data/.travis.yml +3 -0
- data/Changelog +50 -0
- data/Gemfile +3 -0
- data/Guardfile +25 -0
- data/README.md +55 -0
- data/Rakefile +26 -0
- data/examples/README.md +33 -0
- data/examples/api_envs.yml.example +31 -0
- data/examples/category/create_update_delete_spec.rb +100 -0
- data/examples/category/list_spec.rb +38 -0
- data/examples/category/list_subtree_spec.rb +40 -0
- data/examples/category/lookup_spec.rb +35 -0
- data/examples/encoding_preset/list_spec.rb +38 -0
- data/examples/encoding_preset/lookup_spec.rb +35 -0
- data/examples/ingest_recipe/create_update_delete_spec.rb +70 -0
- data/examples/ingest_recipe/list_spec.rb +38 -0
- data/examples/ingest_recipe/lookup_spec.rb +35 -0
- data/examples/playlist/create_update_delete_spec.rb +97 -0
- data/examples/playlist/list_spec.rb +37 -0
- data/examples/playlist/lookup_spec.rb +34 -0
- data/examples/rate_limit_spec.rb +18 -0
- data/examples/spec_helper.rb +17 -0
- data/examples/support/helpers.rb +16 -0
- data/examples/support/videos/medium.mp4 +0 -0
- data/examples/support/videos/small.mp4 +0 -0
- data/examples/video/create_update_delete_spec.rb +73 -0
- data/lib/vzaar_api/abstract.rb +9 -0
- data/lib/vzaar_api/category.rb +39 -0
- data/lib/vzaar_api/encoding_preset.rb +19 -0
- data/lib/vzaar_api/ingest_recipe.rb +35 -0
- data/lib/vzaar_api/legacy_rendition.rb +11 -0
- data/lib/vzaar_api/lib/active_object.rb +92 -0
- data/lib/vzaar_api/lib/api.rb +54 -0
- data/lib/vzaar_api/lib/api_response.rb +61 -0
- data/lib/vzaar_api/lib/has_attributes.rb +49 -0
- data/lib/vzaar_api/lib/has_collection_builder.rb +17 -0
- data/lib/vzaar_api/lib/has_resource_url.rb +24 -0
- data/lib/vzaar_api/lib/paged_resource.rb +80 -0
- data/lib/vzaar_api/lib/will_paginate.rb +22 -0
- data/lib/vzaar_api/link_upload.rb +14 -0
- data/lib/vzaar_api/playlist.rb +29 -0
- data/lib/vzaar_api/rendition.rb +16 -0
- data/lib/vzaar_api/signature/abstract.rb +40 -0
- data/lib/vzaar_api/signature/factory.rb +39 -0
- data/lib/vzaar_api/signature/multipart.rb +23 -0
- data/lib/vzaar_api/signature/single.rb +17 -0
- data/lib/vzaar_api/strategy/video/create.rb +46 -0
- data/lib/vzaar_api/upload/s3.rb +90 -0
- data/lib/vzaar_api/upload/virtual_file.rb +14 -0
- data/lib/vzaar_api/version.rb +4 -0
- data/lib/vzaar_api/video.rb +38 -0
- data/lib/vzaar_api.rb +60 -0
- data/spec/fixtures/vcr_cassettes/categories/each_item.yml +363 -0
- data/spec/fixtures/vcr_cassettes/categories/find.yml +61 -0
- data/spec/fixtures/vcr_cassettes/categories/find_404.yml +49 -0
- data/spec/fixtures/vcr_cassettes/categories/paginate_first.yml +61 -0
- data/spec/fixtures/vcr_cassettes/categories/paginate_last.yml +119 -0
- data/spec/fixtures/vcr_cassettes/categories/paginate_next.yml +120 -0
- data/spec/fixtures/vcr_cassettes/categories/paginate_previous.yml +120 -0
- data/spec/fixtures/vcr_cassettes/categories/subtree.yml +127 -0
- data/spec/fixtures/vcr_cassettes/categories/subtree_paginate_first.yml +123 -0
- data/spec/fixtures/vcr_cassettes/categories/subtree_paginate_last.yml +185 -0
- data/spec/fixtures/vcr_cassettes/categories/subtree_paginate_next.yml +184 -0
- data/spec/fixtures/vcr_cassettes/categories/subtree_paginate_previous.yml +184 -0
- data/spec/fixtures/vcr_cassettes/encoding_presets/each_item.yml +299 -0
- data/spec/fixtures/vcr_cassettes/encoding_presets/find.yml +62 -0
- data/spec/fixtures/vcr_cassettes/encoding_presets/find_404.yml +51 -0
- data/spec/fixtures/vcr_cassettes/encoding_presets/paginate_first.yml +62 -0
- data/spec/fixtures/vcr_cassettes/encoding_presets/paginate_last.yml +121 -0
- data/spec/fixtures/vcr_cassettes/encoding_presets/paginate_next.yml +121 -0
- data/spec/fixtures/vcr_cassettes/encoding_presets/paginate_previous.yml +121 -0
- data/spec/fixtures/vcr_cassettes/ingest_recipes/create_200.yml +63 -0
- data/spec/fixtures/vcr_cassettes/ingest_recipes/create_422.yml +52 -0
- data/spec/fixtures/vcr_cassettes/ingest_recipes/delete_204.yml +166 -0
- data/spec/fixtures/vcr_cassettes/ingest_recipes/delete_422.yml +112 -0
- data/spec/fixtures/vcr_cassettes/ingest_recipes/each_item.yml +182 -0
- data/spec/fixtures/vcr_cassettes/ingest_recipes/find.yml +62 -0
- data/spec/fixtures/vcr_cassettes/ingest_recipes/find_404.yml +51 -0
- data/spec/fixtures/vcr_cassettes/ingest_recipes/paginate_first.yml +62 -0
- data/spec/fixtures/vcr_cassettes/ingest_recipes/paginate_last.yml +122 -0
- data/spec/fixtures/vcr_cassettes/ingest_recipes/paginate_next.yml +121 -0
- data/spec/fixtures/vcr_cassettes/ingest_recipes/paginate_previous.yml +122 -0
- data/spec/fixtures/vcr_cassettes/ingest_recipes/update_200.yml +242 -0
- data/spec/fixtures/vcr_cassettes/ingest_recipes/update_422.yml +113 -0
- data/spec/fixtures/vcr_cassettes/playlists/each_item.yml +607 -0
- data/spec/fixtures/vcr_cassettes/playlists/find.yml +66 -0
- data/spec/fixtures/vcr_cassettes/playlists/find_404.yml +51 -0
- data/spec/fixtures/vcr_cassettes/playlists/paginate_first.yml +74 -0
- data/spec/fixtures/vcr_cassettes/playlists/paginate_last.yml +146 -0
- data/spec/fixtures/vcr_cassettes/playlists/paginate_next.yml +145 -0
- data/spec/fixtures/vcr_cassettes/playlists/paginate_previous.yml +145 -0
- data/spec/fixtures/vcr_cassettes/signature/multipart_201.yml +62 -0
- data/spec/fixtures/vcr_cassettes/signature/multipart_422.yml +52 -0
- data/spec/fixtures/vcr_cassettes/signature/single_201.yml +62 -0
- data/spec/fixtures/vcr_cassettes/signature/single_422.yml +51 -0
- data/spec/fixtures/vcr_cassettes/upload/multipart_201.yml +279868 -0
- data/spec/fixtures/vcr_cassettes/upload/multipart_403.yml +116578 -0
- data/spec/fixtures/vcr_cassettes/upload/single_201.yml +23388 -0
- data/spec/fixtures/vcr_cassettes/upload/single_403.yml +23374 -0
- data/spec/fixtures/vcr_cassettes/videos/create/error.yml +51 -0
- data/spec/fixtures/vcr_cassettes/videos/create/guid_201.yml +65 -0
- data/spec/fixtures/vcr_cassettes/videos/create/guid_error.yml +52 -0
- data/spec/fixtures/vcr_cassettes/videos/create/link_201.yml +65 -0
- data/spec/fixtures/vcr_cassettes/videos/create/link_error.yml +51 -0
- data/spec/fixtures/vcr_cassettes/videos/create/path_201.yml +23509 -0
- data/spec/fixtures/vcr_cassettes/videos/delete_204.yml +168 -0
- data/spec/fixtures/vcr_cassettes/videos/find.yml +66 -0
- data/spec/fixtures/vcr_cassettes/videos/find_404.yml +51 -0
- data/spec/fixtures/vcr_cassettes/videos/paginate_first.yml +71 -0
- data/spec/fixtures/vcr_cassettes/videos/paginate_last.yml +137 -0
- data/spec/fixtures/vcr_cassettes/videos/paginate_next.yml +139 -0
- data/spec/fixtures/vcr_cassettes/videos/paginate_previous.yml +139 -0
- data/spec/spec_helper.rb +103 -0
- data/spec/support/files/video-1.0MB.mp4 +0 -0
- data/spec/support/files/video-12.0MB.mp4 +0 -0
- data/spec/support/files/video-4.9MB.mp4 +0 -0
- data/spec/support/files/video-5.0MB.mp4 +0 -0
- data/spec/support/helpers.rb +16 -0
- data/spec/vzaar_api/category_spec.rb +141 -0
- data/spec/vzaar_api/encoding_preset_spec.rb +92 -0
- data/spec/vzaar_api/ingest_recipe_spec.rb +197 -0
- data/spec/vzaar_api/lib/api_spec.rb +28 -0
- data/spec/vzaar_api/playlist_spec.rb +97 -0
- data/spec/vzaar_api/rendition_spec.rb +55 -0
- data/spec/vzaar_api/signature/factory_spec.rb +68 -0
- data/spec/vzaar_api/signature/multipart_spec.rb +81 -0
- data/spec/vzaar_api/signature/single_spec.rb +72 -0
- data/spec/vzaar_api/upload/s3_spec.rb +112 -0
- data/spec/vzaar_api/video_spec.rb +248 -0
- data/spec/vzaar_api/vzaar_api_spec.rb +18 -0
- data/spec/vzaar_api_helper.rb +19 -0
- data/vzaar.png +0 -0
- data/vzaar_api.gemspec +35 -0
- metadata +413 -0
@@ -0,0 +1,66 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://app.vzaar.localhost/api/v2/feeds/playlists/12692
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- HTTPClient/1.0 (2.8.3, ruby 2.3.0 (2015-12-25))
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
Date:
|
15
|
+
- Mon, 24 Apr 2017 13:32:02 GMT
|
16
|
+
X-Auth-Token:
|
17
|
+
- TUGXzNL17ypaougMYpR3
|
18
|
+
X-Client-Id:
|
19
|
+
- lair-tend72
|
20
|
+
Content-Type:
|
21
|
+
- application/json
|
22
|
+
response:
|
23
|
+
status:
|
24
|
+
code: 200
|
25
|
+
message: OK
|
26
|
+
headers:
|
27
|
+
Server:
|
28
|
+
- nginx/1.8.0
|
29
|
+
Date:
|
30
|
+
- Mon, 24 Apr 2017 13:32:03 GMT
|
31
|
+
Content-Type:
|
32
|
+
- application/json
|
33
|
+
Content-Length:
|
34
|
+
- '615'
|
35
|
+
Connection:
|
36
|
+
- keep-alive
|
37
|
+
X-Ratelimit-Limit:
|
38
|
+
- '200'
|
39
|
+
X-Ratelimit-Remaining:
|
40
|
+
- '199'
|
41
|
+
X-Ratelimit-Reset:
|
42
|
+
- '1493040783'
|
43
|
+
X-Ratelimit-Reset-In:
|
44
|
+
- 60 seconds
|
45
|
+
Cache-Control:
|
46
|
+
- no-store, must-revalidate, private, max-age=0
|
47
|
+
X-Request-Id:
|
48
|
+
- 1532a1cf-2814-4c77-a646-2d6c1f071b3b
|
49
|
+
X-Runtime:
|
50
|
+
- '0.050813'
|
51
|
+
Set-Cookie:
|
52
|
+
- __profilin=p%3Dt; path=/
|
53
|
+
- __profilin=p%3Dt; path=/
|
54
|
+
- __profilin=p%3Dt; path=/
|
55
|
+
X-Miniprofiler-Ids:
|
56
|
+
- '["ataps3ffcku599bx4ilp","wzl1b1fwdjqhlnjm4ga","d5dabvoqee6xo1mn67f8","svgz63xoi04rxvfm1id0","3c28kcn8sfjs7qofyekl","vfe6xfara8cd9wulooqd","lk1eagtyt91mfdzagqc9","y1k3mdngfvkqnp0veqie","3hpfa686jddv0e7nv4no","k7xdv6aho24n1km8wyzf"]'
|
57
|
+
body:
|
58
|
+
encoding: UTF-8
|
59
|
+
string: '{"data":{"id":12692,"category_id":2253,"title":"test","sort_by":"created_at","sort_order":"desc","max_vids":43,"position":"right","private":false,"dimensions":"768x340","autoplay":true,"continuous_play":true,"embed_code":"<iframe
|
60
|
+
id=\"vzpl-12692\" name=\"vzpl-12692\" title=\"vzaar video player\" class=\"vzaar
|
61
|
+
video player\" type=\"text/html\" width=\"927\" height=\"340\" frameborder=\"0\"
|
62
|
+
allowFullScreen allowTransparency=\"true\" mozallowfullscreen webkitAllowFullScreen
|
63
|
+
src=\"//view.vzaar.localhost/playlists/12692\"></iframe>","created_at":"2017-04-21T14:16:50.000Z","updated_at":"2017-04-21T14:16:50.000Z"}}'
|
64
|
+
http_version:
|
65
|
+
recorded_at: Mon, 24 Apr 2017 13:32:03 GMT
|
66
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,51 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://app.vzaar.localhost/api/v2/feeds/playlists/-1
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- HTTPClient/1.0 (2.8.3, ruby 2.3.0 (2015-12-25))
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
Date:
|
15
|
+
- Mon, 24 Apr 2017 13:30:58 GMT
|
16
|
+
X-Auth-Token:
|
17
|
+
- TUGXzNL17ypaougMYpR3
|
18
|
+
X-Client-Id:
|
19
|
+
- lair-tend72
|
20
|
+
Content-Type:
|
21
|
+
- application/json
|
22
|
+
response:
|
23
|
+
status:
|
24
|
+
code: 404
|
25
|
+
message: Not Found
|
26
|
+
headers:
|
27
|
+
Server:
|
28
|
+
- nginx/1.8.0
|
29
|
+
Date:
|
30
|
+
- Mon, 24 Apr 2017 13:30:58 GMT
|
31
|
+
Content-Type:
|
32
|
+
- application/json
|
33
|
+
Content-Length:
|
34
|
+
- '72'
|
35
|
+
Connection:
|
36
|
+
- keep-alive
|
37
|
+
Cache-Control:
|
38
|
+
- no-cache
|
39
|
+
X-Request-Id:
|
40
|
+
- 0fa160fd-a3f9-46cc-9ced-4be0ac2e802d
|
41
|
+
X-Runtime:
|
42
|
+
- '0.048134'
|
43
|
+
Set-Cookie:
|
44
|
+
- __profilin=p%3Dt; path=/
|
45
|
+
- __profilin=p%3Dt; path=/
|
46
|
+
body:
|
47
|
+
encoding: UTF-8
|
48
|
+
string: '{"errors":[{"message":"Not found","detail":"Resource cannot be found"}]}'
|
49
|
+
http_version:
|
50
|
+
recorded_at: Mon, 24 Apr 2017 13:30:58 GMT
|
51
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,74 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://app.vzaar.localhost/api/v2/feeds/playlists?per_page=3
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- HTTPClient/1.0 (2.8.3, ruby 2.3.0 (2015-12-25))
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
Date:
|
15
|
+
- Mon, 24 Apr 2017 13:30:59 GMT
|
16
|
+
X-Auth-Token:
|
17
|
+
- TUGXzNL17ypaougMYpR3
|
18
|
+
X-Client-Id:
|
19
|
+
- lair-tend72
|
20
|
+
Content-Type:
|
21
|
+
- application/json
|
22
|
+
response:
|
23
|
+
status:
|
24
|
+
code: 200
|
25
|
+
message: OK
|
26
|
+
headers:
|
27
|
+
Server:
|
28
|
+
- nginx/1.8.0
|
29
|
+
Date:
|
30
|
+
- Mon, 24 Apr 2017 13:30:59 GMT
|
31
|
+
Content-Type:
|
32
|
+
- application/json
|
33
|
+
Content-Length:
|
34
|
+
- '2089'
|
35
|
+
Connection:
|
36
|
+
- keep-alive
|
37
|
+
X-Ratelimit-Limit:
|
38
|
+
- '200'
|
39
|
+
X-Ratelimit-Remaining:
|
40
|
+
- '63'
|
41
|
+
X-Ratelimit-Reset:
|
42
|
+
- '1493040719'
|
43
|
+
X-Ratelimit-Reset-In:
|
44
|
+
- 60 seconds
|
45
|
+
Cache-Control:
|
46
|
+
- no-store, must-revalidate, private, max-age=0
|
47
|
+
X-Request-Id:
|
48
|
+
- aefa8336-4ec4-4450-98b9-66de586ed1c1
|
49
|
+
X-Runtime:
|
50
|
+
- '0.059401'
|
51
|
+
Set-Cookie:
|
52
|
+
- __profilin=p%3Dt; path=/
|
53
|
+
- __profilin=p%3Dt; path=/
|
54
|
+
- __profilin=p%3Dt; path=/
|
55
|
+
X-Miniprofiler-Ids:
|
56
|
+
- '["z5j0a4mhv7y9hcu0mlbs","wzl1b1fwdjqhlnjm4ga","d5dabvoqee6xo1mn67f8","svgz63xoi04rxvfm1id0","3c28kcn8sfjs7qofyekl","vfe6xfara8cd9wulooqd","lk1eagtyt91mfdzagqc9","y1k3mdngfvkqnp0veqie","3hpfa686jddv0e7nv4no","k7xdv6aho24n1km8wyzf"]'
|
57
|
+
body:
|
58
|
+
encoding: UTF-8
|
59
|
+
string: '{"data":[{"id":12,"category_id":2253,"title":"Dan","sort_by":"created_at","sort_order":"asc","max_vids":50,"position":"top","private":true,"dimensions":"448x336","autoplay":true,"continuous_play":true,"embed_code":"<iframe
|
60
|
+
id=\"vzpl-12\" name=\"vzpl-12\" title=\"vzaar video player\" class=\"vzaar
|
61
|
+
video player\" type=\"text/html\" width=\"448\" height=\"466\" frameborder=\"0\"
|
62
|
+
allowFullScreen allowTransparency=\"true\" mozallowfullscreen webkitAllowFullScreen
|
63
|
+
src=\"//view.vzaar.localhost/playlists/12\"></iframe>","created_at":"2012-04-04T17:16:56.000Z","updated_at":"2016-02-04T12:08:36.000Z"},{"id":12676,"category_id":2253,"title":"ok","sort_by":"created_at","sort_order":"desc","max_vids":43,"position":"right","private":true,"dimensions":"auto","autoplay":true,"continuous_play":true,"embed_code":"<iframe
|
64
|
+
id=\"vzpl-12676\" name=\"vzpl-12676\" title=\"vzaar video player\" class=\"vzaar
|
65
|
+
video player\" type=\"text/html\" width=\"927\" height=\"432\" frameborder=\"0\"
|
66
|
+
allowFullScreen allowTransparency=\"true\" mozallowfullscreen webkitAllowFullScreen
|
67
|
+
src=\"//view.vzaar.localhost/playlists/12676\"></iframe>","created_at":"2017-03-20T10:05:10.000Z","updated_at":"2017-04-21T10:06:06.000Z"},{"id":12677,"category_id":2253,"title":"test","sort_by":"created_at","sort_order":"desc","max_vids":10,"position":"left","private":true,"dimensions":"auto","autoplay":false,"continuous_play":false,"embed_code":"<iframe
|
68
|
+
id=\"vzpl-12677\" name=\"vzpl-12677\" title=\"vzaar video player\" class=\"vzaar
|
69
|
+
video player\" type=\"text/html\" width=\"927\" height=\"432\" frameborder=\"0\"
|
70
|
+
allowFullScreen allowTransparency=\"true\" mozallowfullscreen webkitAllowFullScreen
|
71
|
+
src=\"//view.vzaar.localhost/playlists/12677\"></iframe>","created_at":"2017-03-20T10:06:23.000Z","updated_at":"2017-03-20T10:06:23.000Z"}],"meta":{"total_count":18,"links":{"first":"http://app.vzaar.localhost/api/v2/feeds/playlists?page=1&per_page=3","next":"http://app.vzaar.localhost/api/v2/feeds/playlists?page=2&per_page=3","previous":null,"last":"http://app.vzaar.localhost/api/v2/feeds/playlists?page=6&per_page=3"}}}'
|
72
|
+
http_version:
|
73
|
+
recorded_at: Mon, 24 Apr 2017 13:30:59 GMT
|
74
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,146 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://app.vzaar.localhost/api/v2/feeds/playlists?per_page=3
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- HTTPClient/1.0 (2.8.3, ruby 2.3.0 (2015-12-25))
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
Date:
|
15
|
+
- Mon, 24 Apr 2017 13:30:59 GMT
|
16
|
+
X-Auth-Token:
|
17
|
+
- TUGXzNL17ypaougMYpR3
|
18
|
+
X-Client-Id:
|
19
|
+
- lair-tend72
|
20
|
+
Content-Type:
|
21
|
+
- application/json
|
22
|
+
response:
|
23
|
+
status:
|
24
|
+
code: 200
|
25
|
+
message: OK
|
26
|
+
headers:
|
27
|
+
Server:
|
28
|
+
- nginx/1.8.0
|
29
|
+
Date:
|
30
|
+
- Mon, 24 Apr 2017 13:30:59 GMT
|
31
|
+
Content-Type:
|
32
|
+
- application/json
|
33
|
+
Content-Length:
|
34
|
+
- '2089'
|
35
|
+
Connection:
|
36
|
+
- keep-alive
|
37
|
+
X-Ratelimit-Limit:
|
38
|
+
- '200'
|
39
|
+
X-Ratelimit-Remaining:
|
40
|
+
- '60'
|
41
|
+
X-Ratelimit-Reset:
|
42
|
+
- '1493040719'
|
43
|
+
X-Ratelimit-Reset-In:
|
44
|
+
- 60 seconds
|
45
|
+
Cache-Control:
|
46
|
+
- no-store, must-revalidate, private, max-age=0
|
47
|
+
X-Request-Id:
|
48
|
+
- 4b64a969-5b5d-4de5-9ea3-2325c2ad25f9
|
49
|
+
X-Runtime:
|
50
|
+
- '0.068426'
|
51
|
+
Set-Cookie:
|
52
|
+
- __profilin=p%3Dt; path=/
|
53
|
+
- __profilin=p%3Dt; path=/
|
54
|
+
- __profilin=p%3Dt; path=/
|
55
|
+
X-Miniprofiler-Ids:
|
56
|
+
- '["53hoer3lwfzvck9bo92e","wzl1b1fwdjqhlnjm4ga","d5dabvoqee6xo1mn67f8","svgz63xoi04rxvfm1id0","3c28kcn8sfjs7qofyekl","vfe6xfara8cd9wulooqd","lk1eagtyt91mfdzagqc9","y1k3mdngfvkqnp0veqie","3hpfa686jddv0e7nv4no","k7xdv6aho24n1km8wyzf"]'
|
57
|
+
body:
|
58
|
+
encoding: UTF-8
|
59
|
+
string: '{"data":[{"id":12,"category_id":2253,"title":"Dan","sort_by":"created_at","sort_order":"asc","max_vids":50,"position":"top","private":true,"dimensions":"448x336","autoplay":true,"continuous_play":true,"embed_code":"<iframe
|
60
|
+
id=\"vzpl-12\" name=\"vzpl-12\" title=\"vzaar video player\" class=\"vzaar
|
61
|
+
video player\" type=\"text/html\" width=\"448\" height=\"466\" frameborder=\"0\"
|
62
|
+
allowFullScreen allowTransparency=\"true\" mozallowfullscreen webkitAllowFullScreen
|
63
|
+
src=\"//view.vzaar.localhost/playlists/12\"></iframe>","created_at":"2012-04-04T17:16:56.000Z","updated_at":"2016-02-04T12:08:36.000Z"},{"id":12676,"category_id":2253,"title":"ok","sort_by":"created_at","sort_order":"desc","max_vids":43,"position":"right","private":true,"dimensions":"auto","autoplay":true,"continuous_play":true,"embed_code":"<iframe
|
64
|
+
id=\"vzpl-12676\" name=\"vzpl-12676\" title=\"vzaar video player\" class=\"vzaar
|
65
|
+
video player\" type=\"text/html\" width=\"927\" height=\"432\" frameborder=\"0\"
|
66
|
+
allowFullScreen allowTransparency=\"true\" mozallowfullscreen webkitAllowFullScreen
|
67
|
+
src=\"//view.vzaar.localhost/playlists/12676\"></iframe>","created_at":"2017-03-20T10:05:10.000Z","updated_at":"2017-04-21T10:06:06.000Z"},{"id":12677,"category_id":2253,"title":"test","sort_by":"created_at","sort_order":"desc","max_vids":10,"position":"left","private":true,"dimensions":"auto","autoplay":false,"continuous_play":false,"embed_code":"<iframe
|
68
|
+
id=\"vzpl-12677\" name=\"vzpl-12677\" title=\"vzaar video player\" class=\"vzaar
|
69
|
+
video player\" type=\"text/html\" width=\"927\" height=\"432\" frameborder=\"0\"
|
70
|
+
allowFullScreen allowTransparency=\"true\" mozallowfullscreen webkitAllowFullScreen
|
71
|
+
src=\"//view.vzaar.localhost/playlists/12677\"></iframe>","created_at":"2017-03-20T10:06:23.000Z","updated_at":"2017-03-20T10:06:23.000Z"}],"meta":{"total_count":18,"links":{"first":"http://app.vzaar.localhost/api/v2/feeds/playlists?page=1&per_page=3","next":"http://app.vzaar.localhost/api/v2/feeds/playlists?page=2&per_page=3","previous":null,"last":"http://app.vzaar.localhost/api/v2/feeds/playlists?page=6&per_page=3"}}}'
|
72
|
+
http_version:
|
73
|
+
recorded_at: Mon, 24 Apr 2017 13:30:59 GMT
|
74
|
+
- request:
|
75
|
+
method: get
|
76
|
+
uri: http://app.vzaar.localhost/api/v2/feeds/playlists
|
77
|
+
body:
|
78
|
+
encoding: UTF-8
|
79
|
+
string: ''
|
80
|
+
headers:
|
81
|
+
User-Agent:
|
82
|
+
- HTTPClient/1.0 (2.8.3, ruby 2.3.0 (2015-12-25))
|
83
|
+
Accept:
|
84
|
+
- "*/*"
|
85
|
+
Date:
|
86
|
+
- Mon, 24 Apr 2017 13:30:59 GMT
|
87
|
+
X-Auth-Token:
|
88
|
+
- TUGXzNL17ypaougMYpR3
|
89
|
+
X-Client-Id:
|
90
|
+
- lair-tend72
|
91
|
+
Content-Type:
|
92
|
+
- application/json
|
93
|
+
response:
|
94
|
+
status:
|
95
|
+
code: 200
|
96
|
+
message: OK
|
97
|
+
headers:
|
98
|
+
Server:
|
99
|
+
- nginx/1.8.0
|
100
|
+
Date:
|
101
|
+
- Mon, 24 Apr 2017 13:30:59 GMT
|
102
|
+
Content-Type:
|
103
|
+
- application/json
|
104
|
+
Content-Length:
|
105
|
+
- '2126'
|
106
|
+
Connection:
|
107
|
+
- keep-alive
|
108
|
+
X-Ratelimit-Limit:
|
109
|
+
- '200'
|
110
|
+
X-Ratelimit-Remaining:
|
111
|
+
- '59'
|
112
|
+
X-Ratelimit-Reset:
|
113
|
+
- '1493040719'
|
114
|
+
X-Ratelimit-Reset-In:
|
115
|
+
- 60 seconds
|
116
|
+
Cache-Control:
|
117
|
+
- no-store, must-revalidate, private, max-age=0
|
118
|
+
X-Request-Id:
|
119
|
+
- 7b95c036-3aee-41dd-ad9e-441bf7088129
|
120
|
+
X-Runtime:
|
121
|
+
- '0.064406'
|
122
|
+
Set-Cookie:
|
123
|
+
- __profilin=p%3Dt; path=/
|
124
|
+
- __profilin=p%3Dt; path=/
|
125
|
+
- __profilin=p%3Dt; path=/
|
126
|
+
X-Miniprofiler-Ids:
|
127
|
+
- '["9ryuqevbl4asn0hpids8","wzl1b1fwdjqhlnjm4ga","d5dabvoqee6xo1mn67f8","svgz63xoi04rxvfm1id0","3c28kcn8sfjs7qofyekl","vfe6xfara8cd9wulooqd","lk1eagtyt91mfdzagqc9","y1k3mdngfvkqnp0veqie","3hpfa686jddv0e7nv4no","k7xdv6aho24n1km8wyzf"]'
|
128
|
+
body:
|
129
|
+
encoding: UTF-8
|
130
|
+
string: '{"data":[{"id":12691,"category_id":2253,"title":"test","sort_by":"created_at","sort_order":"desc","max_vids":43,"position":"right","private":false,"dimensions":"768x340","autoplay":true,"continuous_play":true,"embed_code":"<iframe
|
131
|
+
id=\"vzpl-12691\" name=\"vzpl-12691\" title=\"vzaar video player\" class=\"vzaar
|
132
|
+
video player\" type=\"text/html\" width=\"927\" height=\"340\" frameborder=\"0\"
|
133
|
+
allowFullScreen allowTransparency=\"true\" mozallowfullscreen webkitAllowFullScreen
|
134
|
+
src=\"//view.vzaar.localhost/playlists/12691\"></iframe>","created_at":"2017-04-21T13:55:30.000Z","updated_at":"2017-04-21T13:55:30.000Z"},{"id":12692,"category_id":2253,"title":"test","sort_by":"created_at","sort_order":"desc","max_vids":43,"position":"right","private":false,"dimensions":"768x340","autoplay":true,"continuous_play":true,"embed_code":"<iframe
|
135
|
+
id=\"vzpl-12692\" name=\"vzpl-12692\" title=\"vzaar video player\" class=\"vzaar
|
136
|
+
video player\" type=\"text/html\" width=\"927\" height=\"340\" frameborder=\"0\"
|
137
|
+
allowFullScreen allowTransparency=\"true\" mozallowfullscreen webkitAllowFullScreen
|
138
|
+
src=\"//view.vzaar.localhost/playlists/12692\"></iframe>","created_at":"2017-04-21T14:16:50.000Z","updated_at":"2017-04-21T14:16:50.000Z"},{"id":1065,"category_id":2254,"title":"200
|
139
|
+
video limit","sort_by":"created_at","sort_order":"desc","max_vids":138,"position":"bottom","private":false,"dimensions":"320x240","autoplay":false,"continuous_play":false,"embed_code":"<iframe
|
140
|
+
id=\"vzpl-1065\" name=\"vzpl-1065\" title=\"vzaar video player\" class=\"vzaar
|
141
|
+
video player\" type=\"text/html\" width=\"320\" height=\"370\" frameborder=\"0\"
|
142
|
+
allowFullScreen allowTransparency=\"true\" mozallowfullscreen webkitAllowFullScreen
|
143
|
+
src=\"//view.vzaar.localhost/playlists/1065\"></iframe>","created_at":"2012-08-28T10:04:53.000Z","updated_at":"2014-04-16T09:11:34.000Z"}],"meta":{"total_count":18,"links":{"first":"http://app.vzaar.localhost/api/v2/feeds/playlists?page=1&per_page=3","next":null,"previous":"http://app.vzaar.localhost/api/v2/feeds/playlists?page=5&per_page=3","last":"http://app.vzaar.localhost/api/v2/feeds/playlists?page=6&per_page=3"}}}'
|
144
|
+
http_version:
|
145
|
+
recorded_at: Mon, 24 Apr 2017 13:30:59 GMT
|
146
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,145 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://app.vzaar.localhost/api/v2/feeds/playlists?per_page=3
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- HTTPClient/1.0 (2.8.3, ruby 2.3.0 (2015-12-25))
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
Date:
|
15
|
+
- Mon, 24 Apr 2017 13:30:59 GMT
|
16
|
+
X-Auth-Token:
|
17
|
+
- TUGXzNL17ypaougMYpR3
|
18
|
+
X-Client-Id:
|
19
|
+
- lair-tend72
|
20
|
+
Content-Type:
|
21
|
+
- application/json
|
22
|
+
response:
|
23
|
+
status:
|
24
|
+
code: 200
|
25
|
+
message: OK
|
26
|
+
headers:
|
27
|
+
Server:
|
28
|
+
- nginx/1.8.0
|
29
|
+
Date:
|
30
|
+
- Mon, 24 Apr 2017 13:30:59 GMT
|
31
|
+
Content-Type:
|
32
|
+
- application/json
|
33
|
+
Content-Length:
|
34
|
+
- '2089'
|
35
|
+
Connection:
|
36
|
+
- keep-alive
|
37
|
+
X-Ratelimit-Limit:
|
38
|
+
- '200'
|
39
|
+
X-Ratelimit-Remaining:
|
40
|
+
- '62'
|
41
|
+
X-Ratelimit-Reset:
|
42
|
+
- '1493040719'
|
43
|
+
X-Ratelimit-Reset-In:
|
44
|
+
- 60 seconds
|
45
|
+
Cache-Control:
|
46
|
+
- no-store, must-revalidate, private, max-age=0
|
47
|
+
X-Request-Id:
|
48
|
+
- 4b323c7c-9242-4427-981c-ba4b0030b6db
|
49
|
+
X-Runtime:
|
50
|
+
- '0.061720'
|
51
|
+
Set-Cookie:
|
52
|
+
- __profilin=p%3Dt; path=/
|
53
|
+
- __profilin=p%3Dt; path=/
|
54
|
+
- __profilin=p%3Dt; path=/
|
55
|
+
X-Miniprofiler-Ids:
|
56
|
+
- '["u006vblvwesy6th21xa4","wzl1b1fwdjqhlnjm4ga","d5dabvoqee6xo1mn67f8","svgz63xoi04rxvfm1id0","3c28kcn8sfjs7qofyekl","vfe6xfara8cd9wulooqd","lk1eagtyt91mfdzagqc9","y1k3mdngfvkqnp0veqie","3hpfa686jddv0e7nv4no","k7xdv6aho24n1km8wyzf"]'
|
57
|
+
body:
|
58
|
+
encoding: UTF-8
|
59
|
+
string: '{"data":[{"id":12,"category_id":2253,"title":"Dan","sort_by":"created_at","sort_order":"asc","max_vids":50,"position":"top","private":true,"dimensions":"448x336","autoplay":true,"continuous_play":true,"embed_code":"<iframe
|
60
|
+
id=\"vzpl-12\" name=\"vzpl-12\" title=\"vzaar video player\" class=\"vzaar
|
61
|
+
video player\" type=\"text/html\" width=\"448\" height=\"466\" frameborder=\"0\"
|
62
|
+
allowFullScreen allowTransparency=\"true\" mozallowfullscreen webkitAllowFullScreen
|
63
|
+
src=\"//view.vzaar.localhost/playlists/12\"></iframe>","created_at":"2012-04-04T17:16:56.000Z","updated_at":"2016-02-04T12:08:36.000Z"},{"id":12676,"category_id":2253,"title":"ok","sort_by":"created_at","sort_order":"desc","max_vids":43,"position":"right","private":true,"dimensions":"auto","autoplay":true,"continuous_play":true,"embed_code":"<iframe
|
64
|
+
id=\"vzpl-12676\" name=\"vzpl-12676\" title=\"vzaar video player\" class=\"vzaar
|
65
|
+
video player\" type=\"text/html\" width=\"927\" height=\"432\" frameborder=\"0\"
|
66
|
+
allowFullScreen allowTransparency=\"true\" mozallowfullscreen webkitAllowFullScreen
|
67
|
+
src=\"//view.vzaar.localhost/playlists/12676\"></iframe>","created_at":"2017-03-20T10:05:10.000Z","updated_at":"2017-04-21T10:06:06.000Z"},{"id":12677,"category_id":2253,"title":"test","sort_by":"created_at","sort_order":"desc","max_vids":10,"position":"left","private":true,"dimensions":"auto","autoplay":false,"continuous_play":false,"embed_code":"<iframe
|
68
|
+
id=\"vzpl-12677\" name=\"vzpl-12677\" title=\"vzaar video player\" class=\"vzaar
|
69
|
+
video player\" type=\"text/html\" width=\"927\" height=\"432\" frameborder=\"0\"
|
70
|
+
allowFullScreen allowTransparency=\"true\" mozallowfullscreen webkitAllowFullScreen
|
71
|
+
src=\"//view.vzaar.localhost/playlists/12677\"></iframe>","created_at":"2017-03-20T10:06:23.000Z","updated_at":"2017-03-20T10:06:23.000Z"}],"meta":{"total_count":18,"links":{"first":"http://app.vzaar.localhost/api/v2/feeds/playlists?page=1&per_page=3","next":"http://app.vzaar.localhost/api/v2/feeds/playlists?page=2&per_page=3","previous":null,"last":"http://app.vzaar.localhost/api/v2/feeds/playlists?page=6&per_page=3"}}}'
|
72
|
+
http_version:
|
73
|
+
recorded_at: Mon, 24 Apr 2017 13:30:59 GMT
|
74
|
+
- request:
|
75
|
+
method: get
|
76
|
+
uri: http://app.vzaar.localhost/api/v2/feeds/playlists
|
77
|
+
body:
|
78
|
+
encoding: UTF-8
|
79
|
+
string: ''
|
80
|
+
headers:
|
81
|
+
User-Agent:
|
82
|
+
- HTTPClient/1.0 (2.8.3, ruby 2.3.0 (2015-12-25))
|
83
|
+
Accept:
|
84
|
+
- "*/*"
|
85
|
+
Date:
|
86
|
+
- Mon, 24 Apr 2017 13:30:59 GMT
|
87
|
+
X-Auth-Token:
|
88
|
+
- TUGXzNL17ypaougMYpR3
|
89
|
+
X-Client-Id:
|
90
|
+
- lair-tend72
|
91
|
+
Content-Type:
|
92
|
+
- application/json
|
93
|
+
response:
|
94
|
+
status:
|
95
|
+
code: 200
|
96
|
+
message: OK
|
97
|
+
headers:
|
98
|
+
Server:
|
99
|
+
- nginx/1.8.0
|
100
|
+
Date:
|
101
|
+
- Mon, 24 Apr 2017 13:30:59 GMT
|
102
|
+
Content-Type:
|
103
|
+
- application/json
|
104
|
+
Content-Length:
|
105
|
+
- '2174'
|
106
|
+
Connection:
|
107
|
+
- keep-alive
|
108
|
+
X-Ratelimit-Limit:
|
109
|
+
- '200'
|
110
|
+
X-Ratelimit-Remaining:
|
111
|
+
- '61'
|
112
|
+
X-Ratelimit-Reset:
|
113
|
+
- '1493040719'
|
114
|
+
X-Ratelimit-Reset-In:
|
115
|
+
- 60 seconds
|
116
|
+
Cache-Control:
|
117
|
+
- no-store, must-revalidate, private, max-age=0
|
118
|
+
X-Request-Id:
|
119
|
+
- 7d4ebb0d-0b5f-4b12-9508-f25120cdc143
|
120
|
+
X-Runtime:
|
121
|
+
- '0.075521'
|
122
|
+
Set-Cookie:
|
123
|
+
- __profilin=p%3Dt; path=/
|
124
|
+
- __profilin=p%3Dt; path=/
|
125
|
+
- __profilin=p%3Dt; path=/
|
126
|
+
X-Miniprofiler-Ids:
|
127
|
+
- '["gh6w8zhas554a78xvhe9","wzl1b1fwdjqhlnjm4ga","d5dabvoqee6xo1mn67f8","svgz63xoi04rxvfm1id0","3c28kcn8sfjs7qofyekl","vfe6xfara8cd9wulooqd","lk1eagtyt91mfdzagqc9","y1k3mdngfvkqnp0veqie","3hpfa686jddv0e7nv4no","k7xdv6aho24n1km8wyzf"]'
|
128
|
+
body:
|
129
|
+
encoding: UTF-8
|
130
|
+
string: '{"data":[{"id":12678,"category_id":2253,"title":"test","sort_by":"created_at","sort_order":"desc","max_vids":10,"position":"left","private":true,"dimensions":"auto","autoplay":false,"continuous_play":false,"embed_code":"<iframe
|
131
|
+
id=\"vzpl-12678\" name=\"vzpl-12678\" title=\"vzaar video player\" class=\"vzaar
|
132
|
+
video player\" type=\"text/html\" width=\"927\" height=\"432\" frameborder=\"0\"
|
133
|
+
allowFullScreen allowTransparency=\"true\" mozallowfullscreen webkitAllowFullScreen
|
134
|
+
src=\"//view.vzaar.localhost/playlists/12678\"></iframe>","created_at":"2017-03-20T10:08:36.000Z","updated_at":"2017-03-20T10:08:36.000Z"},{"id":12679,"category_id":2253,"title":"test","sort_by":"created_at","sort_order":"desc","max_vids":10,"position":"left","private":true,"dimensions":"auto","autoplay":false,"continuous_play":false,"embed_code":"<iframe
|
135
|
+
id=\"vzpl-12679\" name=\"vzpl-12679\" title=\"vzaar video player\" class=\"vzaar
|
136
|
+
video player\" type=\"text/html\" width=\"927\" height=\"432\" frameborder=\"0\"
|
137
|
+
allowFullScreen allowTransparency=\"true\" mozallowfullscreen webkitAllowFullScreen
|
138
|
+
src=\"//view.vzaar.localhost/playlists/12679\"></iframe>","created_at":"2017-03-20T10:11:10.000Z","updated_at":"2017-03-20T10:11:10.000Z"},{"id":12680,"category_id":2253,"title":"test","sort_by":"created_at","sort_order":"desc","max_vids":10,"position":"left","private":true,"dimensions":"768x340","autoplay":false,"continuous_play":false,"embed_code":"<iframe
|
139
|
+
id=\"vzpl-12680\" name=\"vzpl-12680\" title=\"vzaar video player\" class=\"vzaar
|
140
|
+
video player\" type=\"text/html\" width=\"927\" height=\"340\" frameborder=\"0\"
|
141
|
+
allowFullScreen allowTransparency=\"true\" mozallowfullscreen webkitAllowFullScreen
|
142
|
+
src=\"//view.vzaar.localhost/playlists/12680\"></iframe>","created_at":"2017-03-20T10:14:49.000Z","updated_at":"2017-03-20T10:14:49.000Z"}],"meta":{"total_count":18,"links":{"first":"http://app.vzaar.localhost/api/v2/feeds/playlists?page=1&per_page=3","next":"http://app.vzaar.localhost/api/v2/feeds/playlists?page=3&per_page=3","previous":"http://app.vzaar.localhost/api/v2/feeds/playlists?page=1&per_page=3","last":"http://app.vzaar.localhost/api/v2/feeds/playlists?page=6&per_page=3"}}}'
|
143
|
+
http_version:
|
144
|
+
recorded_at: Mon, 24 Apr 2017 13:30:59 GMT
|
145
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,145 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://app.vzaar.localhost/api/v2/feeds/playlists?page=4&per_page=3
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- HTTPClient/1.0 (2.8.3, ruby 2.3.0 (2015-12-25))
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
Date:
|
15
|
+
- Mon, 24 Apr 2017 13:30:59 GMT
|
16
|
+
X-Auth-Token:
|
17
|
+
- TUGXzNL17ypaougMYpR3
|
18
|
+
X-Client-Id:
|
19
|
+
- lair-tend72
|
20
|
+
Content-Type:
|
21
|
+
- application/json
|
22
|
+
response:
|
23
|
+
status:
|
24
|
+
code: 200
|
25
|
+
message: OK
|
26
|
+
headers:
|
27
|
+
Server:
|
28
|
+
- nginx/1.8.0
|
29
|
+
Date:
|
30
|
+
- Mon, 24 Apr 2017 13:30:59 GMT
|
31
|
+
Content-Type:
|
32
|
+
- application/json
|
33
|
+
Content-Length:
|
34
|
+
- '2180'
|
35
|
+
Connection:
|
36
|
+
- keep-alive
|
37
|
+
X-Ratelimit-Limit:
|
38
|
+
- '200'
|
39
|
+
X-Ratelimit-Remaining:
|
40
|
+
- '58'
|
41
|
+
X-Ratelimit-Reset:
|
42
|
+
- '1493040719'
|
43
|
+
X-Ratelimit-Reset-In:
|
44
|
+
- 60 seconds
|
45
|
+
Cache-Control:
|
46
|
+
- no-store, must-revalidate, private, max-age=0
|
47
|
+
X-Request-Id:
|
48
|
+
- 8133fc80-803d-476d-8636-859b4499c026
|
49
|
+
X-Runtime:
|
50
|
+
- '0.077695'
|
51
|
+
Set-Cookie:
|
52
|
+
- __profilin=p%3Dt; path=/
|
53
|
+
- __profilin=p%3Dt; path=/
|
54
|
+
- __profilin=p%3Dt; path=/
|
55
|
+
X-Miniprofiler-Ids:
|
56
|
+
- '["htmcbzqz58y5bjsg8uo7","wzl1b1fwdjqhlnjm4ga","d5dabvoqee6xo1mn67f8","svgz63xoi04rxvfm1id0","3c28kcn8sfjs7qofyekl","vfe6xfara8cd9wulooqd","lk1eagtyt91mfdzagqc9","y1k3mdngfvkqnp0veqie","3hpfa686jddv0e7nv4no","k7xdv6aho24n1km8wyzf"]'
|
57
|
+
body:
|
58
|
+
encoding: UTF-8
|
59
|
+
string: '{"data":[{"id":12684,"category_id":2253,"title":"test","sort_by":"created_at","sort_order":"desc","max_vids":43,"position":"right","private":false,"dimensions":"768x340","autoplay":true,"continuous_play":true,"embed_code":"<iframe
|
60
|
+
id=\"vzpl-12684\" name=\"vzpl-12684\" title=\"vzaar video player\" class=\"vzaar
|
61
|
+
video player\" type=\"text/html\" width=\"927\" height=\"340\" frameborder=\"0\"
|
62
|
+
allowFullScreen allowTransparency=\"true\" mozallowfullscreen webkitAllowFullScreen
|
63
|
+
src=\"//view.vzaar.localhost/playlists/12684\"></iframe>","created_at":"2017-03-20T11:28:41.000Z","updated_at":"2017-03-20T11:28:41.000Z"},{"id":12685,"category_id":2253,"title":"test","sort_by":"created_at","sort_order":"desc","max_vids":43,"position":"right","private":false,"dimensions":"768x340","autoplay":true,"continuous_play":true,"embed_code":"<iframe
|
64
|
+
id=\"vzpl-12685\" name=\"vzpl-12685\" title=\"vzaar video player\" class=\"vzaar
|
65
|
+
video player\" type=\"text/html\" width=\"927\" height=\"340\" frameborder=\"0\"
|
66
|
+
allowFullScreen allowTransparency=\"true\" mozallowfullscreen webkitAllowFullScreen
|
67
|
+
src=\"//view.vzaar.localhost/playlists/12685\"></iframe>","created_at":"2017-03-20T11:29:50.000Z","updated_at":"2017-03-20T11:29:50.000Z"},{"id":12686,"category_id":2253,"title":"test","sort_by":"created_at","sort_order":"desc","max_vids":43,"position":"right","private":false,"dimensions":"768x340","autoplay":true,"continuous_play":true,"embed_code":"<iframe
|
68
|
+
id=\"vzpl-12686\" name=\"vzpl-12686\" title=\"vzaar video player\" class=\"vzaar
|
69
|
+
video player\" type=\"text/html\" width=\"927\" height=\"340\" frameborder=\"0\"
|
70
|
+
allowFullScreen allowTransparency=\"true\" mozallowfullscreen webkitAllowFullScreen
|
71
|
+
src=\"//view.vzaar.localhost/playlists/12686\"></iframe>","created_at":"2017-03-20T11:30:36.000Z","updated_at":"2017-03-20T11:30:36.000Z"}],"meta":{"total_count":18,"links":{"first":"http://app.vzaar.localhost/api/v2/feeds/playlists?page=1&per_page=3","next":"http://app.vzaar.localhost/api/v2/feeds/playlists?page=5&per_page=3","previous":"http://app.vzaar.localhost/api/v2/feeds/playlists?page=3&per_page=3","last":"http://app.vzaar.localhost/api/v2/feeds/playlists?page=6&per_page=3"}}}'
|
72
|
+
http_version:
|
73
|
+
recorded_at: Mon, 24 Apr 2017 13:30:59 GMT
|
74
|
+
- request:
|
75
|
+
method: get
|
76
|
+
uri: http://app.vzaar.localhost/api/v2/feeds/playlists
|
77
|
+
body:
|
78
|
+
encoding: UTF-8
|
79
|
+
string: ''
|
80
|
+
headers:
|
81
|
+
User-Agent:
|
82
|
+
- HTTPClient/1.0 (2.8.3, ruby 2.3.0 (2015-12-25))
|
83
|
+
Accept:
|
84
|
+
- "*/*"
|
85
|
+
Date:
|
86
|
+
- Mon, 24 Apr 2017 13:30:59 GMT
|
87
|
+
X-Auth-Token:
|
88
|
+
- TUGXzNL17ypaougMYpR3
|
89
|
+
X-Client-Id:
|
90
|
+
- lair-tend72
|
91
|
+
Content-Type:
|
92
|
+
- application/json
|
93
|
+
response:
|
94
|
+
status:
|
95
|
+
code: 200
|
96
|
+
message: OK
|
97
|
+
headers:
|
98
|
+
Server:
|
99
|
+
- nginx/1.8.0
|
100
|
+
Date:
|
101
|
+
- Mon, 24 Apr 2017 13:30:59 GMT
|
102
|
+
Content-Type:
|
103
|
+
- application/json
|
104
|
+
Content-Length:
|
105
|
+
- '2181'
|
106
|
+
Connection:
|
107
|
+
- keep-alive
|
108
|
+
X-Ratelimit-Limit:
|
109
|
+
- '200'
|
110
|
+
X-Ratelimit-Remaining:
|
111
|
+
- '57'
|
112
|
+
X-Ratelimit-Reset:
|
113
|
+
- '1493040719'
|
114
|
+
X-Ratelimit-Reset-In:
|
115
|
+
- 60 seconds
|
116
|
+
Cache-Control:
|
117
|
+
- no-store, must-revalidate, private, max-age=0
|
118
|
+
X-Request-Id:
|
119
|
+
- 6fdd6671-5f25-4fcb-b002-04f0af318d7f
|
120
|
+
X-Runtime:
|
121
|
+
- '0.081242'
|
122
|
+
Set-Cookie:
|
123
|
+
- __profilin=p%3Dt; path=/
|
124
|
+
- __profilin=p%3Dt; path=/
|
125
|
+
- __profilin=p%3Dt; path=/
|
126
|
+
X-Miniprofiler-Ids:
|
127
|
+
- '["fd3hznaau57ri26lfmbb","wzl1b1fwdjqhlnjm4ga","d5dabvoqee6xo1mn67f8","svgz63xoi04rxvfm1id0","3c28kcn8sfjs7qofyekl","vfe6xfara8cd9wulooqd","lk1eagtyt91mfdzagqc9","y1k3mdngfvkqnp0veqie","3hpfa686jddv0e7nv4no","k7xdv6aho24n1km8wyzf"]'
|
128
|
+
body:
|
129
|
+
encoding: UTF-8
|
130
|
+
string: '{"data":[{"id":12681,"category_id":2253,"title":"test","sort_by":"created_at","sort_order":"desc","max_vids":47,"position":"left","private":true,"dimensions":"768x340","autoplay":false,"continuous_play":false,"embed_code":"<iframe
|
131
|
+
id=\"vzpl-12681\" name=\"vzpl-12681\" title=\"vzaar video player\" class=\"vzaar
|
132
|
+
video player\" type=\"text/html\" width=\"927\" height=\"340\" frameborder=\"0\"
|
133
|
+
allowFullScreen allowTransparency=\"true\" mozallowfullscreen webkitAllowFullScreen
|
134
|
+
src=\"//view.vzaar.localhost/playlists/12681\"></iframe>","created_at":"2017-03-20T11:06:53.000Z","updated_at":"2017-03-20T11:06:53.000Z"},{"id":12682,"category_id":2253,"title":"test","sort_by":"created_at","sort_order":"desc","max_vids":43,"position":"left","private":true,"dimensions":"768x340","autoplay":false,"continuous_play":false,"embed_code":"<iframe
|
135
|
+
id=\"vzpl-12682\" name=\"vzpl-12682\" title=\"vzaar video player\" class=\"vzaar
|
136
|
+
video player\" type=\"text/html\" width=\"927\" height=\"340\" frameborder=\"0\"
|
137
|
+
allowFullScreen allowTransparency=\"true\" mozallowfullscreen webkitAllowFullScreen
|
138
|
+
src=\"//view.vzaar.localhost/playlists/12682\"></iframe>","created_at":"2017-03-20T11:16:09.000Z","updated_at":"2017-03-20T11:16:09.000Z"},{"id":12683,"category_id":2253,"title":"test","sort_by":"created_at","sort_order":"desc","max_vids":43,"position":"left","private":false,"dimensions":"768x340","autoplay":false,"continuous_play":false,"embed_code":"<iframe
|
139
|
+
id=\"vzpl-12683\" name=\"vzpl-12683\" title=\"vzaar video player\" class=\"vzaar
|
140
|
+
video player\" type=\"text/html\" width=\"927\" height=\"340\" frameborder=\"0\"
|
141
|
+
allowFullScreen allowTransparency=\"true\" mozallowfullscreen webkitAllowFullScreen
|
142
|
+
src=\"//view.vzaar.localhost/playlists/12683\"></iframe>","created_at":"2017-03-20T11:27:05.000Z","updated_at":"2017-03-20T11:27:05.000Z"}],"meta":{"total_count":18,"links":{"first":"http://app.vzaar.localhost/api/v2/feeds/playlists?page=1&per_page=3","next":"http://app.vzaar.localhost/api/v2/feeds/playlists?page=4&per_page=3","previous":"http://app.vzaar.localhost/api/v2/feeds/playlists?page=2&per_page=3","last":"http://app.vzaar.localhost/api/v2/feeds/playlists?page=6&per_page=3"}}}'
|
143
|
+
http_version:
|
144
|
+
recorded_at: Mon, 24 Apr 2017 13:30:59 GMT
|
145
|
+
recorded_with: VCR 3.0.3
|