contentful-management 1.10.1 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.rubocop.yml +3 -0
- data/CHANGELOG.md +48 -0
- data/README.md +92 -50
- data/lib/contentful/management/api_key.rb +25 -2
- data/lib/contentful/management/array.rb +3 -3
- data/lib/contentful/management/asset.rb +13 -8
- data/lib/contentful/management/client.rb +73 -60
- data/lib/contentful/management/client_api_key_methods_factory.rb +8 -0
- data/lib/contentful/management/client_asset_methods_factory.rb +0 -2
- data/lib/contentful/management/client_association_all_published_method_factory.rb +2 -3
- data/lib/contentful/management/client_association_methods_factory.rb +9 -9
- data/lib/contentful/management/client_content_type_methods_factory.rb +8 -2
- data/lib/contentful/management/client_editor_interface_methods_factory.rb +12 -6
- data/lib/contentful/management/client_entry_methods_factory.rb +1 -3
- data/lib/contentful/management/client_environment_methods_factory.rb +59 -0
- data/lib/contentful/management/client_organization_methods_factory.rb +1 -1
- data/lib/contentful/management/client_personal_access_tokens_methods_factory.rb +3 -3
- data/lib/contentful/management/client_role_methods_factory.rb +8 -0
- data/lib/contentful/management/client_snapshot_methods_factory.rb +8 -6
- data/lib/contentful/management/client_space_methods_factory.rb +2 -6
- data/lib/contentful/management/client_upload_methods_factory.rb +8 -0
- data/lib/contentful/management/client_user_methods_factory.rb +1 -1
- data/lib/contentful/management/client_webhook_call_methods_factory.rb +11 -6
- data/lib/contentful/management/client_webhook_health_methods_factory.rb +2 -2
- data/lib/contentful/management/client_webhook_methods_factory.rb +8 -0
- data/lib/contentful/management/content_type.rb +9 -7
- data/lib/contentful/management/content_type_editor_interface_methods_factory.rb +7 -3
- data/lib/contentful/management/content_type_entry_methods_factory.rb +2 -2
- data/lib/contentful/management/content_type_snapshot_methods_factory.rb +16 -2
- data/lib/contentful/management/dynamic_entry.rb +1 -1
- data/lib/contentful/management/editor_interface.rb +14 -6
- data/lib/contentful/management/entry.rb +12 -10
- data/lib/contentful/management/entry_association_methods_factory.rb +2 -2
- data/lib/contentful/management/environment.rb +138 -0
- data/lib/contentful/management/environment_asset_methods_factory.rb +11 -0
- data/lib/contentful/management/environment_association_methods_factory.rb +42 -0
- data/lib/contentful/management/environment_content_type_methods_factory.rb +11 -0
- data/lib/contentful/management/environment_editor_interface_methods_factory.rb +15 -0
- data/lib/contentful/management/environment_entry_methods_factory.rb +11 -0
- data/lib/contentful/management/environment_locale_methods_factory.rb +11 -0
- data/lib/contentful/management/environment_ui_extension_methods_factory.rb +11 -0
- data/lib/contentful/management/field.rb +3 -3
- data/lib/contentful/management/file.rb +2 -2
- data/lib/contentful/management/link.rb +21 -7
- data/lib/contentful/management/locale.rb +4 -2
- data/lib/contentful/management/organization.rb +1 -1
- data/lib/contentful/management/personal_access_token.rb +2 -2
- data/lib/contentful/management/resource.rb +34 -13
- data/lib/contentful/management/resource/all_published.rb +2 -2
- data/lib/contentful/management/resource/archiver.rb +12 -2
- data/lib/contentful/management/resource/environment_aware.rb +13 -0
- data/lib/contentful/management/resource/publisher.rb +12 -2
- data/lib/contentful/management/resource/refresher.rb +1 -1
- data/lib/contentful/management/resource_builder.rb +16 -14
- data/lib/contentful/management/response.rb +1 -1
- data/lib/contentful/management/role.rb +29 -2
- data/lib/contentful/management/snapshot.rb +13 -7
- data/lib/contentful/management/space.rb +14 -93
- data/lib/contentful/management/space_association_methods_factory.rb +1 -1
- data/lib/contentful/management/{space_locale_methods_factory.rb → space_environment_methods_factory.rb} +2 -6
- data/lib/contentful/management/space_membership.rb +3 -3
- data/lib/contentful/management/ui_extension.rb +4 -2
- data/lib/contentful/management/upload.rb +24 -1
- data/lib/contentful/management/user.rb +4 -4
- data/lib/contentful/management/validation.rb +5 -5
- data/lib/contentful/management/version.rb +1 -1
- data/lib/contentful/management/webhook.rb +26 -3
- data/lib/contentful/management/webhook_call.rb +8 -8
- data/lib/contentful/management/webhook_health.rb +2 -2
- data/spec/fixtures/vcr_cassettes/asset/143_assets_next_page.yml +2 -2
- data/spec/fixtures/vcr_cassettes/asset/all.yml +1 -1
- data/spec/fixtures/vcr_cassettes/asset/archive.yml +2 -2
- data/spec/fixtures/vcr_cassettes/asset/archive_published.yml +2 -2
- data/spec/fixtures/vcr_cassettes/asset/archived_false.yml +2 -2
- data/spec/fixtures/vcr_cassettes/asset/archived_true.yml +2 -2
- data/spec/fixtures/vcr_cassettes/asset/create.yml +2 -2
- data/spec/fixtures/vcr_cassettes/asset/create_with_already_used_id.yml +1 -1
- data/spec/fixtures/vcr_cassettes/asset/create_with_custom_id.yml +2 -2
- data/spec/fixtures/vcr_cassettes/asset/create_with_locale.yml +2 -2
- data/spec/fixtures/vcr_cassettes/asset/destroy.yml +2 -2
- data/spec/fixtures/vcr_cassettes/asset/destroy_published.yml +2 -2
- data/spec/fixtures/vcr_cassettes/asset/find.yml +1 -1
- data/spec/fixtures/vcr_cassettes/asset/find_not_found.yml +1 -1
- data/spec/fixtures/vcr_cassettes/asset/limited_assets_next_page.yml +2 -2
- data/spec/fixtures/vcr_cassettes/asset/locale.yml +1 -1
- data/spec/fixtures/vcr_cassettes/asset/process.yml +2 -2
- data/spec/fixtures/vcr_cassettes/asset/publish.yml +2 -2
- data/spec/fixtures/vcr_cassettes/asset/publish_after_create.yml +3 -3
- data/spec/fixtures/vcr_cassettes/asset/publish_already_published.yml +2 -2
- data/spec/fixtures/vcr_cassettes/asset/published_false.yml +2 -2
- data/spec/fixtures/vcr_cassettes/asset/published_true.yml +2 -2
- data/spec/fixtures/vcr_cassettes/asset/reload.yml +4 -4
- data/spec/fixtures/vcr_cassettes/asset/reload_with_fields.yml +2 -2
- data/spec/fixtures/vcr_cassettes/asset/save_update.yml +2 -2
- data/spec/fixtures/vcr_cassettes/asset/select_operator.yml +1 -1
- data/spec/fixtures/vcr_cassettes/asset/set_locale.yml +1 -1
- data/spec/fixtures/vcr_cassettes/asset/unarchive.yml +2 -2
- data/spec/fixtures/vcr_cassettes/asset/unarchive_already_unarchive.yml +2 -2
- data/spec/fixtures/vcr_cassettes/asset/unarchive_already_unarchived.yml +2 -2
- data/spec/fixtures/vcr_cassettes/asset/unpublish.yml +2 -2
- data/spec/fixtures/vcr_cassettes/asset/unpublish_already_unpublished.yml +2 -2
- data/spec/fixtures/vcr_cassettes/asset/update_file.yml +2 -2
- data/spec/fixtures/vcr_cassettes/asset/update_to_specified_locale.yml +2 -2
- data/spec/fixtures/vcr_cassettes/asset/update_with_default_locale_without_file.yml +2 -2
- data/spec/fixtures/vcr_cassettes/content_type/activate.yml +2 -2
- data/spec/fixtures/vcr_cassettes/content_type/activate_with_invalid_version.yml +2 -2
- data/spec/fixtures/vcr_cassettes/content_type/activated_false.yml +2 -2
- data/spec/fixtures/vcr_cassettes/content_type/activated_true.yml +2 -2
- data/spec/fixtures/vcr_cassettes/content_type/all.yml +1 -1
- data/spec/fixtures/vcr_cassettes/content_type/all_public.yml +1 -1
- data/spec/fixtures/vcr_cassettes/content_type/create.yml +1 -1
- data/spec/fixtures/vcr_cassettes/content_type/create_content_type_with_id.yml +1 -1
- data/spec/fixtures/vcr_cassettes/content_type/create_with_Array_field.yml +1 -1
- data/spec/fixtures/vcr_cassettes/content_type/create_with_Boolean_field.yml +1 -1
- data/spec/fixtures/vcr_cassettes/content_type/create_with_Date_field.yml +1 -1
- data/spec/fixtures/vcr_cassettes/content_type/create_with_Integer_field.yml +1 -1
- data/spec/fixtures/vcr_cassettes/content_type/create_with_Link_field.yml +1 -1
- data/spec/fixtures/vcr_cassettes/content_type/create_with_Location_field.yml +1 -1
- data/spec/fixtures/vcr_cassettes/content_type/create_with_Number_field.yml +1 -1
- data/spec/fixtures/vcr_cassettes/content_type/create_with_Object_field.yml +1 -1
- data/spec/fixtures/vcr_cassettes/content_type/create_with_Symbol_field.yml +1 -1
- data/spec/fixtures/vcr_cassettes/content_type/create_with_Text_field.yml +1 -1
- data/spec/fixtures/vcr_cassettes/content_type/deactivate.yml +2 -2
- data/spec/fixtures/vcr_cassettes/content_type/deactivate_already_deactivated.yml +2 -2
- data/spec/fixtures/vcr_cassettes/content_type/deactivate_with_entries.yml +2 -2
- data/spec/fixtures/vcr_cassettes/content_type/deactivate_with_version_change.yml +2 -2
- data/spec/fixtures/vcr_cassettes/content_type/destroy.yml +2 -2
- data/spec/fixtures/vcr_cassettes/content_type/destroy_activated.yml +2 -2
- data/spec/fixtures/vcr_cassettes/content_type/entry/all.yml +4 -4
- data/spec/fixtures/vcr_cassettes/content_type/entry/create.yml +4 -4
- data/spec/fixtures/vcr_cassettes/content_type/entry/create_only_with_localized_fields.yml +2 -2
- data/spec/fixtures/vcr_cassettes/content_type/entry/create_to_single_locale_only_with_localized_fields.yml +2 -2
- data/spec/fixtures/vcr_cassettes/content_type/entry/create_with_camel_case_id_to_multiple_locales.yml +2 -2
- data/spec/fixtures/vcr_cassettes/content_type/entry/create_with_entries.yml +3 -3
- data/spec/fixtures/vcr_cassettes/content_type/entry/create_with_entries_for_multiple_locales.yml +9 -9
- data/spec/fixtures/vcr_cassettes/content_type/entry/create_with_multiple_locales.yml +2 -2
- data/spec/fixtures/vcr_cassettes/content_type/entry/update_only_with_localized_fields.yml +3 -3
- data/spec/fixtures/vcr_cassettes/content_type/fields/add.yml +2 -2
- data/spec/fixtures/vcr_cassettes/content_type/fields/create.yml +2 -2
- data/spec/fixtures/vcr_cassettes/content_type/fields/create_array_types.yml +3 -3
- data/spec/fixtures/vcr_cassettes/content_type/fields/create_array_with_params.yml +2 -2
- data/spec/fixtures/vcr_cassettes/content_type/fields/create_with_params.yml +2 -2
- data/spec/fixtures/vcr_cassettes/content_type/fields/destroy.yml +2 -2
- data/spec/fixtures/vcr_cassettes/content_type/fields/update_field.yml +2 -2
- data/spec/fixtures/vcr_cassettes/content_type/find.yml +1 -1
- data/spec/fixtures/vcr_cassettes/content_type/find_not_found.yml +1 -1
- data/spec/fixtures/vcr_cassettes/content_type/issue_79.yml +3 -3
- data/spec/fixtures/vcr_cassettes/content_type/omitted_field.yml +4 -4
- data/spec/fixtures/vcr_cassettes/content_type/reload.yml +4 -4
- data/spec/fixtures/vcr_cassettes/content_type/save_new.yml +3 -3
- data/spec/fixtures/vcr_cassettes/content_type/save_updated.yml +2 -2
- data/spec/fixtures/vcr_cassettes/content_type/save_with_added_field.yml +2 -2
- data/spec/fixtures/vcr_cassettes/content_type/update.yml +2 -2
- data/spec/fixtures/vcr_cassettes/content_type/update_change_field_name.yml +2 -2
- data/spec/fixtures/vcr_cassettes/content_type/update_remove_field.yml +2 -2
- data/spec/fixtures/vcr_cassettes/content_type/update_with_fields.yml +2 -2
- data/spec/fixtures/vcr_cassettes/content_type/update_with_one_new_field.yml +2 -2
- data/spec/fixtures/vcr_cassettes/content_type/validation/in.yml +3 -3
- data/spec/fixtures/vcr_cassettes/content_type/validation/in_add.yml +3 -3
- data/spec/fixtures/vcr_cassettes/content_type/validation/in_update.yml +3 -3
- data/spec/fixtures/vcr_cassettes/content_type/validation/link_content_type.yml +3 -3
- data/spec/fixtures/vcr_cassettes/content_type/validation/link_field.yml +3 -3
- data/spec/fixtures/vcr_cassettes/content_type/validation/link_mimetype_group.yml +3 -3
- data/spec/fixtures/vcr_cassettes/content_type/validation/multiple_add.yml +3 -3
- data/spec/fixtures/vcr_cassettes/content_type/validation/present.yml +3 -3
- data/spec/fixtures/vcr_cassettes/content_type/validation/range.yml +3 -3
- data/spec/fixtures/vcr_cassettes/content_type/validation/range_update.yml +3 -3
- data/spec/fixtures/vcr_cassettes/content_type/validation/regexp.yml +3 -3
- data/spec/fixtures/vcr_cassettes/content_type/validation/size.yml +3 -3
- data/spec/fixtures/vcr_cassettes/content_type/validation/unique.yml +3 -3
- data/spec/fixtures/vcr_cassettes/editor_interfaces/default_for_space.yml +1 -1
- data/spec/fixtures/vcr_cassettes/editor_interfaces/update.yml +3 -3
- data/spec/fixtures/vcr_cassettes/entry/all.yml +1 -1
- data/spec/fixtures/vcr_cassettes/entry/archive.yml +2 -2
- data/spec/fixtures/vcr_cassettes/entry/archive_published.yml +2 -2
- data/spec/fixtures/vcr_cassettes/entry/archived_false.yml +2 -2
- data/spec/fixtures/vcr_cassettes/entry/archived_true.yml +2 -2
- data/spec/fixtures/vcr_cassettes/entry/content_type_entires.yml +1 -1
- data/spec/fixtures/vcr_cassettes/entry/create.yml +4 -4
- data/spec/fixtures/vcr_cassettes/entry/create_with_asset.yml +3 -3
- data/spec/fixtures/vcr_cassettes/entry/create_with_assets.yml +3 -3
- data/spec/fixtures/vcr_cassettes/entry/create_with_custom_id.yml +2 -2
- data/spec/fixtures/vcr_cassettes/entry/create_with_entries.yml +3 -3
- data/spec/fixtures/vcr_cassettes/entry/create_with_entry.yml +3 -3
- data/spec/fixtures/vcr_cassettes/entry/create_with_just_id.yml +4 -4
- data/spec/fixtures/vcr_cassettes/entry/create_with_location.yml +2 -2
- data/spec/fixtures/vcr_cassettes/entry/create_with_specified_locale.yml +3 -3
- data/spec/fixtures/vcr_cassettes/entry/create_with_symbols.yml +2 -2
- data/spec/fixtures/vcr_cassettes/entry/destory_published.yml +2 -2
- data/spec/fixtures/vcr_cassettes/entry/destroy.yml +2 -2
- data/spec/fixtures/vcr_cassettes/entry/fallback_undefined.yml +3 -3
- data/spec/fixtures/vcr_cassettes/entry/find-with-null-symbols.yml +2 -2
- data/spec/fixtures/vcr_cassettes/entry/find.yml +1 -1
- data/spec/fixtures/vcr_cassettes/entry/find_not_found.yml +1 -1
- data/spec/fixtures/vcr_cassettes/entry/issue_61_1.yml +6 -6
- data/spec/fixtures/vcr_cassettes/entry/issue_61_2.yml +6 -6
- data/spec/fixtures/vcr_cassettes/entry/issue_61_3.yml +6 -6
- data/spec/fixtures/vcr_cassettes/entry/issue_61_4.yml +6 -6
- data/spec/fixtures/vcr_cassettes/entry/issue_61_5.yml +305 -198
- data/spec/fixtures/vcr_cassettes/entry/issue_61_6.yml +5 -5
- data/spec/fixtures/vcr_cassettes/entry/issue_61_7.yml +6 -6
- data/spec/fixtures/vcr_cassettes/entry/issue_61_8.yml +6 -6
- data/spec/fixtures/vcr_cassettes/entry/issue_61_spaces.yml +143 -188
- data/spec/fixtures/vcr_cassettes/entry/issue_70.yml +3 -3
- data/spec/fixtures/vcr_cassettes/entry/issue_73.yml +4 -4
- data/spec/fixtures/vcr_cassettes/entry/issue_91.yml +2 -2
- data/spec/fixtures/vcr_cassettes/entry/limited_entries.yml +2 -2
- data/spec/fixtures/vcr_cassettes/entry/locales/fallback_to_default_locale.yml +2 -2
- data/spec/fixtures/vcr_cassettes/entry/locales/retrieve_localized.yml +2 -2
- data/spec/fixtures/vcr_cassettes/entry/locales/simple_assignments_use_default_locale.yml +2 -2
- data/spec/fixtures/vcr_cassettes/entry/locales/simple_assignments_use_specified_locale.yml +2 -2
- data/spec/fixtures/vcr_cassettes/entry/publish.yml +2 -2
- data/spec/fixtures/vcr_cassettes/entry/publish_already_published.yml +2 -2
- data/spec/fixtures/vcr_cassettes/entry/published_false.yml +2 -2
- data/spec/fixtures/vcr_cassettes/entry/published_true.yml +2 -2
- data/spec/fixtures/vcr_cassettes/entry/reload.yml +6 -6
- data/spec/fixtures/vcr_cassettes/entry/save_update.yml +2 -2
- data/spec/fixtures/vcr_cassettes/entry/search_filter/equality_operator.yml +2 -2
- data/spec/fixtures/vcr_cassettes/entry/search_filter/exclusion_operator.yml +2 -2
- data/spec/fixtures/vcr_cassettes/entry/search_filter/full_search.yml +2 -2
- data/spec/fixtures/vcr_cassettes/entry/search_filter/full_search_match_operator.yml +2 -2
- data/spec/fixtures/vcr_cassettes/entry/search_filter/including_linked_entries.yml +2 -2
- data/spec/fixtures/vcr_cassettes/entry/search_filter/inclusion_operator.yml +2 -2
- data/spec/fixtures/vcr_cassettes/entry/search_filter/inequality_operator.yml +2 -2
- data/spec/fixtures/vcr_cassettes/entry/search_filter/location_search_near_operator.yml +2 -2
- data/spec/fixtures/vcr_cassettes/entry/search_filter/location_search_within_operator.yml +2 -2
- data/spec/fixtures/vcr_cassettes/entry/search_filter/matching_array_fields.yml +2 -2
- data/spec/fixtures/vcr_cassettes/entry/search_filter/order_sys_createdAt.yml +2 -2
- data/spec/fixtures/vcr_cassettes/entry/search_filter/order_sys_updatedAt.yml +2 -2
- data/spec/fixtures/vcr_cassettes/entry/search_filter/range_operators_greater_than_or_equal.yml +2 -2
- data/spec/fixtures/vcr_cassettes/entry/search_filter/range_operators_less.yml +2 -2
- data/spec/fixtures/vcr_cassettes/entry/search_filter/reverse_order_sys_updatedAt.yml +2 -2
- data/spec/fixtures/vcr_cassettes/entry/select_operator.yml +1 -1
- data/spec/fixtures/vcr_cassettes/entry/service_unavailable.yml +1 -1
- data/spec/fixtures/vcr_cassettes/entry/too_many_requests.yml +5 -5
- data/spec/fixtures/vcr_cassettes/entry/too_many_requests_retry.yml +6 -6
- data/spec/fixtures/vcr_cassettes/entry/unarchive.yml +2 -2
- data/spec/fixtures/vcr_cassettes/entry/unarchive_already_unarchived.yml +2 -2
- data/spec/fixtures/vcr_cassettes/entry/unpublish.yml +2 -2
- data/spec/fixtures/vcr_cassettes/entry/unpublish_already_unpublished.yml +2 -2
- data/spec/fixtures/vcr_cassettes/entry/update.yml +4 -4
- data/spec/fixtures/vcr_cassettes/entry/update_bool_field.yml +4 -4
- data/spec/fixtures/vcr_cassettes/entry/update_unlocalized_field.yml +3 -3
- data/spec/fixtures/vcr_cassettes/entry/update_with_custom_locale.yml +3 -3
- data/spec/fixtures/vcr_cassettes/environment/all.yml +226 -0
- data/spec/fixtures/vcr_cassettes/environment/create.yml +155 -0
- data/spec/fixtures/vcr_cassettes/environment/destroy.yml +89 -0
- data/spec/fixtures/vcr_cassettes/environment/find.yml +155 -0
- data/spec/fixtures/vcr_cassettes/environment/find_2.yml +155 -0
- data/spec/fixtures/vcr_cassettes/environment/not_found.yml +98 -0
- data/spec/fixtures/vcr_cassettes/locale/all_for_space.yml +1 -1
- data/spec/fixtures/vcr_cassettes/locale/create_for_space.yml +2 -2
- data/spec/fixtures/vcr_cassettes/locale/destroy.yml +5 -5
- data/spec/fixtures/vcr_cassettes/locale/fallback_code.yml +3 -3
- data/spec/fixtures/vcr_cassettes/locale/find.yml +1 -1
- data/spec/fixtures/vcr_cassettes/locale/find_default.yml +1 -1
- data/spec/fixtures/vcr_cassettes/locale/find_for_space_not_found.yml +1 -1
- data/spec/fixtures/vcr_cassettes/locale/find_not_default.yml +1 -1
- data/spec/fixtures/vcr_cassettes/locale/find_not_optional.yml +1 -1
- data/spec/fixtures/vcr_cassettes/locale/find_optional.yml +1 -1
- data/spec/fixtures/vcr_cassettes/locale/reload.yml +3 -3
- data/spec/fixtures/vcr_cassettes/locale/update_both.yml +3 -3
- data/spec/fixtures/vcr_cassettes/locale/update_code.yml +3 -3
- data/spec/fixtures/vcr_cassettes/locale/update_name.yml +3 -3
- data/spec/fixtures/vcr_cassettes/snapshot/all.yml +1 -1
- data/spec/fixtures/vcr_cassettes/snapshot/ct_all.yml +1 -1
- data/spec/fixtures/vcr_cassettes/snapshot/ct_find.yml +1 -1
- data/spec/fixtures/vcr_cassettes/snapshot/ct_find_not_found.yml +1 -1
- data/spec/fixtures/vcr_cassettes/snapshot/find.yml +1 -1
- data/spec/fixtures/vcr_cassettes/snapshot/find_not_found.yml +1 -1
- data/spec/fixtures/vcr_cassettes/snapshot/properties.yml +2 -2
- data/spec/fixtures/vcr_cassettes/ui_extension/all.yml +1 -1
- data/spec/fixtures/vcr_cassettes/ui_extension/create.yml +1 -1
- data/spec/fixtures/vcr_cassettes/ui_extension/delete.yml +3 -3
- data/spec/fixtures/vcr_cassettes/ui_extension/find.yml +1 -1
- data/spec/fixtures/vcr_cassettes/upload/associate_with_asset.yml +3 -3
- data/spec/lib/contentful/management/api_key_spec.rb +7 -7
- data/spec/lib/contentful/management/asset_spec.rb +38 -57
- data/spec/lib/contentful/management/client_spec.rb +1 -1
- data/spec/lib/contentful/management/content_type_spec.rb +78 -78
- data/spec/lib/contentful/management/editor_interface_spec.rb +4 -4
- data/spec/lib/contentful/management/entry_spec.rb +104 -114
- data/spec/lib/contentful/management/environment_spec.rb +87 -0
- data/spec/lib/contentful/management/locale_spec.rb +22 -22
- data/spec/lib/contentful/management/role_spec.rb +11 -11
- data/spec/lib/contentful/management/snapshot_spec.rb +27 -27
- data/spec/lib/contentful/management/space_membership_spec.rb +6 -7
- data/spec/lib/contentful/management/space_spec.rb +0 -282
- data/spec/lib/contentful/management/ui_extension_spec.rb +8 -8
- data/spec/lib/contentful/management/upload_spec.rb +9 -9
- data/spec/lib/contentful/management/webhook_calls_spec.rb +6 -6
- data/spec/lib/contentful/management/webhook_health_spec.rb +3 -3
- data/spec/lib/contentful/management/webhook_spec.rb +14 -12
- metadata +28 -14
- data/lib/contentful/management/space_asset_methods_factory.rb +0 -13
- data/lib/contentful/management/space_association_all_published_method_factory.rb +0 -12
- data/lib/contentful/management/space_content_type_methods_factory.rb +0 -13
- data/lib/contentful/management/space_editor_interface_methods_factory.rb +0 -21
- data/lib/contentful/management/space_entry_methods_factory.rb +0 -21
- data/lib/contentful/management/space_ui_extension_methods_factory.rb +0 -15
- data/spec/fixtures/vcr_cassettes/asset/all_public.yml +0 -112
- data/spec/fixtures/vcr_cassettes/entry/all_public.yml +0 -102
@@ -0,0 +1,155 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: put
|
5
|
+
uri: https://api.contentful.com/spaces/facgnwwgj5fe/environments/delete_me
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"name":"Delete Me"}'
|
9
|
+
headers:
|
10
|
+
X-Contentful-User-Agent:
|
11
|
+
- sdk contentful-management.rb/1.10.1; platform ruby/2.4.1; os macOS/16;
|
12
|
+
Authorization:
|
13
|
+
- Bearer <ACCESS_TOKEN>
|
14
|
+
Content-Type:
|
15
|
+
- application/vnd.contentful.management.v1+json
|
16
|
+
Connection:
|
17
|
+
- close
|
18
|
+
Host:
|
19
|
+
- api.contentful.com
|
20
|
+
User-Agent:
|
21
|
+
- http.rb/2.2.2
|
22
|
+
response:
|
23
|
+
status:
|
24
|
+
code: 201
|
25
|
+
message: Created
|
26
|
+
headers:
|
27
|
+
Accept-Ranges:
|
28
|
+
- bytes
|
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-Alpha-Feature
|
31
|
+
Access-Control-Allow-Methods:
|
32
|
+
- DELETE,GET,HEAD,POST,PUT,OPTIONS
|
33
|
+
Access-Control-Allow-Origin:
|
34
|
+
- "*"
|
35
|
+
Access-Control-Expose-Headers:
|
36
|
+
- Etag
|
37
|
+
Access-Control-Max-Age:
|
38
|
+
- '1728000'
|
39
|
+
Cache-Control:
|
40
|
+
- max-age=0
|
41
|
+
Cf-Organization-Id:
|
42
|
+
- 4SsuxQCaMaemfIms52Jr8s
|
43
|
+
Cf-Space-Id:
|
44
|
+
- facgnwwgj5fe
|
45
|
+
Content-Type:
|
46
|
+
- application/vnd.contentful.management.v1+json
|
47
|
+
Date:
|
48
|
+
- Fri, 16 Mar 2018 12:25:08 GMT
|
49
|
+
Etag:
|
50
|
+
- W/"2c7bf1f5088db60f5b27e59bb30b1fd6"
|
51
|
+
Server:
|
52
|
+
- Contentful
|
53
|
+
Strict-Transport-Security:
|
54
|
+
- max-age=15768000
|
55
|
+
X-Content-Type-Options:
|
56
|
+
- nosniff
|
57
|
+
X-Contentful-Ratelimit-Hour-Limit:
|
58
|
+
- '36000'
|
59
|
+
X-Contentful-Ratelimit-Hour-Remaining:
|
60
|
+
- '35997'
|
61
|
+
X-Contentful-Ratelimit-Reset:
|
62
|
+
- '0'
|
63
|
+
X-Contentful-Ratelimit-Second-Limit:
|
64
|
+
- '10'
|
65
|
+
X-Contentful-Ratelimit-Second-Remaining:
|
66
|
+
- '9'
|
67
|
+
X-Contentful-Request-Id:
|
68
|
+
- ef4ce899d6ac652f12b9001bff94e7f8
|
69
|
+
X-Frame-Options:
|
70
|
+
- ALLOWALL
|
71
|
+
X-Xss-Protection:
|
72
|
+
- 1; mode=block
|
73
|
+
Content-Length:
|
74
|
+
- '1134'
|
75
|
+
Connection:
|
76
|
+
- Close
|
77
|
+
Set-Cookie:
|
78
|
+
- incap_ses_476_673446=7LmYA4UzDydUN+RBuRebBqS3q1oAAAAAH1SZqAIJbSC0fufWJjbnZw==;
|
79
|
+
path=/; Domain=.contentful.com
|
80
|
+
- nlbi_673446=39JKS95K7BQG3CsR6lKYhQAAAADdLuHN8GBAS2S8OBXiFrlF; path=/; Domain=.contentful.com
|
81
|
+
- visid_incap_673446=wKNN4BDpRim7le9owavU46S3q1oAAAAAQUIPAAAAAACFSy4I/4PmW4cSaA2C5WwF;
|
82
|
+
expires=Sat, 16 Mar 2019 10:06:22 GMT; path=/; Domain=.contentful.com
|
83
|
+
X-Iinfo:
|
84
|
+
- 5-18705822-18705831 NNNN CT(107 107 0) RT(1521203107896 79) q(0 0 2 -1) r(7
|
85
|
+
7) U5
|
86
|
+
X-Cdn:
|
87
|
+
- Incapsula
|
88
|
+
body:
|
89
|
+
encoding: ASCII-8BIT
|
90
|
+
string: |+
|
91
|
+
{
|
92
|
+
"name":"Delete Me",
|
93
|
+
"sys":{
|
94
|
+
"type":"Environment",
|
95
|
+
"id":"delete_me",
|
96
|
+
"version":1,
|
97
|
+
"space":{
|
98
|
+
"sys":{
|
99
|
+
"type":"Link",
|
100
|
+
"linkType":"Space",
|
101
|
+
"id":"facgnwwgj5fe"
|
102
|
+
}
|
103
|
+
},
|
104
|
+
"status":{
|
105
|
+
"sys":{
|
106
|
+
"type":"Link",
|
107
|
+
"linkType":"Status",
|
108
|
+
"id":"queued"
|
109
|
+
}
|
110
|
+
},
|
111
|
+
"locales":[
|
112
|
+
{
|
113
|
+
"sys":{
|
114
|
+
"type":"Link",
|
115
|
+
"linkType":"Locale",
|
116
|
+
"id":"1NkEdf220AtNFVgJO9fFQ2"
|
117
|
+
}
|
118
|
+
},
|
119
|
+
{
|
120
|
+
"sys":{
|
121
|
+
"type":"Link",
|
122
|
+
"linkType":"Locale",
|
123
|
+
"id":"2QKRtwD3DKOkYKXJJsYdHk"
|
124
|
+
}
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"sys":{
|
128
|
+
"type":"Link",
|
129
|
+
"linkType":"Locale",
|
130
|
+
"id":"4YnLeSNLymCAZ6eYwJmhzu"
|
131
|
+
}
|
132
|
+
}
|
133
|
+
],
|
134
|
+
"createdBy":{
|
135
|
+
"sys":{
|
136
|
+
"type":"Link",
|
137
|
+
"linkType":"User",
|
138
|
+
"id":"4SejVrWT96dvL9IV4Nb7sQ"
|
139
|
+
}
|
140
|
+
},
|
141
|
+
"createdAt":"2018-03-16T12:25:08Z",
|
142
|
+
"updatedBy":{
|
143
|
+
"sys":{
|
144
|
+
"type":"Link",
|
145
|
+
"linkType":"User",
|
146
|
+
"id":"4SejVrWT96dvL9IV4Nb7sQ"
|
147
|
+
}
|
148
|
+
},
|
149
|
+
"updatedAt":"2018-03-16T12:25:08Z"
|
150
|
+
}
|
151
|
+
}
|
152
|
+
|
153
|
+
http_version:
|
154
|
+
recorded_at: Fri, 16 Mar 2018 12:25:07 GMT
|
155
|
+
recorded_with: VCR 4.0.0
|
@@ -0,0 +1,89 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: delete
|
5
|
+
uri: https://api.contentful.com/spaces/facgnwwgj5fe/environments/delete_me
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
X-Contentful-User-Agent:
|
11
|
+
- sdk contentful-management.rb/1.10.1; platform ruby/2.4.1; os macOS/16;
|
12
|
+
Authorization:
|
13
|
+
- Bearer <ACCESS_TOKEN>
|
14
|
+
Content-Type:
|
15
|
+
- application/vnd.contentful.management.v1+json
|
16
|
+
Connection:
|
17
|
+
- close
|
18
|
+
Host:
|
19
|
+
- api.contentful.com
|
20
|
+
User-Agent:
|
21
|
+
- http.rb/2.2.2
|
22
|
+
response:
|
23
|
+
status:
|
24
|
+
code: 204
|
25
|
+
message: No Content
|
26
|
+
headers:
|
27
|
+
Accept-Ranges:
|
28
|
+
- bytes
|
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-Alpha-Feature
|
31
|
+
Access-Control-Allow-Methods:
|
32
|
+
- DELETE,GET,HEAD,POST,PUT,OPTIONS
|
33
|
+
Access-Control-Allow-Origin:
|
34
|
+
- "*"
|
35
|
+
Access-Control-Expose-Headers:
|
36
|
+
- Etag
|
37
|
+
Access-Control-Max-Age:
|
38
|
+
- '1728000'
|
39
|
+
Cache-Control:
|
40
|
+
- max-age=0
|
41
|
+
Cf-Organization-Id:
|
42
|
+
- 4SsuxQCaMaemfIms52Jr8s
|
43
|
+
Cf-Space-Id:
|
44
|
+
- facgnwwgj5fe
|
45
|
+
Content-Type:
|
46
|
+
- application/octet-stream
|
47
|
+
Date:
|
48
|
+
- Fri, 16 Mar 2018 12:29:12 GMT
|
49
|
+
Server:
|
50
|
+
- Contentful
|
51
|
+
Strict-Transport-Security:
|
52
|
+
- max-age=15768000
|
53
|
+
X-Content-Type-Options:
|
54
|
+
- nosniff
|
55
|
+
X-Contentful-Ratelimit-Hour-Limit:
|
56
|
+
- '36000'
|
57
|
+
X-Contentful-Ratelimit-Hour-Remaining:
|
58
|
+
- '35995'
|
59
|
+
X-Contentful-Ratelimit-Reset:
|
60
|
+
- '0'
|
61
|
+
X-Contentful-Ratelimit-Second-Limit:
|
62
|
+
- '10'
|
63
|
+
X-Contentful-Ratelimit-Second-Remaining:
|
64
|
+
- '9'
|
65
|
+
X-Contentful-Request-Id:
|
66
|
+
- 27a0d66f1a11c4ca3a819288408a0466
|
67
|
+
X-Frame-Options:
|
68
|
+
- ALLOWALL
|
69
|
+
X-Xss-Protection:
|
70
|
+
- 1; mode=block
|
71
|
+
Connection:
|
72
|
+
- Close
|
73
|
+
Set-Cookie:
|
74
|
+
- incap_ses_476_673446=vSK9MiZ+WWkutuVBuRebBpi4q1oAAAAAkUns+0ivF2ZWthhH6iyibQ==;
|
75
|
+
path=/; Domain=.contentful.com
|
76
|
+
- nlbi_673446=8MirEN8eD2CnY+Xf6lKYhQAAAABsVHdxPCTs6RmmuKhoPYt8; path=/; Domain=.contentful.com
|
77
|
+
- visid_incap_673446=YAWRcv14QqCuLn+xBxrGjpi4q1oAAAAAQUIPAAAAAAD8jOZ8jBUMvGwUQQzQktGl;
|
78
|
+
expires=Sat, 16 Mar 2019 10:06:37 GMT; path=/; Domain=.contentful.com
|
79
|
+
X-Iinfo:
|
80
|
+
- 7-14664134-14664138 NNNN CT(107 109 0) RT(1521203351677 65) q(0 0 2 -1) r(9
|
81
|
+
9) U5
|
82
|
+
X-Cdn:
|
83
|
+
- Incapsula
|
84
|
+
body:
|
85
|
+
encoding: ASCII-8BIT
|
86
|
+
string: ''
|
87
|
+
http_version:
|
88
|
+
recorded_at: Fri, 16 Mar 2018 12:29:11 GMT
|
89
|
+
recorded_with: VCR 4.0.0
|
@@ -0,0 +1,155 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.contentful.com/spaces/facgnwwgj5fe/environments/testing
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
X-Contentful-User-Agent:
|
11
|
+
- sdk contentful-management.rb/1.10.1; platform ruby/2.4.1; os macOS/16;
|
12
|
+
Authorization:
|
13
|
+
- Bearer <ACCESS_TOKEN>
|
14
|
+
Content-Type:
|
15
|
+
- application/vnd.contentful.management.v1+json
|
16
|
+
Connection:
|
17
|
+
- close
|
18
|
+
Host:
|
19
|
+
- api.contentful.com
|
20
|
+
User-Agent:
|
21
|
+
- http.rb/2.2.2
|
22
|
+
response:
|
23
|
+
status:
|
24
|
+
code: 200
|
25
|
+
message: OK
|
26
|
+
headers:
|
27
|
+
Accept-Ranges:
|
28
|
+
- bytes
|
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-Alpha-Feature
|
31
|
+
Access-Control-Allow-Methods:
|
32
|
+
- DELETE,GET,HEAD,POST,PUT,OPTIONS
|
33
|
+
Access-Control-Allow-Origin:
|
34
|
+
- "*"
|
35
|
+
Access-Control-Expose-Headers:
|
36
|
+
- Etag
|
37
|
+
Access-Control-Max-Age:
|
38
|
+
- '1728000'
|
39
|
+
Cache-Control:
|
40
|
+
- max-age=0
|
41
|
+
Cf-Organization-Id:
|
42
|
+
- 4SsuxQCaMaemfIms52Jr8s
|
43
|
+
Cf-Space-Id:
|
44
|
+
- facgnwwgj5fe
|
45
|
+
Content-Type:
|
46
|
+
- application/vnd.contentful.management.v1+json
|
47
|
+
Date:
|
48
|
+
- Fri, 16 Mar 2018 12:22:27 GMT
|
49
|
+
Etag:
|
50
|
+
- W/"7addbd6e3f984290085000843bde767d"
|
51
|
+
Server:
|
52
|
+
- Contentful
|
53
|
+
Strict-Transport-Security:
|
54
|
+
- max-age=15768000
|
55
|
+
X-Content-Type-Options:
|
56
|
+
- nosniff
|
57
|
+
X-Contentful-Ratelimit-Hour-Limit:
|
58
|
+
- '36000'
|
59
|
+
X-Contentful-Ratelimit-Hour-Remaining:
|
60
|
+
- '35998'
|
61
|
+
X-Contentful-Ratelimit-Reset:
|
62
|
+
- '0'
|
63
|
+
X-Contentful-Ratelimit-Second-Limit:
|
64
|
+
- '10'
|
65
|
+
X-Contentful-Ratelimit-Second-Remaining:
|
66
|
+
- '9'
|
67
|
+
X-Contentful-Request-Id:
|
68
|
+
- 0b6e5ea046dcdbfe621054c688590d58
|
69
|
+
X-Frame-Options:
|
70
|
+
- ALLOWALL
|
71
|
+
X-Xss-Protection:
|
72
|
+
- 1; mode=block
|
73
|
+
Content-Length:
|
74
|
+
- '1129'
|
75
|
+
Connection:
|
76
|
+
- Close
|
77
|
+
Set-Cookie:
|
78
|
+
- incap_ses_476_673446=MIQZezI431CjO+NBuRebBgO3q1oAAAAAEVMgGq5vEgDPAqk0NaoklA==;
|
79
|
+
path=/; Domain=.contentful.com
|
80
|
+
- nlbi_673446=/67ufcQBPU+GeZRY6lKYhQAAAAAVluldiA0PfTvg//OqUBXm; path=/; Domain=.contentful.com
|
81
|
+
- visid_incap_673446=dxCJiuN2Q3SlVJ9mLcIXXwO3q1oAAAAAQUIPAAAAAAA/uZ0D7PeUbivPJhiFih9a;
|
82
|
+
expires=Sat, 16 Mar 2019 10:06:37 GMT; path=/; Domain=.contentful.com
|
83
|
+
X-Iinfo:
|
84
|
+
- 8-18287448-18287459 NNNN CT(107 110 0) RT(1521202946950 62) q(0 0 2 -1) r(4
|
85
|
+
4) U5
|
86
|
+
X-Cdn:
|
87
|
+
- Incapsula
|
88
|
+
body:
|
89
|
+
encoding: ASCII-8BIT
|
90
|
+
string: |+
|
91
|
+
{
|
92
|
+
"name":"testing",
|
93
|
+
"sys":{
|
94
|
+
"type":"Environment",
|
95
|
+
"id":"testing",
|
96
|
+
"version":6,
|
97
|
+
"space":{
|
98
|
+
"sys":{
|
99
|
+
"type":"Link",
|
100
|
+
"linkType":"Space",
|
101
|
+
"id":"facgnwwgj5fe"
|
102
|
+
}
|
103
|
+
},
|
104
|
+
"status":{
|
105
|
+
"sys":{
|
106
|
+
"type":"Link",
|
107
|
+
"linkType":"Status",
|
108
|
+
"id":"ready"
|
109
|
+
}
|
110
|
+
},
|
111
|
+
"locales":[
|
112
|
+
{
|
113
|
+
"sys":{
|
114
|
+
"type":"Link",
|
115
|
+
"linkType":"Locale",
|
116
|
+
"id":"1NkEdf220AtNFVgJO9fFQ2"
|
117
|
+
}
|
118
|
+
},
|
119
|
+
{
|
120
|
+
"sys":{
|
121
|
+
"type":"Link",
|
122
|
+
"linkType":"Locale",
|
123
|
+
"id":"2QKRtwD3DKOkYKXJJsYdHk"
|
124
|
+
}
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"sys":{
|
128
|
+
"type":"Link",
|
129
|
+
"linkType":"Locale",
|
130
|
+
"id":"4YnLeSNLymCAZ6eYwJmhzu"
|
131
|
+
}
|
132
|
+
}
|
133
|
+
],
|
134
|
+
"createdBy":{
|
135
|
+
"sys":{
|
136
|
+
"type":"Link",
|
137
|
+
"linkType":"User",
|
138
|
+
"id":"4SejVrWT96dvL9IV4Nb7sQ"
|
139
|
+
}
|
140
|
+
},
|
141
|
+
"createdAt":"2018-02-27T10:19:01Z",
|
142
|
+
"updatedBy":{
|
143
|
+
"sys":{
|
144
|
+
"type":"Link",
|
145
|
+
"linkType":"User",
|
146
|
+
"id":"4SejVrWT96dvL9IV4Nb7sQ"
|
147
|
+
}
|
148
|
+
},
|
149
|
+
"updatedAt":"2018-02-27T10:19:04Z"
|
150
|
+
}
|
151
|
+
}
|
152
|
+
|
153
|
+
http_version:
|
154
|
+
recorded_at: Fri, 16 Mar 2018 12:22:26 GMT
|
155
|
+
recorded_with: VCR 4.0.0
|
@@ -0,0 +1,155 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.contentful.com/spaces/facgnwwgj5fe/environments/delete_me
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
X-Contentful-User-Agent:
|
11
|
+
- sdk contentful-management.rb/1.10.1; platform ruby/2.4.1; os macOS/16;
|
12
|
+
Authorization:
|
13
|
+
- Bearer <ACCESS_TOKEN>
|
14
|
+
Content-Type:
|
15
|
+
- application/vnd.contentful.management.v1+json
|
16
|
+
Connection:
|
17
|
+
- close
|
18
|
+
Host:
|
19
|
+
- api.contentful.com
|
20
|
+
User-Agent:
|
21
|
+
- http.rb/2.2.2
|
22
|
+
response:
|
23
|
+
status:
|
24
|
+
code: 200
|
25
|
+
message: OK
|
26
|
+
headers:
|
27
|
+
Accept-Ranges:
|
28
|
+
- bytes
|
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-Alpha-Feature
|
31
|
+
Access-Control-Allow-Methods:
|
32
|
+
- DELETE,GET,HEAD,POST,PUT,OPTIONS
|
33
|
+
Access-Control-Allow-Origin:
|
34
|
+
- "*"
|
35
|
+
Access-Control-Expose-Headers:
|
36
|
+
- Etag
|
37
|
+
Access-Control-Max-Age:
|
38
|
+
- '1728000'
|
39
|
+
Cache-Control:
|
40
|
+
- max-age=0
|
41
|
+
Cf-Organization-Id:
|
42
|
+
- 4SsuxQCaMaemfIms52Jr8s
|
43
|
+
Cf-Space-Id:
|
44
|
+
- facgnwwgj5fe
|
45
|
+
Content-Type:
|
46
|
+
- application/vnd.contentful.management.v1+json
|
47
|
+
Date:
|
48
|
+
- Fri, 16 Mar 2018 12:29:11 GMT
|
49
|
+
Etag:
|
50
|
+
- W/"c0b5930f0f9b468ad0bdaaa5cfe08759"
|
51
|
+
Server:
|
52
|
+
- Contentful
|
53
|
+
Strict-Transport-Security:
|
54
|
+
- max-age=15768000
|
55
|
+
X-Content-Type-Options:
|
56
|
+
- nosniff
|
57
|
+
X-Contentful-Ratelimit-Hour-Limit:
|
58
|
+
- '36000'
|
59
|
+
X-Contentful-Ratelimit-Hour-Remaining:
|
60
|
+
- '35996'
|
61
|
+
X-Contentful-Ratelimit-Reset:
|
62
|
+
- '0'
|
63
|
+
X-Contentful-Ratelimit-Second-Limit:
|
64
|
+
- '10'
|
65
|
+
X-Contentful-Ratelimit-Second-Remaining:
|
66
|
+
- '9'
|
67
|
+
X-Contentful-Request-Id:
|
68
|
+
- dc9d83a9a5979f1a90e9fe05d28892f3
|
69
|
+
X-Frame-Options:
|
70
|
+
- ALLOWALL
|
71
|
+
X-Xss-Protection:
|
72
|
+
- 1; mode=block
|
73
|
+
Content-Length:
|
74
|
+
- '1133'
|
75
|
+
Connection:
|
76
|
+
- Close
|
77
|
+
Set-Cookie:
|
78
|
+
- incap_ses_476_673446=eXRPV/+xBE/HtOVBuRebBpe4q1oAAAAAfz6b/o0eu1rCa9g2qg8JYA==;
|
79
|
+
path=/; Domain=.contentful.com
|
80
|
+
- nlbi_673446=nF/VPc9TsyTFkZY16lKYhQAAAACxhaK212Q0q+4xLhdREsj3; path=/; Domain=.contentful.com
|
81
|
+
- visid_incap_673446=SlvpX40mQDGNvqKWW8n9z5e4q1oAAAAAQUIPAAAAAADjKCZ8TYn5LQh/WejAo5TG;
|
82
|
+
expires=Sat, 16 Mar 2019 10:06:37 GMT; path=/; Domain=.contentful.com
|
83
|
+
X-Iinfo:
|
84
|
+
- 7-14664080-14664084 NNNN CT(101 104 0) RT(1521203351055 66) q(0 0 2 -1) r(4
|
85
|
+
4) U5
|
86
|
+
X-Cdn:
|
87
|
+
- Incapsula
|
88
|
+
body:
|
89
|
+
encoding: ASCII-8BIT
|
90
|
+
string: |+
|
91
|
+
{
|
92
|
+
"name":"Delete Me",
|
93
|
+
"sys":{
|
94
|
+
"type":"Environment",
|
95
|
+
"id":"delete_me",
|
96
|
+
"version":6,
|
97
|
+
"space":{
|
98
|
+
"sys":{
|
99
|
+
"type":"Link",
|
100
|
+
"linkType":"Space",
|
101
|
+
"id":"facgnwwgj5fe"
|
102
|
+
}
|
103
|
+
},
|
104
|
+
"status":{
|
105
|
+
"sys":{
|
106
|
+
"type":"Link",
|
107
|
+
"linkType":"Status",
|
108
|
+
"id":"ready"
|
109
|
+
}
|
110
|
+
},
|
111
|
+
"locales":[
|
112
|
+
{
|
113
|
+
"sys":{
|
114
|
+
"type":"Link",
|
115
|
+
"linkType":"Locale",
|
116
|
+
"id":"1NkEdf220AtNFVgJO9fFQ2"
|
117
|
+
}
|
118
|
+
},
|
119
|
+
{
|
120
|
+
"sys":{
|
121
|
+
"type":"Link",
|
122
|
+
"linkType":"Locale",
|
123
|
+
"id":"2QKRtwD3DKOkYKXJJsYdHk"
|
124
|
+
}
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"sys":{
|
128
|
+
"type":"Link",
|
129
|
+
"linkType":"Locale",
|
130
|
+
"id":"4YnLeSNLymCAZ6eYwJmhzu"
|
131
|
+
}
|
132
|
+
}
|
133
|
+
],
|
134
|
+
"createdBy":{
|
135
|
+
"sys":{
|
136
|
+
"type":"Link",
|
137
|
+
"linkType":"User",
|
138
|
+
"id":"4SejVrWT96dvL9IV4Nb7sQ"
|
139
|
+
}
|
140
|
+
},
|
141
|
+
"createdAt":"2018-03-16T12:25:08Z",
|
142
|
+
"updatedBy":{
|
143
|
+
"sys":{
|
144
|
+
"type":"Link",
|
145
|
+
"linkType":"User",
|
146
|
+
"id":"4SejVrWT96dvL9IV4Nb7sQ"
|
147
|
+
}
|
148
|
+
},
|
149
|
+
"updatedAt":"2018-03-16T12:25:10Z"
|
150
|
+
}
|
151
|
+
}
|
152
|
+
|
153
|
+
http_version:
|
154
|
+
recorded_at: Fri, 16 Mar 2018 12:29:10 GMT
|
155
|
+
recorded_with: VCR 4.0.0
|