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
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/assets/r7o2iuDeSc4UmioOuoKq6
|
5
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/assets/r7o2iuDeSc4UmioOuoKq6
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -118,7 +118,7 @@ http_interactions:
|
|
118
118
|
recorded_at: Thu, 31 Jul 2014 07:28:33 GMT
|
119
119
|
- request:
|
120
120
|
method: delete
|
121
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/assets/r7o2iuDeSc4UmioOuoKq6
|
121
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/assets/r7o2iuDeSc4UmioOuoKq6
|
122
122
|
body:
|
123
123
|
encoding: US-ASCII
|
124
124
|
string: ''
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/assets/3PYa73pXXiAmKqm8eu4qOS
|
5
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/assets/3PYa73pXXiAmKqm8eu4qOS
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://api.contentful.com/spaces/bfsvtul0c41g/assets?limit=20&skip=2
|
5
|
+
uri: https://api.contentful.com/spaces/bfsvtul0c41g/environments/master/assets?limit=20&skip=2
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -62,7 +62,7 @@ http_interactions:
|
|
62
62
|
recorded_at: Mon, 18 Aug 2014 11:35:22 GMT
|
63
63
|
- request:
|
64
64
|
method: get
|
65
|
-
uri: https://api.contentful.com/spaces/bfsvtul0c41g/assets?limit=20&skip=22
|
65
|
+
uri: https://api.contentful.com/spaces/bfsvtul0c41g/environments/master/assets?limit=20&skip=22
|
66
66
|
body:
|
67
67
|
encoding: US-ASCII
|
68
68
|
string: ''
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/assets/5FDqplZoruAUGmiSa02asE
|
5
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/assets/5FDqplZoruAUGmiSa02asE
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: https://api.contentful.com/spaces/bfsvtul0c41g/assets
|
5
|
+
uri: https://api.contentful.com/spaces/bfsvtul0c41g/environments/master/assets
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: '{"fields":{"title":{"en-US":"Asset title"},"description":{"en-US":"Description"},"file":{"en-US":{"contentType":"image/jpeg","fileName":"pic1.jpg","upload":"https://upload.wikimedia.org/wikipedia/commons/c/c7/Gasometer_Berlin_Sch%C3%B6neberg_2011.jpg"}}}}'
|
@@ -98,7 +98,7 @@ http_interactions:
|
|
98
98
|
recorded_at: Thu, 21 Aug 2014 08:32:53 GMT
|
99
99
|
- request:
|
100
100
|
method: put
|
101
|
-
uri: https://api.contentful.com/spaces/bfsvtul0c41g/assets/24D9Fzto204Ma6i6CqEYke/files/en-US/process
|
101
|
+
uri: https://api.contentful.com/spaces/bfsvtul0c41g/environments/master/assets/24D9Fzto204Ma6i6CqEYke/files/en-US/process
|
102
102
|
body:
|
103
103
|
encoding: US-ASCII
|
104
104
|
string: ''
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/assets/5FDqplZoruAUGmiSa02asE
|
5
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/assets/5FDqplZoruAUGmiSa02asE
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -109,7 +109,7 @@ http_interactions:
|
|
109
109
|
recorded_at: Thu, 31 Jul 2014 07:30:20 GMT
|
110
110
|
- request:
|
111
111
|
method: put
|
112
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/assets/5FDqplZoruAUGmiSa02asE/published
|
112
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/assets/5FDqplZoruAUGmiSa02asE/published
|
113
113
|
body:
|
114
114
|
encoding: US-ASCII
|
115
115
|
string: ''
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/assets
|
5
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/assets
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: '{"fields":{"title":{"en-US":"titlebyCreateAPI"},"description":{"en-US":"descByAPI"},"file":{"en-US":{"contentType":"image/jpeg","fileName":"pic1.jpg","upload":"https://upload.wikimedia.org/wikipedia/commons/c/c7/Gasometer_Berlin_Sch%C3%B6neberg_2011.jpg"}}}}'
|
@@ -98,7 +98,7 @@ http_interactions:
|
|
98
98
|
recorded_at: Wed, 06 Aug 2014 09:40:45 GMT
|
99
99
|
- request:
|
100
100
|
method: put
|
101
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/assets/RuJ0QuWbmKSIWGCwmwuyc/files/en-US/process
|
101
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/assets/RuJ0QuWbmKSIWGCwmwuyc/files/en-US/process
|
102
102
|
body:
|
103
103
|
encoding: US-ASCII
|
104
104
|
string: ''
|
@@ -149,7 +149,7 @@ http_interactions:
|
|
149
149
|
recorded_at: Wed, 06 Aug 2014 09:40:46 GMT
|
150
150
|
- request:
|
151
151
|
method: put
|
152
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/assets/RuJ0QuWbmKSIWGCwmwuyc/published
|
152
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/assets/RuJ0QuWbmKSIWGCwmwuyc/published
|
153
153
|
body:
|
154
154
|
encoding: US-ASCII
|
155
155
|
string: ''
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/assets/5FDqplZoruAUGmiSa02asE
|
5
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/assets/5FDqplZoruAUGmiSa02asE
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -118,7 +118,7 @@ http_interactions:
|
|
118
118
|
recorded_at: Thu, 31 Jul 2014 07:30:51 GMT
|
119
119
|
- request:
|
120
120
|
method: put
|
121
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/assets/5FDqplZoruAUGmiSa02asE/published
|
121
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/assets/5FDqplZoruAUGmiSa02asE/published
|
122
122
|
body:
|
123
123
|
encoding: US-ASCII
|
124
124
|
string: ''
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/assets/3PYa73pXXiAmKqm8eu4qOS
|
5
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/assets/3PYa73pXXiAmKqm8eu4qOS
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -118,7 +118,7 @@ http_interactions:
|
|
118
118
|
recorded_at: Thu, 31 Jul 2014 07:32:10 GMT
|
119
119
|
- request:
|
120
120
|
method: delete
|
121
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/assets/3PYa73pXXiAmKqm8eu4qOS/published
|
121
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/assets/3PYa73pXXiAmKqm8eu4qOS/published
|
122
122
|
body:
|
123
123
|
encoding: US-ASCII
|
124
124
|
string: ''
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/assets/3PYa73pXXiAmKqm8eu4qOS
|
5
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/assets/3PYa73pXXiAmKqm8eu4qOS
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -107,7 +107,7 @@ http_interactions:
|
|
107
107
|
recorded_at: Thu, 31 Jul 2014 07:31:19 GMT
|
108
108
|
- request:
|
109
109
|
method: put
|
110
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/assets/3PYa73pXXiAmKqm8eu4qOS/published
|
110
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/assets/3PYa73pXXiAmKqm8eu4qOS/published
|
111
111
|
body:
|
112
112
|
encoding: US-ASCII
|
113
113
|
string: ''
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://api.contentful.com/spaces/bfsvtul0c41g/assets/8R4vbQXKbCkcSu26Wy2U0
|
5
|
+
uri: https://api.contentful.com/spaces/bfsvtul0c41g/environments/master/assets/8R4vbQXKbCkcSu26Wy2U0
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -118,7 +118,7 @@ http_interactions:
|
|
118
118
|
recorded_at: Tue, 19 Aug 2014 10:10:26 GMT
|
119
119
|
- request:
|
120
120
|
method: put
|
121
|
-
uri: https://api.contentful.com/spaces/bfsvtul0c41g/assets/8R4vbQXKbCkcSu26Wy2U0
|
121
|
+
uri: https://api.contentful.com/spaces/bfsvtul0c41g/environments/master/assets/8R4vbQXKbCkcSu26Wy2U0
|
122
122
|
body:
|
123
123
|
encoding: UTF-8
|
124
124
|
string: '{"fields":{"title":{"en-US":"Updated name"},"description":{"en-US":"testowy"},"file":{"en-US":{"fileName":"Mowing_your_Lawn_-_Advice_and_Tips","contentType":"image/jpeg","details":{"image":{"width":801,"height":1000},"size":105202},"url":"//images.contentful.com/bfsvtul0c41g/8R4vbQXKbCkcSu26Wy2U0/4ca4dabb0305045fa5c3c786bf5d7592/mow.jpg"}}}}'
|
@@ -173,7 +173,7 @@ http_interactions:
|
|
173
173
|
recorded_at: Tue, 19 Aug 2014 10:10:27 GMT
|
174
174
|
- request:
|
175
175
|
method: get
|
176
|
-
uri: https://api.contentful.com/spaces/bfsvtul0c41g/assets/8R4vbQXKbCkcSu26Wy2U0
|
176
|
+
uri: https://api.contentful.com/spaces/bfsvtul0c41g/environments/master/assets/8R4vbQXKbCkcSu26Wy2U0
|
177
177
|
body:
|
178
178
|
encoding: US-ASCII
|
179
179
|
string: ''
|
@@ -289,7 +289,7 @@ http_interactions:
|
|
289
289
|
recorded_at: Tue, 19 Aug 2014 10:10:30 GMT
|
290
290
|
- request:
|
291
291
|
method: put
|
292
|
-
uri: https://api.contentful.com/spaces/bfsvtul0c41g/assets/8R4vbQXKbCkcSu26Wy2U0
|
292
|
+
uri: https://api.contentful.com/spaces/bfsvtul0c41g/environments/master/assets/8R4vbQXKbCkcSu26Wy2U0
|
293
293
|
body:
|
294
294
|
encoding: UTF-8
|
295
295
|
string: '{"fields":{"title":{"en-US":"Updated name"},"description":{"en-US":"testowy"},"file":{"en-US":{"fileName":"Mowing_your_Lawn_-_Advice_and_Tips","contentType":"image/jpeg","details":{"image":{"width":801,"height":1000},"size":105202},"url":"//images.contentful.com/bfsvtul0c41g/8R4vbQXKbCkcSu26Wy2U0/4ca4dabb0305045fa5c3c786bf5d7592/mow.jpg"}}}}'
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://api.contentful.com/spaces/bfsvtul0c41g/assets/8R4vbQXKbCkcSu26Wy2U0
|
5
|
+
uri: https://api.contentful.com/spaces/bfsvtul0c41g/environments/master/assets/8R4vbQXKbCkcSu26Wy2U0
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -118,7 +118,7 @@ http_interactions:
|
|
118
118
|
recorded_at: Tue, 19 Aug 2014 10:10:26 GMT
|
119
119
|
- request:
|
120
120
|
method: get
|
121
|
-
uri: https://api.contentful.com/spaces/bfsvtul0c41g/assets/8R4vbQXKbCkcSu26Wy2U0
|
121
|
+
uri: https://api.contentful.com/spaces/bfsvtul0c41g/environments/master/assets/8R4vbQXKbCkcSu26Wy2U0
|
122
122
|
body:
|
123
123
|
encoding: US-ASCII
|
124
124
|
string: ''
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/assets/35Kt2tInIsoauo8sC82q04
|
5
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/assets/35Kt2tInIsoauo8sC82q04
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -121,7 +121,7 @@ http_interactions:
|
|
121
121
|
recorded_at: Fri, 01 Aug 2014 12:09:20 GMT
|
122
122
|
- request:
|
123
123
|
method: put
|
124
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/assets/35Kt2tInIsoauo8sC82q04
|
124
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/assets/35Kt2tInIsoauo8sC82q04
|
125
125
|
body:
|
126
126
|
encoding: UTF-8
|
127
127
|
string: '{"fields":{"title":{"en-US":"Company logo","pl":"Firmowe logo"},"description":{"en-US":"Firmowe
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://api.contentful.com/spaces/cfexampleapi/assets?select=fields.title,sys&sys.id=nyancat
|
5
|
+
uri: https://api.contentful.com/spaces/cfexampleapi/environments/master/assets?select=fields.title,sys&sys.id=nyancat
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/assets/5FDqplZoruAUGmiSa02asE
|
5
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/assets/5FDqplZoruAUGmiSa02asE
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/assets/5FDqplZoruAUGmiSa02asE
|
5
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/assets/5FDqplZoruAUGmiSa02asE
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -118,7 +118,7 @@ http_interactions:
|
|
118
118
|
recorded_at: Thu, 31 Jul 2014 07:32:58 GMT
|
119
119
|
- request:
|
120
120
|
method: delete
|
121
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/assets/5FDqplZoruAUGmiSa02asE/archived
|
121
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/assets/5FDqplZoruAUGmiSa02asE/archived
|
122
122
|
body:
|
123
123
|
encoding: US-ASCII
|
124
124
|
string: ''
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/assets/5FDqplZoruAUGmiSa02asE
|
5
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/assets/5FDqplZoruAUGmiSa02asE
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -109,7 +109,7 @@ http_interactions:
|
|
109
109
|
recorded_at: Thu, 31 Jul 2014 07:34:55 GMT
|
110
110
|
- request:
|
111
111
|
method: delete
|
112
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/assets/5FDqplZoruAUGmiSa02asE/archived
|
112
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/assets/5FDqplZoruAUGmiSa02asE/archived
|
113
113
|
body:
|
114
114
|
encoding: US-ASCII
|
115
115
|
string: ''
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/assets/5FDqplZoruAUGmiSa02asE
|
5
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/assets/5FDqplZoruAUGmiSa02asE
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -109,7 +109,7 @@ http_interactions:
|
|
109
109
|
recorded_at: Thu, 31 Jul 2014 07:33:16 GMT
|
110
110
|
- request:
|
111
111
|
method: delete
|
112
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/assets/5FDqplZoruAUGmiSa02asE/archived
|
112
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/assets/5FDqplZoruAUGmiSa02asE/archived
|
113
113
|
body:
|
114
114
|
encoding: US-ASCII
|
115
115
|
string: ''
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/assets/5FDqplZoruAUGmiSa02asE
|
5
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/assets/5FDqplZoruAUGmiSa02asE
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -118,7 +118,7 @@ http_interactions:
|
|
118
118
|
recorded_at: Thu, 31 Jul 2014 07:29:40 GMT
|
119
119
|
- request:
|
120
120
|
method: delete
|
121
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/assets/5FDqplZoruAUGmiSa02asE/published
|
121
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/assets/5FDqplZoruAUGmiSa02asE/published
|
122
122
|
body:
|
123
123
|
encoding: US-ASCII
|
124
124
|
string: ''
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/assets/5FDqplZoruAUGmiSa02asE
|
5
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/assets/5FDqplZoruAUGmiSa02asE
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -109,7 +109,7 @@ http_interactions:
|
|
109
109
|
recorded_at: Thu, 31 Jul 2014 07:30:06 GMT
|
110
110
|
- request:
|
111
111
|
method: delete
|
112
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/assets/5FDqplZoruAUGmiSa02asE/published
|
112
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/assets/5FDqplZoruAUGmiSa02asE/published
|
113
113
|
body:
|
114
114
|
encoding: US-ASCII
|
115
115
|
string: ''
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/assets/4DmT2j54pWY8ocimkEU6qS
|
5
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/assets/4DmT2j54pWY8ocimkEU6qS
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -107,7 +107,7 @@ http_interactions:
|
|
107
107
|
recorded_at: Thu, 31 Jul 2014 07:41:50 GMT
|
108
108
|
- request:
|
109
109
|
method: put
|
110
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/assets/4DmT2j54pWY8ocimkEU6qS
|
110
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/assets/4DmT2j54pWY8ocimkEU6qS
|
111
111
|
body:
|
112
112
|
encoding: UTF-8
|
113
113
|
string: '{"fields":{"title":{"en-US":"Title new"},"description":{"en-US":"Description
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/assets/codequest_id_test_custom_id
|
5
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/assets/codequest_id_test_custom_id
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -108,7 +108,7 @@ http_interactions:
|
|
108
108
|
recorded_at: Thu, 31 Jul 2014 07:42:28 GMT
|
109
109
|
- request:
|
110
110
|
method: put
|
111
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/assets/codequest_id_test_custom_id
|
111
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/assets/codequest_id_test_custom_id
|
112
112
|
body:
|
113
113
|
encoding: UTF-8
|
114
114
|
string: '{"fields":{"title":{"en-US":"3242","pl-PL":"swerwer","pl":"updateTitlePl"},"description":{"en-US":null,"pl-PL":null,"pl":"updateDescPl"},"file":{"en-US":{},"pl-PL":null,"pl":{"contentType":"image/jpeg","fileName":"codequest.jpg","upload":"http://static.goldenline.pl/firm_logo/082/firm_225106_22f37f_small.jpg"}}}}'
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/assets/4DmT2j54pWY8ocimkEU6qS
|
5
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/assets/4DmT2j54pWY8ocimkEU6qS
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -107,7 +107,7 @@ http_interactions:
|
|
107
107
|
recorded_at: Thu, 31 Jul 2014 07:40:28 GMT
|
108
108
|
- request:
|
109
109
|
method: put
|
110
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/assets/4DmT2j54pWY8ocimkEU6qS
|
110
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/assets/4DmT2j54pWY8ocimkEU6qS
|
111
111
|
body:
|
112
112
|
encoding: UTF-8
|
113
113
|
string: '{"fields":{"title":{"en-US":"Title new"},"description":{"en-US":"Description
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/content_types/4EnwylPOikyMGUIy8uQgQY
|
5
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/content_types/4EnwylPOikyMGUIy8uQgQY
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -117,7 +117,7 @@ http_interactions:
|
|
117
117
|
recorded_at: Thu, 31 Jul 2014 08:51:14 GMT
|
118
118
|
- request:
|
119
119
|
method: put
|
120
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/content_types/4EnwylPOikyMGUIy8uQgQY/published
|
120
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/content_types/4EnwylPOikyMGUIy8uQgQY/published
|
121
121
|
body:
|
122
122
|
encoding: US-ASCII
|
123
123
|
string: ''
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/content_types/4EnwylPOikyMGUIy8uQgQY
|
5
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/content_types/4EnwylPOikyMGUIy8uQgQY
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -128,7 +128,7 @@ http_interactions:
|
|
128
128
|
recorded_at: Thu, 31 Jul 2014 08:53:32 GMT
|
129
129
|
- request:
|
130
130
|
method: put
|
131
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/content_types/4EnwylPOikyMGUIy8uQgQY/published
|
131
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/content_types/4EnwylPOikyMGUIy8uQgQY/published
|
132
132
|
body:
|
133
133
|
encoding: US-ASCII
|
134
134
|
string: ''
|