contentful 2.15.3 → 2.16.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/README.md +22 -11
- data/lib/contentful/array_like.rb +11 -2
- data/lib/contentful/asset.rb +4 -0
- data/lib/contentful/base_resource.rb +14 -2
- data/lib/contentful/client.rb +1 -2
- data/lib/contentful/fields_resource.rb +1 -0
- data/lib/contentful/version.rb +1 -1
- metadata +4 -367
- data/.gitignore +0 -7
- data/.rspec +0 -1
- data/.rubocop.yml +0 -31
- data/.rubocop_todo.yml +0 -35
- data/.travis.yml +0 -15
- data/.yardopts +0 -4
- data/Gemfile +0 -9
- data/Gemfile.lock +0 -166
- data/Guardfile +0 -24
- data/RELEASE.md +0 -8
- data/Rakefile +0 -33
- data/contentful.gemspec +0 -44
- data/coverage/.last_run.json +0 -5
- data/coverage/.resultset.json +0 -5086
- data/coverage/.resultset.json.lock +0 -0
- data/coverage/assets/0.10.2/application.css +0 -799
- data/coverage/assets/0.10.2/application.js +0 -1707
- data/coverage/assets/0.10.2/colorbox/border.png +0 -0
- data/coverage/assets/0.10.2/colorbox/controls.png +0 -0
- data/coverage/assets/0.10.2/colorbox/loading.gif +0 -0
- data/coverage/assets/0.10.2/colorbox/loading_background.png +0 -0
- data/coverage/assets/0.10.2/favicon_green.png +0 -0
- data/coverage/assets/0.10.2/favicon_red.png +0 -0
- data/coverage/assets/0.10.2/favicon_yellow.png +0 -0
- data/coverage/assets/0.10.2/loading.gif +0 -0
- data/coverage/assets/0.10.2/magnify.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/coverage/assets/0.10.2/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/coverage/index.html +0 -0
- data/doc/Contentful/AccessDenied.html +0 -159
- data/doc/Contentful/Array.html +0 -844
- data/doc/Contentful/ArrayCoercion.html +0 -242
- data/doc/Contentful/ArrayLike.html +0 -624
- data/doc/Contentful/Asset.html +0 -486
- data/doc/Contentful/BadGateway.html +0 -159
- data/doc/Contentful/BadRequest.html +0 -159
- data/doc/Contentful/BaseCoercion.html +0 -445
- data/doc/Contentful/BaseResource.html +0 -598
- data/doc/Contentful/BooleanCoercion.html +0 -242
- data/doc/Contentful/Client.html +0 -1738
- data/doc/Contentful/ContentType.html +0 -617
- data/doc/Contentful/ContentTypeCache.html +0 -428
- data/doc/Contentful/DateCoercion.html +0 -244
- data/doc/Contentful/DeletedAsset.html +0 -156
- data/doc/Contentful/DeletedEntry.html +0 -156
- data/doc/Contentful/EmptyFieldError.html +0 -217
- data/doc/Contentful/Entry.html +0 -334
- data/doc/Contentful/Error.html +0 -407
- data/doc/Contentful/Field.html +0 -935
- data/doc/Contentful/FieldsResource.html +0 -583
- data/doc/Contentful/File.html +0 -218
- data/doc/Contentful/FloatCoercion.html +0 -238
- data/doc/Contentful/IntegerCoercion.html +0 -238
- data/doc/Contentful/Link.html +0 -246
- data/doc/Contentful/LinkCoercion.html +0 -156
- data/doc/Contentful/Locale.html +0 -536
- data/doc/Contentful/Location.html +0 -382
- data/doc/Contentful/LocationCoercion.html +0 -238
- data/doc/Contentful/NotFound.html +0 -159
- data/doc/Contentful/ObjectCoercion.html +0 -238
- data/doc/Contentful/RateLimitExceeded.html +0 -346
- data/doc/Contentful/Request.html +0 -895
- data/doc/Contentful/ResourceBuilder.html +0 -1067
- data/doc/Contentful/ResourceReferences.html +0 -254
- data/doc/Contentful/Response.html +0 -708
- data/doc/Contentful/RichTextCoercion.html +0 -238
- data/doc/Contentful/ServerError.html +0 -159
- data/doc/Contentful/ServiceUnavailable.html +0 -159
- data/doc/Contentful/Space.html +0 -392
- data/doc/Contentful/StringCoercion.html +0 -242
- data/doc/Contentful/StructuredTextCoercion.html +0 -238
- data/doc/Contentful/Support.html +0 -788
- data/doc/Contentful/SymbolCoercion.html +0 -169
- data/doc/Contentful/Sync.html +0 -653
- data/doc/Contentful/SyncPage.html +0 -807
- data/doc/Contentful/TextCoercion.html +0 -169
- data/doc/Contentful/Unauthorized.html +0 -159
- data/doc/Contentful/UnparsableJson.html +0 -159
- data/doc/Contentful/UnparsableResource.html +0 -135
- data/doc/Contentful.html +0 -157
- data/doc/_index.html +0 -563
- data/doc/class_list.html +0 -51
- data/doc/css/common.css +0 -1
- data/doc/css/full_list.css +0 -58
- data/doc/css/style.css +0 -496
- data/doc/file.CHANGELOG.html +0 -708
- data/doc/file.LICENSE.html +0 -70
- data/doc/file.README.html +0 -758
- data/doc/file_list.html +0 -66
- data/doc/frames.html +0 -17
- data/doc/index.html +0 -758
- data/doc/js/app.js +0 -303
- data/doc/js/full_list.js +0 -216
- data/doc/js/jquery.js +0 -4
- data/doc/method_list.html +0 -1187
- data/doc/top-level-namespace.html +0 -110
- data/examples/custom_classes.rb +0 -39
- data/examples/example_queries.rb +0 -26
- data/examples/raise_errors.rb +0 -20
- data/examples/raw_mode.rb +0 -14
- data/spec/array_spec.rb +0 -167
- data/spec/asset_spec.rb +0 -192
- data/spec/auto_includes_spec.rb +0 -12
- data/spec/client_class_spec.rb +0 -86
- data/spec/client_configuration_spec.rb +0 -377
- data/spec/content_type_spec.rb +0 -49
- data/spec/deleted_asset_spec.rb +0 -38
- data/spec/deleted_entry_spec.rb +0 -38
- data/spec/entry_spec.rb +0 -777
- data/spec/error_class_spec.rb +0 -327
- data/spec/error_requests_spec.rb +0 -87
- data/spec/field_spec.rb +0 -95
- data/spec/file_spec.rb +0 -33
- data/spec/fixtures/json_responses/400_details_errors_object.json +0 -14
- data/spec/fixtures/json_responses/400_details_errors_string.json +0 -12
- data/spec/fixtures/json_responses/400_details_string.json +0 -8
- data/spec/fixtures/json_responses/403_reasons.json +0 -13
- data/spec/fixtures/json_responses/404_details_string.json +0 -8
- data/spec/fixtures/json_responses/404_id.json +0 -11
- data/spec/fixtures/json_responses/404_sys_type.json +0 -12
- data/spec/fixtures/json_responses/404_type.json +0 -10
- data/spec/fixtures/json_responses/content_type.json +0 -83
- data/spec/fixtures/json_responses/default_400.json +0 -7
- data/spec/fixtures/json_responses/default_401.json +0 -7
- data/spec/fixtures/json_responses/default_403.json +0 -7
- data/spec/fixtures/json_responses/default_404.json +0 -7
- data/spec/fixtures/json_responses/default_429.json +0 -7
- data/spec/fixtures/json_responses/default_500.json +0 -7
- data/spec/fixtures/json_responses/default_502.json +0 -7
- data/spec/fixtures/json_responses/default_503.json +0 -7
- data/spec/fixtures/json_responses/includes.json +0 -111
- data/spec/fixtures/json_responses/link_array.json +0 -43
- data/spec/fixtures/json_responses/not_found.json +0 -13
- data/spec/fixtures/json_responses/nyancat.json +0 -48
- data/spec/fixtures/json_responses/other_error.json +0 -9
- data/spec/fixtures/json_responses/other_error_no_details.json +0 -8
- data/spec/fixtures/json_responses/other_error_no_message.json +0 -8
- data/spec/fixtures/json_responses/other_error_no_request_id.json +0 -8
- data/spec/fixtures/json_responses/other_error_nothing.json +0 -6
- data/spec/fixtures/json_responses/self_link.json +0 -82
- data/spec/fixtures/json_responses/unparsable.json +0 -13
- data/spec/fixtures/vcr_cassettes/array/marshal_custom_classes.yml +0 -159
- data/spec/fixtures/vcr_cassettes/array/marshal_unpublished.yml +0 -315
- data/spec/fixtures/vcr_cassettes/array/nested_resources.yml +0 -159
- data/spec/fixtures/vcr_cassettes/array.yml +0 -288
- data/spec/fixtures/vcr_cassettes/arrayField.yml +0 -87
- data/spec/fixtures/vcr_cassettes/array_page_1.yml +0 -106
- data/spec/fixtures/vcr_cassettes/array_page_2.yml +0 -73
- data/spec/fixtures/vcr_cassettes/asset/select_empty_array.yml +0 -104
- data/spec/fixtures/vcr_cassettes/asset/select_no_sys.yml +0 -119
- data/spec/fixtures/vcr_cassettes/asset/select_one_field.yml +0 -97
- data/spec/fixtures/vcr_cassettes/asset/select_only_sys.yml +0 -88
- data/spec/fixtures/vcr_cassettes/asset.yml +0 -96
- data/spec/fixtures/vcr_cassettes/assets/issues_129.yml +0 -90
- data/spec/fixtures/vcr_cassettes/assets/issues_jekyll_46.yml +0 -115
- data/spec/fixtures/vcr_cassettes/bad_request.yml +0 -76
- data/spec/fixtures/vcr_cassettes/content_type.yml +0 -147
- data/spec/fixtures/vcr_cassettes/entries/empty_fields.yml +0 -246
- data/spec/fixtures/vcr_cassettes/entries/issue_117.yml +0 -201
- data/spec/fixtures/vcr_cassettes/entries/issue_125.yml +0 -198
- data/spec/fixtures/vcr_cassettes/entries/rich_text.yml +0 -1707
- data/spec/fixtures/vcr_cassettes/entries/rich_text_hydration_issue.yml +0 -460
- data/spec/fixtures/vcr_cassettes/entries/rich_text_nested_fields.yml +0 -653
- data/spec/fixtures/vcr_cassettes/entries/rich_text_unresolved_relationships.yml +0 -983
- data/spec/fixtures/vcr_cassettes/entries/unresolvable_assets.yml +0 -89
- data/spec/fixtures/vcr_cassettes/entries/unresolvable_filter.yml +0 -159
- data/spec/fixtures/vcr_cassettes/entries/unresolvable_filter_deeply_nested.yml +0 -167
- data/spec/fixtures/vcr_cassettes/entries.yml +0 -561
- data/spec/fixtures/vcr_cassettes/entry/custom_resource.yml +0 -168
- data/spec/fixtures/vcr_cassettes/entry/include_resolution.yml +0 -101
- data/spec/fixtures/vcr_cassettes/entry/include_resolution_uniques.yml +0 -81
- data/spec/fixtures/vcr_cassettes/entry/json_objects.yml +0 -88
- data/spec/fixtures/vcr_cassettes/entry/json_objects_client.yml +0 -86
- data/spec/fixtures/vcr_cassettes/entry/marshal_138.yml +0 -159
- data/spec/fixtures/vcr_cassettes/entry/marshal_unpublished.yml +0 -303
- data/spec/fixtures/vcr_cassettes/entry/marshall.yml +0 -293
- data/spec/fixtures/vcr_cassettes/entry/raw.yml +0 -201
- data/spec/fixtures/vcr_cassettes/entry/search_link_to_asset.yml +0 -81
- data/spec/fixtures/vcr_cassettes/entry/search_link_to_entry.yml +0 -81
- data/spec/fixtures/vcr_cassettes/entry/search_link_to_entry_with_custom_query.yml +0 -115
- data/spec/fixtures/vcr_cassettes/entry/select_empty_array.yml +0 -111
- data/spec/fixtures/vcr_cassettes/entry/select_no_sys.yml +0 -102
- data/spec/fixtures/vcr_cassettes/entry/select_one_field.yml +0 -76
- data/spec/fixtures/vcr_cassettes/entry/select_one_field_proper.yml +0 -114
- data/spec/fixtures/vcr_cassettes/entry/select_only_sys.yml +0 -111
- data/spec/fixtures/vcr_cassettes/entry.yml +0 -102
- data/spec/fixtures/vcr_cassettes/entry_cache.yml +0 -288
- data/spec/fixtures/vcr_cassettes/entry_locales.yml +0 -104
- data/spec/fixtures/vcr_cassettes/field.yml +0 -147
- data/spec/fixtures/vcr_cassettes/human.yml +0 -118
- data/spec/fixtures/vcr_cassettes/linkField.yml +0 -83
- data/spec/fixtures/vcr_cassettes/locale.yml +0 -83
- data/spec/fixtures/vcr_cassettes/locale_from_environment.yml +0 -121
- data/spec/fixtures/vcr_cassettes/location.yml +0 -193
- data/spec/fixtures/vcr_cassettes/multi_locale_array_reference.yml +0 -196
- data/spec/fixtures/vcr_cassettes/multi_locale_reference.yml +0 -214
- data/spec/fixtures/vcr_cassettes/not_found.yml +0 -76
- data/spec/fixtures/vcr_cassettes/nyancat.yml +0 -102
- data/spec/fixtures/vcr_cassettes/query_array_1.yml +0 -89
- data/spec/fixtures/vcr_cassettes/query_array_2.yml +0 -89
- data/spec/fixtures/vcr_cassettes/ratelimit.yml +0 -64
- data/spec/fixtures/vcr_cassettes/ratelimit_retry.yml +0 -294
- data/spec/fixtures/vcr_cassettes/reloaded_entry.yml +0 -102
- data/spec/fixtures/vcr_cassettes/space.yml +0 -83
- data/spec/fixtures/vcr_cassettes/sync_deleted_asset.yml +0 -174
- data/spec/fixtures/vcr_cassettes/sync_deleted_entry.yml +0 -89
- data/spec/fixtures/vcr_cassettes/sync_deletion.yml +0 -191
- data/spec/fixtures/vcr_cassettes/sync_environment.yml +0 -81
- data/spec/fixtures/vcr_cassettes/sync_page.yml +0 -637
- data/spec/fixtures/vcr_cassettes/sync_page_2.yml +0 -71
- data/spec/fixtures/vcr_cassettes/sync_page_short.yml +0 -106
- data/spec/fixtures/vcr_cassettes/unauthorized.yml +0 -64
- data/spec/fixtures/vcr_cassettes/unavailable.yml +0 -76
- data/spec/link_spec.rb +0 -50
- data/spec/locale_spec.rb +0 -37
- data/spec/location_spec.rb +0 -25
- data/spec/request_spec.rb +0 -57
- data/spec/resource_building_spec.rb +0 -31
- data/spec/response_spec.rb +0 -62
- data/spec/space_spec.rb +0 -31
- data/spec/spec_helper.rb +0 -14
- data/spec/support/client.rb +0 -6
- data/spec/support/json_responses.rb +0 -18
- data/spec/support/vcr.rb +0 -16
- data/spec/sync_page_spec.rb +0 -103
- data/spec/sync_spec.rb +0 -180
@@ -1,83 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"fields": [
|
3
|
-
{
|
4
|
-
"id": "name",
|
5
|
-
"name": "Name",
|
6
|
-
"type": "Text",
|
7
|
-
"required": true,
|
8
|
-
"localized": true
|
9
|
-
},
|
10
|
-
{
|
11
|
-
"id": "likes",
|
12
|
-
"name": "Likes",
|
13
|
-
"type": "Array",
|
14
|
-
"required": false,
|
15
|
-
"localized": false,
|
16
|
-
"items": {
|
17
|
-
"type": "Symbol"
|
18
|
-
}
|
19
|
-
},
|
20
|
-
{
|
21
|
-
"id": "color",
|
22
|
-
"name": "Color",
|
23
|
-
"type": "Symbol",
|
24
|
-
"required": false,
|
25
|
-
"localized": false
|
26
|
-
},
|
27
|
-
{
|
28
|
-
"id": "bestFriend",
|
29
|
-
"name": "Best Friend",
|
30
|
-
"type": "Link",
|
31
|
-
"required": false,
|
32
|
-
"localized": false,
|
33
|
-
"linkType": "Entry"
|
34
|
-
},
|
35
|
-
{
|
36
|
-
"id": "birthday",
|
37
|
-
"name": "Birthday",
|
38
|
-
"type": "Date",
|
39
|
-
"required": false,
|
40
|
-
"localized": false
|
41
|
-
},
|
42
|
-
{
|
43
|
-
"id": "lifes",
|
44
|
-
"name": "Lifes left",
|
45
|
-
"type": "Integer",
|
46
|
-
"required": false,
|
47
|
-
"localized": false,
|
48
|
-
"disabled": true
|
49
|
-
},
|
50
|
-
{
|
51
|
-
"id": "lives",
|
52
|
-
"name": "Lives left",
|
53
|
-
"type": "Integer",
|
54
|
-
"required": false,
|
55
|
-
"localized": false
|
56
|
-
},
|
57
|
-
{
|
58
|
-
"id": "image",
|
59
|
-
"name": "Image",
|
60
|
-
"required": false,
|
61
|
-
"localized": false,
|
62
|
-
"type": "Link",
|
63
|
-
"linkType": "Asset"
|
64
|
-
}
|
65
|
-
],
|
66
|
-
"name": "Cat",
|
67
|
-
"displayField": "name",
|
68
|
-
"description": "Meow.",
|
69
|
-
"sys": {
|
70
|
-
"space": {
|
71
|
-
"sys": {
|
72
|
-
"type": "Link",
|
73
|
-
"linkType": "Space",
|
74
|
-
"id": "cfexampleapi"
|
75
|
-
}
|
76
|
-
},
|
77
|
-
"type": "ContentType",
|
78
|
-
"id": "cat",
|
79
|
-
"revision": 2,
|
80
|
-
"createdAt": "2013-06-27T22:46:12.852Z",
|
81
|
-
"updatedAt": "2013-09-02T13:14:47.863Z"
|
82
|
-
}
|
83
|
-
}
|
@@ -1,111 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"sys": {
|
3
|
-
"type": "Array"
|
4
|
-
},
|
5
|
-
"total": 1,
|
6
|
-
"skip": 0,
|
7
|
-
"limit": 100,
|
8
|
-
"items": [
|
9
|
-
{
|
10
|
-
"sys": {
|
11
|
-
"space": {
|
12
|
-
"sys": {
|
13
|
-
"type": "Link",
|
14
|
-
"linkType": "Space",
|
15
|
-
"id": "6yahkaf5ehkk"
|
16
|
-
}
|
17
|
-
},
|
18
|
-
"type": "Entry",
|
19
|
-
"contentType": {
|
20
|
-
"sys": {
|
21
|
-
"type": "Link",
|
22
|
-
"linkType": "ContentType",
|
23
|
-
"id": "tSFLnCNqvuyoMA6SKkQ2W"
|
24
|
-
}
|
25
|
-
},
|
26
|
-
"id": "2fCmT4nxtO6eI6usgoEkQG",
|
27
|
-
"revision": 1,
|
28
|
-
"createdAt": "2014-04-11T10:59:40.249Z",
|
29
|
-
"updatedAt": "2014-04-11T10:59:40.249Z",
|
30
|
-
"locale": "en-US"
|
31
|
-
},
|
32
|
-
"fields": {
|
33
|
-
"foo": "dog",
|
34
|
-
"links": [
|
35
|
-
{
|
36
|
-
"sys": {
|
37
|
-
"type": "Link",
|
38
|
-
"linkType": "Entry",
|
39
|
-
"id": "5ulKc1zdg4ES0oAKuCe8yA"
|
40
|
-
}
|
41
|
-
},
|
42
|
-
{
|
43
|
-
"sys": {
|
44
|
-
"type": "Link",
|
45
|
-
"linkType": "Entry",
|
46
|
-
"id": "49fzjGhfBCAu6iOqIeg8yQ"
|
47
|
-
}
|
48
|
-
}
|
49
|
-
]
|
50
|
-
}
|
51
|
-
}
|
52
|
-
],
|
53
|
-
"includes": {
|
54
|
-
"Entry": [
|
55
|
-
{
|
56
|
-
"sys": {
|
57
|
-
"space": {
|
58
|
-
"sys": {
|
59
|
-
"type": "Link",
|
60
|
-
"linkType": "Space",
|
61
|
-
"id": "6yahkaf5ehkk"
|
62
|
-
}
|
63
|
-
},
|
64
|
-
"type": "Entry",
|
65
|
-
"contentType": {
|
66
|
-
"sys": {
|
67
|
-
"type": "Link",
|
68
|
-
"linkType": "ContentType",
|
69
|
-
"id": "tSFLnCNqvuyoMA6SKkQ2W"
|
70
|
-
}
|
71
|
-
},
|
72
|
-
"id": "49fzjGhfBCAu6iOqIeg8yQ",
|
73
|
-
"revision": 1,
|
74
|
-
"createdAt": "2014-04-11T10:58:58.286Z",
|
75
|
-
"updatedAt": "2014-04-11T10:58:58.286Z",
|
76
|
-
"locale": "en-US"
|
77
|
-
},
|
78
|
-
"fields": {
|
79
|
-
"foo": "nyancat"
|
80
|
-
}
|
81
|
-
},
|
82
|
-
{
|
83
|
-
"sys": {
|
84
|
-
"space": {
|
85
|
-
"sys": {
|
86
|
-
"type": "Link",
|
87
|
-
"linkType": "Space",
|
88
|
-
"id": "6yahkaf5ehkk"
|
89
|
-
}
|
90
|
-
},
|
91
|
-
"type": "Entry",
|
92
|
-
"contentType": {
|
93
|
-
"sys": {
|
94
|
-
"type": "Link",
|
95
|
-
"linkType": "ContentType",
|
96
|
-
"id": "tSFLnCNqvuyoMA6SKkQ2W"
|
97
|
-
}
|
98
|
-
},
|
99
|
-
"id": "5ulKc1zdg4ES0oAKuCe8yA",
|
100
|
-
"revision": 1,
|
101
|
-
"createdAt": "2014-04-11T10:59:17.658Z",
|
102
|
-
"updatedAt": "2014-04-11T10:59:17.658Z",
|
103
|
-
"locale": "en-US"
|
104
|
-
},
|
105
|
-
"fields": {
|
106
|
-
"foo": "happycat"
|
107
|
-
}
|
108
|
-
}
|
109
|
-
]
|
110
|
-
}
|
111
|
-
}
|
@@ -1,43 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"sys": {
|
3
|
-
"space": {
|
4
|
-
"sys": {
|
5
|
-
"type": "Link",
|
6
|
-
"linkType": "Space",
|
7
|
-
"id": "6yahkaf5ehkk"
|
8
|
-
}
|
9
|
-
},
|
10
|
-
"type": "Entry",
|
11
|
-
"contentType": {
|
12
|
-
"sys": {
|
13
|
-
"type": "Link",
|
14
|
-
"linkType": "ContentType",
|
15
|
-
"id": "tSFLnCNqvuyoMA6SKkQ2W"
|
16
|
-
}
|
17
|
-
},
|
18
|
-
"id": "2fCmT4nxtO6eI6usgoEkQG",
|
19
|
-
"revision": 1,
|
20
|
-
"createdAt": "2014-04-11T10:59:40.249Z",
|
21
|
-
"updatedAt": "2014-04-11T10:59:40.249Z",
|
22
|
-
"locale": "en-US"
|
23
|
-
},
|
24
|
-
"fields": {
|
25
|
-
"foo": "dog",
|
26
|
-
"links": [
|
27
|
-
{
|
28
|
-
"sys": {
|
29
|
-
"type": "Link",
|
30
|
-
"linkType": "Entry",
|
31
|
-
"id": "5ulKc1zdg4ES0oAKuCe8yA"
|
32
|
-
}
|
33
|
-
},
|
34
|
-
{
|
35
|
-
"sys": {
|
36
|
-
"type": "Link",
|
37
|
-
"linkType": "Entry",
|
38
|
-
"id": "49fzjGhfBCAu6iOqIeg8yQ"
|
39
|
-
}
|
40
|
-
}
|
41
|
-
]
|
42
|
-
}
|
43
|
-
}
|
@@ -1,48 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"fields": {
|
3
|
-
"name": "Nyan Cat",
|
4
|
-
"likes": [
|
5
|
-
"rainbows",
|
6
|
-
"fish"
|
7
|
-
],
|
8
|
-
"color": "rainbow",
|
9
|
-
"bestFriend": {
|
10
|
-
"sys": {
|
11
|
-
"type": "Link",
|
12
|
-
"linkType": "Entry",
|
13
|
-
"id": "happycat"
|
14
|
-
}
|
15
|
-
},
|
16
|
-
"birthday": "2011-04-04T22:00:00+00:00",
|
17
|
-
"lives": 1337,
|
18
|
-
"image": {
|
19
|
-
"sys": {
|
20
|
-
"type": "Link",
|
21
|
-
"linkType": "Asset",
|
22
|
-
"id": "nyancat"
|
23
|
-
}
|
24
|
-
}
|
25
|
-
},
|
26
|
-
"sys": {
|
27
|
-
"space": {
|
28
|
-
"sys": {
|
29
|
-
"type": "Link",
|
30
|
-
"linkType": "Space",
|
31
|
-
"id": "cfexampleapi"
|
32
|
-
}
|
33
|
-
},
|
34
|
-
"type": "Entry",
|
35
|
-
"contentType": {
|
36
|
-
"sys": {
|
37
|
-
"type": "Link",
|
38
|
-
"linkType": "ContentType",
|
39
|
-
"id": "cat"
|
40
|
-
}
|
41
|
-
},
|
42
|
-
"id": "nyancat",
|
43
|
-
"revision": 5,
|
44
|
-
"createdAt": "2013-06-27T22:46:19.513Z",
|
45
|
-
"updatedAt": "2013-09-04T09:19:39.027Z",
|
46
|
-
"locale": "en-US"
|
47
|
-
}
|
48
|
-
}
|
@@ -1,82 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"sys": {
|
3
|
-
"type": "Array"
|
4
|
-
},
|
5
|
-
"total": 1,
|
6
|
-
"skip": 0,
|
7
|
-
"limit": 100,
|
8
|
-
"items": [
|
9
|
-
{
|
10
|
-
"sys": {
|
11
|
-
"space": {
|
12
|
-
"sys": {
|
13
|
-
"type": "Link",
|
14
|
-
"linkType": "Space",
|
15
|
-
"id": "6yahkaf5ehkk"
|
16
|
-
}
|
17
|
-
},
|
18
|
-
"type": "Entry",
|
19
|
-
"contentType": {
|
20
|
-
"sys": {
|
21
|
-
"type": "Link",
|
22
|
-
"linkType": "ContentType",
|
23
|
-
"id": "tSFLnCNqvuyoMA6SKkQ2W"
|
24
|
-
}
|
25
|
-
},
|
26
|
-
"id": "6HM4G3D4iciuoIk6CW2OK6",
|
27
|
-
"revision": 2,
|
28
|
-
"createdAt": "2014-04-16T17:52:42.289Z",
|
29
|
-
"updatedAt": "2014-04-16T17:53:28.780Z",
|
30
|
-
"locale": "en-US"
|
31
|
-
},
|
32
|
-
"fields": {
|
33
|
-
"foo": "777777777",
|
34
|
-
"e": {
|
35
|
-
"sys": {
|
36
|
-
"type": "Link",
|
37
|
-
"linkType": "Entry",
|
38
|
-
"id": "55t1gz1JUIQ2s4mcMwQ8cA"
|
39
|
-
}
|
40
|
-
}
|
41
|
-
}
|
42
|
-
}
|
43
|
-
],
|
44
|
-
"includes": {
|
45
|
-
"Entry": [
|
46
|
-
{
|
47
|
-
"sys": {
|
48
|
-
"space": {
|
49
|
-
"sys": {
|
50
|
-
"type": "Link",
|
51
|
-
"linkType": "Space",
|
52
|
-
"id": "6yahkaf5ehkk"
|
53
|
-
}
|
54
|
-
},
|
55
|
-
"type": "Entry",
|
56
|
-
"contentType": {
|
57
|
-
"sys": {
|
58
|
-
"type": "Link",
|
59
|
-
"linkType": "ContentType",
|
60
|
-
"id": "tSFLnCNqvuyoMA6SKkQ2W"
|
61
|
-
}
|
62
|
-
},
|
63
|
-
"id": "55t1gz1JUIQ2s4mcMwQ8cA",
|
64
|
-
"revision": 1,
|
65
|
-
"createdAt": "2014-04-16T17:53:15.753Z",
|
66
|
-
"updatedAt": "2014-04-16T17:53:15.753Z",
|
67
|
-
"locale": "en-US"
|
68
|
-
},
|
69
|
-
"fields": {
|
70
|
-
"foo": "88888888888",
|
71
|
-
"e": {
|
72
|
-
"sys": {
|
73
|
-
"type": "Link",
|
74
|
-
"linkType": "Entry",
|
75
|
-
"id": "6HM4G3D4iciuoIk6CW2OK6"
|
76
|
-
}
|
77
|
-
}
|
78
|
-
}
|
79
|
-
}
|
80
|
-
]
|
81
|
-
}
|
82
|
-
}
|
@@ -1,159 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://cdn.contentful.com/spaces/j8tb59fszch7/environments/master/content_types?limit=1000
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
X-Contentful-User-Agent:
|
11
|
-
- sdk contentful.rb/2.1.2; platform ruby/2.4.1; os macOS/16;
|
12
|
-
Authorization:
|
13
|
-
- Bearer 5f711401f965951eb724ac72ac905e13d892294ba209268f13a9b32e896c8694
|
14
|
-
Content-Type:
|
15
|
-
- application/vnd.contentful.delivery.v1+json
|
16
|
-
Accept-Encoding:
|
17
|
-
- gzip
|
18
|
-
Connection:
|
19
|
-
- close
|
20
|
-
Host:
|
21
|
-
- cdn.contentful.com
|
22
|
-
User-Agent:
|
23
|
-
- http.rb/2.2.2
|
24
|
-
response:
|
25
|
-
status:
|
26
|
-
code: 200
|
27
|
-
message: OK
|
28
|
-
headers:
|
29
|
-
Access-Control-Allow-Headers:
|
30
|
-
- Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent,X-Contentful-Enable-Experimental-Feature
|
31
|
-
Access-Control-Allow-Methods:
|
32
|
-
- GET,HEAD,OPTIONS
|
33
|
-
Access-Control-Allow-Origin:
|
34
|
-
- "*"
|
35
|
-
Access-Control-Expose-Headers:
|
36
|
-
- Etag
|
37
|
-
Access-Control-Max-Age:
|
38
|
-
- '86400'
|
39
|
-
Cache-Control:
|
40
|
-
- max-age=0
|
41
|
-
Content-Encoding:
|
42
|
-
- gzip
|
43
|
-
Content-Type:
|
44
|
-
- application/vnd.contentful.delivery.v1+json
|
45
|
-
Etag:
|
46
|
-
- W/"dbd86bc89681ff36b482b61f9acf6336"
|
47
|
-
Server:
|
48
|
-
- Contentful
|
49
|
-
X-Content-Type-Options:
|
50
|
-
- nosniff
|
51
|
-
X-Contentful-Request-Id:
|
52
|
-
- 2a18bccb70cba71bd8464663780f6fba
|
53
|
-
Content-Length:
|
54
|
-
- '458'
|
55
|
-
Accept-Ranges:
|
56
|
-
- bytes
|
57
|
-
Date:
|
58
|
-
- Thu, 17 Aug 2017 12:23:27 GMT
|
59
|
-
Via:
|
60
|
-
- 1.1 varnish
|
61
|
-
Age:
|
62
|
-
- '0'
|
63
|
-
Connection:
|
64
|
-
- close
|
65
|
-
X-Served-By:
|
66
|
-
- cache-gru7120-GRU
|
67
|
-
X-Cache:
|
68
|
-
- MISS
|
69
|
-
X-Cache-Hits:
|
70
|
-
- '0'
|
71
|
-
X-Timer:
|
72
|
-
- S1502972607.174656,VS0,VE300
|
73
|
-
Vary:
|
74
|
-
- Accept-Encoding
|
75
|
-
body:
|
76
|
-
encoding: ASCII-8BIT
|
77
|
-
string: !binary |-
|
78
|
-
H4sIAAAAAAAAA9VVO2/CMBDe+RWR54KSkJCSDVXt1K1MrRhMYoqL86htkALiv/fsPHCiQJ9ShZfkzr73fXeHgWUhUQgUWgf4BUIWOQEKzTjHBQLe8Ua9kZnEDPiupsSG5kDYmmA0oRIox7ZLBpUkURpftMZSb8eMNiVyHClb9YuSaTijGJpZO/VI0w1SRk8HzKebeeX0k9bYeUBjFc/brVz605XYR+tAhVWfY/OvAy0PKmWiNWWxoa7x4y5LJUmlNmtIRZxgSeKZygZybScY2sHQ9efONHQnoe+OJlPv2RTY5vH3BDjZUUGzVKW78rZxG8VU5AwXD5SA16GVbhmrnUMpTnRZ2yGhmIiI01yWKlHjG1opJaciqrS0ylQmiCb4lTithDeW+u7O1hGxLMKM7olyfIWZIGYRESfvW8rPXELYeMnOXGbQm1CSXq1m58yEIPLUF0YvnAvbvRB25+56wq56aqG/VRKuGMA55gDTP0KwH3r2yHNvv4rg8Tj0g5FnOy0BA8HjHyG4E9NvIawHgujv5b679n5oofQ/MFzvGhOlnyyMHQwaGLsw8vR8W1zYJ/ep5HoJ1sfYFm2oALUYHAcfDww1W1AHAAA=
|
79
|
-
http_version:
|
80
|
-
recorded_at: Thu, 17 Aug 2017 12:23:27 GMT
|
81
|
-
- request:
|
82
|
-
method: get
|
83
|
-
uri: https://cdn.contentful.com/spaces/j8tb59fszch7/environments/master/entries?content_type=parent
|
84
|
-
body:
|
85
|
-
encoding: US-ASCII
|
86
|
-
string: ''
|
87
|
-
headers:
|
88
|
-
X-Contentful-User-Agent:
|
89
|
-
- sdk contentful.rb/2.1.2; platform ruby/2.4.1; os macOS/16;
|
90
|
-
Authorization:
|
91
|
-
- Bearer 5f711401f965951eb724ac72ac905e13d892294ba209268f13a9b32e896c8694
|
92
|
-
Content-Type:
|
93
|
-
- application/vnd.contentful.delivery.v1+json
|
94
|
-
Accept-Encoding:
|
95
|
-
- gzip
|
96
|
-
Connection:
|
97
|
-
- close
|
98
|
-
Host:
|
99
|
-
- cdn.contentful.com
|
100
|
-
User-Agent:
|
101
|
-
- http.rb/2.2.2
|
102
|
-
response:
|
103
|
-
status:
|
104
|
-
code: 200
|
105
|
-
message: OK
|
106
|
-
headers:
|
107
|
-
Access-Control-Allow-Headers:
|
108
|
-
- Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent,X-Contentful-Enable-Experimental-Feature
|
109
|
-
Access-Control-Allow-Methods:
|
110
|
-
- GET,HEAD,OPTIONS
|
111
|
-
Access-Control-Allow-Origin:
|
112
|
-
- "*"
|
113
|
-
Access-Control-Expose-Headers:
|
114
|
-
- Etag
|
115
|
-
Access-Control-Max-Age:
|
116
|
-
- '86400'
|
117
|
-
Cache-Control:
|
118
|
-
- max-age=0
|
119
|
-
Content-Encoding:
|
120
|
-
- gzip
|
121
|
-
Content-Type:
|
122
|
-
- application/vnd.contentful.delivery.v1+json
|
123
|
-
Etag:
|
124
|
-
- W/"50b10e6946ba58441081ab4010bcc603"
|
125
|
-
Server:
|
126
|
-
- Contentful
|
127
|
-
X-Content-Type-Options:
|
128
|
-
- nosniff
|
129
|
-
X-Contentful-Request-Id:
|
130
|
-
- 54e27668a0265d1a9bc522aecba71a1a
|
131
|
-
Content-Length:
|
132
|
-
- '1171'
|
133
|
-
Accept-Ranges:
|
134
|
-
- bytes
|
135
|
-
Date:
|
136
|
-
- Thu, 17 Aug 2017 12:23:29 GMT
|
137
|
-
Via:
|
138
|
-
- 1.1 varnish
|
139
|
-
Age:
|
140
|
-
- '0'
|
141
|
-
Connection:
|
142
|
-
- close
|
143
|
-
X-Served-By:
|
144
|
-
- cache-gru7123-GRU
|
145
|
-
X-Cache:
|
146
|
-
- MISS
|
147
|
-
X-Cache-Hits:
|
148
|
-
- '0'
|
149
|
-
X-Timer:
|
150
|
-
- S1502972609.832470,VS0,VE217
|
151
|
-
Vary:
|
152
|
-
- Accept-Encoding
|
153
|
-
body:
|
154
|
-
encoding: ASCII-8BIT
|
155
|
-
string: !binary |-
|
156
|
-
H4sIAAAAAAAAA+2Y3W/iOBDA3/evqHg+iO34I+ENVS3a7bVcj7K99rQPxnHAbQgcCYfoqv/7OQ4fgSahzaW70qp5QImTsWfG85vx8P3TyUkjWkWN9sl3fasf4tVM6qdGZz7nq4Yee/4t+SaexjzQ49A8RY9qph+AeQjURMXJK5A+q1hOkgn/NhOm0x6sYlaKZlwkS22+SAczuiQDZnCj0+8qfGwka+4uvXr4eLPWuW9mPPhAeYk5D048JK4fPYkxS6zaXM/be2NnejVSGcK/2j0QkIcBEMtr1Htc3UWrQWb+rWJnYTxfZV+IueSx9DqJXxoIQNYErInIDXTbNmwj2iIM3GcFFjPvbQJz+a+K1DTc7MlaczENYxnGa4/U59rTzLy5Dp7xuV73uGuDqeCBiTAZNgf9jcDW+w1fycDbBWRiV0OMVTqWxlRqa9a4nPhaO6Qkdkzs7qLncBP3YuHuHN3f/BnMuqd9uhx1VpNl/+I0a60GJRtWWR/9UEWJq+iXED+Nou6gv6Tq89md7N6WaLrV+tv6LrUj+f1m+FahCBaezOSI1FMbwneM5+5CLue5X5qtfv1+5dGeqFvKe8k2bajPd2B2Qwu5T0K1lHyAW4yhLPlapJz9XJF8+pPlC/mvw+XFWWDreINqSbjt+bEgGayLzhrAnISQrDbhIwkPykcdNnaiSMYHRWRrHe7/9fVmDi7OBqtbdXl52uMDORi81lyjM/rROsOrAbwTV9dfup87CI06F5OLf26nJTrvSuImI2w2bZfJ9g4N643KK+h17Mg7gZ6f0mvgHLltjFoUvIHzIpEPzn8O5+z8IVDDoDPpTLuXywFFl/KaPpYwsxc2P4nz2bC7uL1HrEe7lz3Q68rJSHRKdH7JuRkxVV9zmybCX7TKFyTFXPpfVoTSKg/amLWgi99Q5QtECun/H3UzVnF6/CZMSopdBAUiPuf61hfMRY4DXSZsaO+VQH0qN1IHR9nFPOkJG5ZlIj5qrU8f/iLQtxMr23RZ+R63CPU5ZWg4hIyzIeMSMWZ7wJEQQA8Q1zqmZ+thNjrs+TwZcxXsNxGbIqWeEkOIjTHN7rYJeWPGCzPNq6Xy4rERNF3u/tUYSzUaJ80eJfDgbbYt2DvYmGkTv17xiWmIqli6f95LDbAeZnKU5T7T5P7SFR3mZ8AaoNb1GZEWdeDroS4SeVeozxdhuGqe8rj5hxLxYi6j5lLFYz0yi/WfBVET1o51rs8tjqFDgE25TTHgHsYu9G3Hc1xEAbD50DquaTWwKWCwEtgUlYLtIFwZ7Gq2fqBtMmTazxc0XjWgbYM2ZPr/uDec1otE3hVtCfSZQgoOhQNtQm0qJNBj2MaQYEfUXq/zPW4J1+cIYeoRglzuCl2opaA+sR3mCexT65ie1bDGLnMrYU0oLq3XlFTGuoqlH1BnoC7osmqAGjltov9kR2+p1wUi7wr10cqASN0FO9/pFkUEuJ7vAunjofRsRwAG4HDocu4IhsXxgq0PSJWO4rbOZ+4ho685ih+p2Bixymi/Yl/yjK1Kd9p369/nT8+f/gNYpN8blBsAAA==
|
157
|
-
http_version:
|
158
|
-
recorded_at: Thu, 17 Aug 2017 12:23:29 GMT
|
159
|
-
recorded_with: VCR 3.0.3
|