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
@@ -82,7 +82,7 @@ http_interactions:
|
|
82
82
|
recorded_at: Wed, 15 Oct 2014 08:39:10 GMT
|
83
83
|
- request:
|
84
84
|
method: get
|
85
|
-
uri: https://api.contentful.com/spaces/v2umtz8ths9v/content_types
|
85
|
+
uri: https://api.contentful.com/spaces/v2umtz8ths9v/environments/master/content_types
|
86
86
|
body:
|
87
87
|
encoding: US-ASCII
|
88
88
|
string: ''
|
@@ -344,7 +344,7 @@ http_interactions:
|
|
344
344
|
recorded_at: Wed, 15 Oct 2014 08:39:11 GMT
|
345
345
|
- request:
|
346
346
|
method: get
|
347
|
-
uri: https://api.contentful.com/spaces/v2umtz8ths9v/content_types/category_content_type
|
347
|
+
uri: https://api.contentful.com/spaces/v2umtz8ths9v/environments/master/content_types/category_content_type
|
348
348
|
body:
|
349
349
|
encoding: US-ASCII
|
350
350
|
string: ''
|
@@ -459,7 +459,7 @@ http_interactions:
|
|
459
459
|
recorded_at: Wed, 15 Oct 2014 08:39:12 GMT
|
460
460
|
- request:
|
461
461
|
method: put
|
462
|
-
uri: https://api.contentful.com/spaces/v2umtz8ths9v/content_types/category_content_type
|
462
|
+
uri: https://api.contentful.com/spaces/v2umtz8ths9v/environments/master/content_types/category_content_type
|
463
463
|
body:
|
464
464
|
encoding: UTF-8
|
465
465
|
string: '{"name":"Category","description":"","fields":[{"id":"name","name":"Name","type":"Text","localized":true,"validations":[{"size":{"min":2,"max":22}},{"in":["dom","chatka"]}]},{"id":"description","name":"Description","type":"Text"},{"id":"valid","name":"Valid","type":"Text","validations":[{"in":["foo","bar","baz"]}]}]}'
|
@@ -82,7 +82,7 @@ http_interactions:
|
|
82
82
|
recorded_at: Wed, 15 Oct 2014 09:53:38 GMT
|
83
83
|
- request:
|
84
84
|
method: get
|
85
|
-
uri: https://api.contentful.com/spaces/v2umtz8ths9v/content_types
|
85
|
+
uri: https://api.contentful.com/spaces/v2umtz8ths9v/environments/master/content_types
|
86
86
|
body:
|
87
87
|
encoding: US-ASCII
|
88
88
|
string: ''
|
@@ -357,7 +357,7 @@ http_interactions:
|
|
357
357
|
recorded_at: Wed, 15 Oct 2014 09:53:38 GMT
|
358
358
|
- request:
|
359
359
|
method: get
|
360
|
-
uri: https://api.contentful.com/spaces/v2umtz8ths9v/content_types/category_content_type
|
360
|
+
uri: https://api.contentful.com/spaces/v2umtz8ths9v/environments/master/content_types/category_content_type
|
361
361
|
body:
|
362
362
|
encoding: US-ASCII
|
363
363
|
string: ''
|
@@ -485,7 +485,7 @@ http_interactions:
|
|
485
485
|
recorded_at: Wed, 15 Oct 2014 09:53:39 GMT
|
486
486
|
- request:
|
487
487
|
method: put
|
488
|
-
uri: https://api.contentful.com/spaces/v2umtz8ths9v/content_types/category_content_type
|
488
|
+
uri: https://api.contentful.com/spaces/v2umtz8ths9v/environments/master/content_types/category_content_type
|
489
489
|
body:
|
490
490
|
encoding: UTF-8
|
491
491
|
string: '{"name":"Category","description":"","fields":[{"id":"name","name":"Name","type":"Text","localized":true,"validations":[{"size":{"min":2,"max":22}},{"in":["dom","chatka"]}]},{"id":"description","name":"Description","type":"Text"},{"id":"valid","name":"Valid","type":"Text","validations":[{"in":["foo","bar","baz"]},{"size":{"min":2,"max":10}}]}]}'
|
@@ -82,7 +82,7 @@ http_interactions:
|
|
82
82
|
recorded_at: Wed, 15 Oct 2014 10:22:13 GMT
|
83
83
|
- request:
|
84
84
|
method: get
|
85
|
-
uri: https://api.contentful.com/spaces/v2umtz8ths9v/content_types
|
85
|
+
uri: https://api.contentful.com/spaces/v2umtz8ths9v/environments/master/content_types
|
86
86
|
body:
|
87
87
|
encoding: US-ASCII
|
88
88
|
string: ''
|
@@ -376,7 +376,7 @@ http_interactions:
|
|
376
376
|
recorded_at: Wed, 15 Oct 2014 10:22:14 GMT
|
377
377
|
- request:
|
378
378
|
method: get
|
379
|
-
uri: https://api.contentful.com/spaces/v2umtz8ths9v/content_types/category_content_type
|
379
|
+
uri: https://api.contentful.com/spaces/v2umtz8ths9v/environments/master/content_types/category_content_type
|
380
380
|
body:
|
381
381
|
encoding: US-ASCII
|
382
382
|
string: ''
|
@@ -523,7 +523,7 @@ http_interactions:
|
|
523
523
|
recorded_at: Wed, 15 Oct 2014 10:22:15 GMT
|
524
524
|
- request:
|
525
525
|
method: put
|
526
|
-
uri: https://api.contentful.com/spaces/v2umtz8ths9v/content_types/category_content_type
|
526
|
+
uri: https://api.contentful.com/spaces/v2umtz8ths9v/environments/master/content_types/category_content_type
|
527
527
|
body:
|
528
528
|
encoding: UTF-8
|
529
529
|
string: '{"name":"Category","description":"","fields":[{"id":"name","name":"Name","type":"Text","localized":true,"validations":[{"size":{"min":2,"max":222}},{"in":["dom","chatka"]}]},{"id":"description","name":"Description","type":"Text"},{"id":"valid","name":"Valid","type":"Text","validations":[{"in":["foo","bar"]},{"size":{"min":2,"max":10}}]},{"id":"asset_valid","name":"AssetValid","type":"Link","linkType":"Asset","validations":[{"linkMimetypeGroup":"pdfdocument"}]}]}'
|
@@ -82,7 +82,7 @@ http_interactions:
|
|
82
82
|
recorded_at: Wed, 15 Oct 2014 12:27:38 GMT
|
83
83
|
- request:
|
84
84
|
method: get
|
85
|
-
uri: https://api.contentful.com/spaces/v2umtz8ths9v/content_types
|
85
|
+
uri: https://api.contentful.com/spaces/v2umtz8ths9v/environments/master/content_types
|
86
86
|
body:
|
87
87
|
encoding: US-ASCII
|
88
88
|
string: ''
|
@@ -469,7 +469,7 @@ http_interactions:
|
|
469
469
|
recorded_at: Wed, 15 Oct 2014 12:27:39 GMT
|
470
470
|
- request:
|
471
471
|
method: get
|
472
|
-
uri: https://api.contentful.com/spaces/v2umtz8ths9v/content_types/1JrDv4JJsYuY4KGEEgAsQU
|
472
|
+
uri: https://api.contentful.com/spaces/v2umtz8ths9v/environments/master/content_types/1JrDv4JJsYuY4KGEEgAsQU
|
473
473
|
body:
|
474
474
|
encoding: US-ASCII
|
475
475
|
string: ''
|
@@ -605,7 +605,7 @@ http_interactions:
|
|
605
605
|
recorded_at: Wed, 15 Oct 2014 12:27:40 GMT
|
606
606
|
- request:
|
607
607
|
method: put
|
608
|
-
uri: https://api.contentful.com/spaces/v2umtz8ths9v/content_types/1JrDv4JJsYuY4KGEEgAsQU
|
608
|
+
uri: https://api.contentful.com/spaces/v2umtz8ths9v/environments/master/content_types/1JrDv4JJsYuY4KGEEgAsQU
|
609
609
|
body:
|
610
610
|
encoding: UTF-8
|
611
611
|
string: '{"name":"Validation","description":"","fields":[{"id":"number","name":"Number","type":"Number","validations":[{"range":{"min":50,"max":200}}]},{"id":"entries","name":"entries","type":"Array","validations":[{"linkContentType":["post_content_type"]}]},{"id":"assets","name":"Assets","type":"Link","linkType":"Asset","validations":[]},{"id":"text","name":"Text","type":"Text","validations":[{"regexp":{"pattern":"^such","flags":"im"}}]}]}'
|
@@ -82,7 +82,7 @@ http_interactions:
|
|
82
82
|
recorded_at: Wed, 15 Oct 2014 12:35:54 GMT
|
83
83
|
- request:
|
84
84
|
method: get
|
85
|
-
uri: https://api.contentful.com/spaces/v2umtz8ths9v/content_types
|
85
|
+
uri: https://api.contentful.com/spaces/v2umtz8ths9v/environments/master/content_types
|
86
86
|
body:
|
87
87
|
encoding: US-ASCII
|
88
88
|
string: ''
|
@@ -479,7 +479,7 @@ http_interactions:
|
|
479
479
|
recorded_at: Wed, 15 Oct 2014 12:35:54 GMT
|
480
480
|
- request:
|
481
481
|
method: get
|
482
|
-
uri: https://api.contentful.com/spaces/v2umtz8ths9v/content_types/1JrDv4JJsYuY4KGEEgAsQU
|
482
|
+
uri: https://api.contentful.com/spaces/v2umtz8ths9v/environments/master/content_types/1JrDv4JJsYuY4KGEEgAsQU
|
483
483
|
body:
|
484
484
|
encoding: US-ASCII
|
485
485
|
string: ''
|
@@ -620,7 +620,7 @@ http_interactions:
|
|
620
620
|
recorded_at: Wed, 15 Oct 2014 12:35:55 GMT
|
621
621
|
- request:
|
622
622
|
method: put
|
623
|
-
uri: https://api.contentful.com/spaces/v2umtz8ths9v/content_types/1JrDv4JJsYuY4KGEEgAsQU
|
623
|
+
uri: https://api.contentful.com/spaces/v2umtz8ths9v/environments/master/content_types/1JrDv4JJsYuY4KGEEgAsQU
|
624
624
|
body:
|
625
625
|
encoding: UTF-8
|
626
626
|
string: '{"name":"Validation","description":"","fields":[{"id":"number","name":"Number","type":"Number","validations":[{"range":{"min":50,"max":200}}]},{"id":"entries","name":"entries","type":"Array","validations":[{"linkMimetypeGroup":"image"}]},{"id":"assets","name":"Assets","type":"Link","linkType":"Asset","validations":[]},{"id":"text","name":"Text","type":"Text","validations":[{"regexp":{"pattern":"^such","flags":"im"}}]},{"id":"link_field","validations":[{"linkField":true}]}]}'
|
@@ -82,7 +82,7 @@ http_interactions:
|
|
82
82
|
recorded_at: Wed, 15 Oct 2014 12:33:25 GMT
|
83
83
|
- request:
|
84
84
|
method: get
|
85
|
-
uri: https://api.contentful.com/spaces/v2umtz8ths9v/content_types
|
85
|
+
uri: https://api.contentful.com/spaces/v2umtz8ths9v/environments/master/content_types
|
86
86
|
body:
|
87
87
|
encoding: US-ASCII
|
88
88
|
string: ''
|
@@ -481,7 +481,7 @@ http_interactions:
|
|
481
481
|
recorded_at: Wed, 15 Oct 2014 12:33:26 GMT
|
482
482
|
- request:
|
483
483
|
method: get
|
484
|
-
uri: https://api.contentful.com/spaces/v2umtz8ths9v/content_types/1JrDv4JJsYuY4KGEEgAsQU
|
484
|
+
uri: https://api.contentful.com/spaces/v2umtz8ths9v/environments/master/content_types/1JrDv4JJsYuY4KGEEgAsQU
|
485
485
|
body:
|
486
486
|
encoding: US-ASCII
|
487
487
|
string: ''
|
@@ -624,7 +624,7 @@ http_interactions:
|
|
624
624
|
recorded_at: Wed, 15 Oct 2014 12:33:27 GMT
|
625
625
|
- request:
|
626
626
|
method: put
|
627
|
-
uri: https://api.contentful.com/spaces/v2umtz8ths9v/content_types/1JrDv4JJsYuY4KGEEgAsQU
|
627
|
+
uri: https://api.contentful.com/spaces/v2umtz8ths9v/environments/master/content_types/1JrDv4JJsYuY4KGEEgAsQU
|
628
628
|
body:
|
629
629
|
encoding: UTF-8
|
630
630
|
string: '{"name":"Validation","description":"","fields":[{"id":"number","name":"Number","type":"Number","validations":[{"range":{"min":50,"max":200}}]},{"id":"entries","name":"entries","type":"Array","validations":[{"linkMimetypeGroup":"image"}]},{"id":"assets","name":"Assets","type":"Link","linkType":"Asset","validations":[]},{"id":"text","name":"Text","type":"Text","validations":[{"regexp":{"pattern":"^such","flags":"im"}}]}]}'
|
@@ -82,7 +82,7 @@ http_interactions:
|
|
82
82
|
recorded_at: Wed, 15 Oct 2014 14:16:03 GMT
|
83
83
|
- request:
|
84
84
|
method: get
|
85
|
-
uri: https://api.contentful.com/spaces/v2umtz8ths9v/content_types
|
85
|
+
uri: https://api.contentful.com/spaces/v2umtz8ths9v/environments/master/content_types
|
86
86
|
body:
|
87
87
|
encoding: US-ASCII
|
88
88
|
string: ''
|
@@ -501,7 +501,7 @@ http_interactions:
|
|
501
501
|
recorded_at: Wed, 15 Oct 2014 14:16:04 GMT
|
502
502
|
- request:
|
503
503
|
method: get
|
504
|
-
uri: https://api.contentful.com/spaces/v2umtz8ths9v/content_types/1JrDv4JJsYuY4KGEEgAsQU
|
504
|
+
uri: https://api.contentful.com/spaces/v2umtz8ths9v/environments/master/content_types/1JrDv4JJsYuY4KGEEgAsQU
|
505
505
|
body:
|
506
506
|
encoding: US-ASCII
|
507
507
|
string: ''
|
@@ -664,7 +664,7 @@ http_interactions:
|
|
664
664
|
recorded_at: Wed, 15 Oct 2014 14:16:05 GMT
|
665
665
|
- request:
|
666
666
|
method: put
|
667
|
-
uri: https://api.contentful.com/spaces/v2umtz8ths9v/content_types/1JrDv4JJsYuY4KGEEgAsQU
|
667
|
+
uri: https://api.contentful.com/spaces/v2umtz8ths9v/environments/master/content_types/1JrDv4JJsYuY4KGEEgAsQU
|
668
668
|
body:
|
669
669
|
encoding: UTF-8
|
670
670
|
string: '{"name":"Validation","description":"","fields":[{"id":"number","name":"Number","type":"Number","validations":[{"validations":"#<Contentful::Management::Validation:0x007fca22a415c0>","range":{"min":50,"max":200}}]},{"id":"entries","name":"entries","type":"Array","validations":[{"validations":"#<Contentful::Management::Validation:0x007fca22a40738>","linkMimetypeGroup":"image"}]},{"id":"assets","name":"Assets","type":"Link","linkType":"Asset","validations":[]},{"id":"text","name":"Text","type":"Text","validations":[{"validations":"#<Contentful::Management::Validation:0x007fca235772c8>","regexp":{"pattern":"^such","flags":"im"}}]},{"id":"link_field","name":"link","validations":[{"validations":"#<Contentful::Management::Validation:0x007fca235765a8>","linkField":true}]},{"id":"present","name":"Present","type":"Text","validations":[{"size":{"min":null,"max":null},"validations":"#<Contentful::Management::Validation:0x007fca235759a0>"}]},{"id":"multi","name":"Multi
|
@@ -82,7 +82,7 @@ http_interactions:
|
|
82
82
|
recorded_at: Wed, 15 Oct 2014 13:11:13 GMT
|
83
83
|
- request:
|
84
84
|
method: get
|
85
|
-
uri: https://api.contentful.com/spaces/v2umtz8ths9v/content_types
|
85
|
+
uri: https://api.contentful.com/spaces/v2umtz8ths9v/environments/master/content_types
|
86
86
|
body:
|
87
87
|
encoding: US-ASCII
|
88
88
|
string: ''
|
@@ -493,7 +493,7 @@ http_interactions:
|
|
493
493
|
recorded_at: Wed, 15 Oct 2014 13:11:14 GMT
|
494
494
|
- request:
|
495
495
|
method: get
|
496
|
-
uri: https://api.contentful.com/spaces/v2umtz8ths9v/content_types/1JrDv4JJsYuY4KGEEgAsQU
|
496
|
+
uri: https://api.contentful.com/spaces/v2umtz8ths9v/environments/master/content_types/1JrDv4JJsYuY4KGEEgAsQU
|
497
497
|
body:
|
498
498
|
encoding: US-ASCII
|
499
499
|
string: ''
|
@@ -648,7 +648,7 @@ http_interactions:
|
|
648
648
|
recorded_at: Wed, 15 Oct 2014 13:11:15 GMT
|
649
649
|
- request:
|
650
650
|
method: put
|
651
|
-
uri: https://api.contentful.com/spaces/v2umtz8ths9v/content_types/1JrDv4JJsYuY4KGEEgAsQU
|
651
|
+
uri: https://api.contentful.com/spaces/v2umtz8ths9v/environments/master/content_types/1JrDv4JJsYuY4KGEEgAsQU
|
652
652
|
body:
|
653
653
|
encoding: UTF-8
|
654
654
|
string: '{"name":"Validation","description":"","fields":[{"id":"number","name":"Number","type":"Number","validations":[{"range":{"min":50,"max":200}}]},{"id":"entries","name":"entries","type":"Array","validations":[{"linkMimetypeGroup":"image"}]},{"id":"assets","name":"Assets","type":"Link","linkType":"Asset","validations":[]},{"id":"text","name":"Text","type":"Text","validations":[{"regexp":{"pattern":"^such","flags":"im"}}]},{"id":"link_field","validations":[{"linkField":true}]},{"id":"present","name":"Present","type":"Text","validations":[{"present":true}]}]}'
|
@@ -82,7 +82,7 @@ http_interactions:
|
|
82
82
|
recorded_at: Wed, 15 Oct 2014 11:25:50 GMT
|
83
83
|
- request:
|
84
84
|
method: get
|
85
|
-
uri: https://api.contentful.com/spaces/v2umtz8ths9v/content_types
|
85
|
+
uri: https://api.contentful.com/spaces/v2umtz8ths9v/environments/master/content_types
|
86
86
|
body:
|
87
87
|
encoding: US-ASCII
|
88
88
|
string: ''
|
@@ -447,7 +447,7 @@ http_interactions:
|
|
447
447
|
recorded_at: Wed, 15 Oct 2014 11:25:54 GMT
|
448
448
|
- request:
|
449
449
|
method: get
|
450
|
-
uri: https://api.contentful.com/spaces/v2umtz8ths9v/content_types/1JrDv4JJsYuY4KGEEgAsQU
|
450
|
+
uri: https://api.contentful.com/spaces/v2umtz8ths9v/environments/master/content_types/1JrDv4JJsYuY4KGEEgAsQU
|
451
451
|
body:
|
452
452
|
encoding: US-ASCII
|
453
453
|
string: ''
|
@@ -561,7 +561,7 @@ http_interactions:
|
|
561
561
|
recorded_at: Wed, 15 Oct 2014 11:25:56 GMT
|
562
562
|
- request:
|
563
563
|
method: put
|
564
|
-
uri: https://api.contentful.com/spaces/v2umtz8ths9v/content_types/1JrDv4JJsYuY4KGEEgAsQU
|
564
|
+
uri: https://api.contentful.com/spaces/v2umtz8ths9v/environments/master/content_types/1JrDv4JJsYuY4KGEEgAsQU
|
565
565
|
body:
|
566
566
|
encoding: UTF-8
|
567
567
|
string: '{"name":"Validation","description":"","fields":[{"id":"number","name":"Number","type":"Number","validations":[{"range":{"min":30,"max":100}}]},{"id":"entries","name":"entries","type":"Array"},{"id":"assets","name":"Assets","type":"Array"}]}'
|
@@ -82,7 +82,7 @@ http_interactions:
|
|
82
82
|
recorded_at: Wed, 15 Oct 2014 11:34:58 GMT
|
83
83
|
- request:
|
84
84
|
method: get
|
85
|
-
uri: https://api.contentful.com/spaces/v2umtz8ths9v/content_types
|
85
|
+
uri: https://api.contentful.com/spaces/v2umtz8ths9v/environments/master/content_types
|
86
86
|
body:
|
87
87
|
encoding: US-ASCII
|
88
88
|
string: ''
|
@@ -454,7 +454,7 @@ http_interactions:
|
|
454
454
|
recorded_at: Wed, 15 Oct 2014 11:34:58 GMT
|
455
455
|
- request:
|
456
456
|
method: get
|
457
|
-
uri: https://api.contentful.com/spaces/v2umtz8ths9v/content_types/1JrDv4JJsYuY4KGEEgAsQU
|
457
|
+
uri: https://api.contentful.com/spaces/v2umtz8ths9v/environments/master/content_types/1JrDv4JJsYuY4KGEEgAsQU
|
458
458
|
body:
|
459
459
|
encoding: US-ASCII
|
460
460
|
string: ''
|
@@ -575,7 +575,7 @@ http_interactions:
|
|
575
575
|
recorded_at: Wed, 15 Oct 2014 11:34:59 GMT
|
576
576
|
- request:
|
577
577
|
method: put
|
578
|
-
uri: https://api.contentful.com/spaces/v2umtz8ths9v/content_types/1JrDv4JJsYuY4KGEEgAsQU
|
578
|
+
uri: https://api.contentful.com/spaces/v2umtz8ths9v/environments/master/content_types/1JrDv4JJsYuY4KGEEgAsQU
|
579
579
|
body:
|
580
580
|
encoding: UTF-8
|
581
581
|
string: '{"name":"Validation","description":"","fields":[{"id":"number","name":"Number","type":"Number","validations":[{"range":{"min":50,"max":200}}]},{"id":"entries","name":"entries","type":"Array"},{"id":"assets","name":"Assets","type":"Array"}]}'
|
@@ -82,7 +82,7 @@ http_interactions:
|
|
82
82
|
recorded_at: Wed, 15 Oct 2014 12:15:11 GMT
|
83
83
|
- request:
|
84
84
|
method: get
|
85
|
-
uri: https://api.contentful.com/spaces/v2umtz8ths9v/content_types
|
85
|
+
uri: https://api.contentful.com/spaces/v2umtz8ths9v/environments/master/content_types
|
86
86
|
body:
|
87
87
|
encoding: US-ASCII
|
88
88
|
string: ''
|
@@ -459,7 +459,7 @@ http_interactions:
|
|
459
459
|
recorded_at: Wed, 15 Oct 2014 12:15:12 GMT
|
460
460
|
- request:
|
461
461
|
method: get
|
462
|
-
uri: https://api.contentful.com/spaces/v2umtz8ths9v/content_types/1JrDv4JJsYuY4KGEEgAsQU
|
462
|
+
uri: https://api.contentful.com/spaces/v2umtz8ths9v/environments/master/content_types/1JrDv4JJsYuY4KGEEgAsQU
|
463
463
|
body:
|
464
464
|
encoding: US-ASCII
|
465
465
|
string: ''
|
@@ -585,7 +585,7 @@ http_interactions:
|
|
585
585
|
recorded_at: Wed, 15 Oct 2014 12:15:12 GMT
|
586
586
|
- request:
|
587
587
|
method: put
|
588
|
-
uri: https://api.contentful.com/spaces/v2umtz8ths9v/content_types/1JrDv4JJsYuY4KGEEgAsQU
|
588
|
+
uri: https://api.contentful.com/spaces/v2umtz8ths9v/environments/master/content_types/1JrDv4JJsYuY4KGEEgAsQU
|
589
589
|
body:
|
590
590
|
encoding: UTF-8
|
591
591
|
string: '{"name":"Validation","description":"","fields":[{"id":"number","name":"Number","type":"Number","validations":[{"range":{"min":50,"max":200}}]},{"id":"entries","name":"entries","type":"Array"},{"id":"assets","name":"Assets","type":"Array"},{"id":"text","name":"Text","type":"Text","validations":[{"regexp":{"pattern":"^such","flags":"im"}}]}]}'
|
@@ -82,7 +82,7 @@ http_interactions:
|
|
82
82
|
recorded_at: Wed, 15 Oct 2014 11:16:30 GMT
|
83
83
|
- request:
|
84
84
|
method: get
|
85
|
-
uri: https://api.contentful.com/spaces/v2umtz8ths9v/content_types
|
85
|
+
uri: https://api.contentful.com/spaces/v2umtz8ths9v/environments/master/content_types
|
86
86
|
body:
|
87
87
|
encoding: US-ASCII
|
88
88
|
string: ''
|
@@ -476,7 +476,7 @@ http_interactions:
|
|
476
476
|
recorded_at: Wed, 15 Oct 2014 11:16:31 GMT
|
477
477
|
- request:
|
478
478
|
method: get
|
479
|
-
uri: https://api.contentful.com/spaces/v2umtz8ths9v/content_types/category_content_type
|
479
|
+
uri: https://api.contentful.com/spaces/v2umtz8ths9v/environments/master/content_types/category_content_type
|
480
480
|
body:
|
481
481
|
encoding: US-ASCII
|
482
482
|
string: ''
|
@@ -633,7 +633,7 @@ http_interactions:
|
|
633
633
|
recorded_at: Wed, 15 Oct 2014 11:16:31 GMT
|
634
634
|
- request:
|
635
635
|
method: put
|
636
|
-
uri: https://api.contentful.com/spaces/v2umtz8ths9v/content_types/category_content_type
|
636
|
+
uri: https://api.contentful.com/spaces/v2umtz8ths9v/environments/master/content_types/category_content_type
|
637
637
|
body:
|
638
638
|
encoding: UTF-8
|
639
639
|
string: '{"name":"Category","description":"","fields":[{"id":"name","name":"Name","type":"Text","localized":true,"validations":[{"size":{"min":2,"max":222}},{"in":["dom","chatka"]}]},{"id":"description","name":"Description","type":"Text"},{"id":"valid","name":"Valid","type":"Text","validations":[{"in":["foo","bar"]},{"size":{"min":10,"max":15}}]},{"id":"asset_valid","name":"AssetValid","type":"Link","linkType":"Asset","validations":[{"linkMimetypeGroup":"pdfdocument"}]},{"id":"entry_valid","name":"EntryValid","type":"Link","linkType":"Entry","validations":[{"linkContentType":["post_content_type"]}]}]}'
|
@@ -111,7 +111,7 @@ http_interactions:
|
|
111
111
|
recorded_at: Thu, 11 May 2017 02:42:11 GMT
|
112
112
|
- request:
|
113
113
|
method: get
|
114
|
-
uri: https://api.contentful.com/spaces/iig6ari2cj2t/content_types
|
114
|
+
uri: https://api.contentful.com/spaces/iig6ari2cj2t/environments/master/content_types
|
115
115
|
body:
|
116
116
|
encoding: US-ASCII
|
117
117
|
string: ''
|
@@ -251,7 +251,7 @@ http_interactions:
|
|
251
251
|
recorded_at: Thu, 11 May 2017 02:42:12 GMT
|
252
252
|
- request:
|
253
253
|
method: get
|
254
|
-
uri: https://api.contentful.com/spaces/iig6ari2cj2t/content_types/1JrDv4JJsYuY4KGEEgAsQU
|
254
|
+
uri: https://api.contentful.com/spaces/iig6ari2cj2t/environments/master/content_types/1JrDv4JJsYuY4KGEEgAsQU
|
255
255
|
body:
|
256
256
|
encoding: US-ASCII
|
257
257
|
string: ''
|
@@ -381,7 +381,7 @@ http_interactions:
|
|
381
381
|
recorded_at: Thu, 11 May 2017 02:42:13 GMT
|
382
382
|
- request:
|
383
383
|
method: put
|
384
|
-
uri: https://api.contentful.com/spaces/iig6ari2cj2t/content_types/1JrDv4JJsYuY4KGEEgAsQU
|
384
|
+
uri: https://api.contentful.com/spaces/iig6ari2cj2t/environments/master/content_types/1JrDv4JJsYuY4KGEEgAsQU
|
385
385
|
body:
|
386
386
|
encoding: UTF-8
|
387
387
|
string: '{"displayField":"t","name":"test","description":"abcd","fields":[{"id":"t","name":"t","type":"Symbol","linkType":null,"items":null,"required":null,"localized":null,"validations":[],"disabled":null,"omitted":null},{"id":"symbol","name":"Slug","type":"Symbol","validations":[{"unique":true}]}]}'
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://api.contentful.com/spaces/oe3b689om6k5/content_types/testInterfaces/editor_interface
|
5
|
+
uri: https://api.contentful.com/spaces/oe3b689om6k5/environments/master/content_types/testInterfaces/editor_interface
|
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/oe3b689om6k5/content_types/smallerType/editor_interface
|
5
|
+
uri: https://api.contentful.com/spaces/oe3b689om6k5/environments/master/content_types/smallerType/editor_interface
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -117,7 +117,7 @@ http_interactions:
|
|
117
117
|
recorded_at: Mon, 30 May 2016 12:49:43 GMT
|
118
118
|
- request:
|
119
119
|
method: put
|
120
|
-
uri: https://api.contentful.com/spaces/oe3b689om6k5/content_types/smallerType/editor_interface
|
120
|
+
uri: https://api.contentful.com/spaces/oe3b689om6k5/environments/master/content_types/smallerType/editor_interface
|
121
121
|
body:
|
122
122
|
encoding: UTF-8
|
123
123
|
string: '{"controls":[{"fieldId":"symbol1","widgetId":"urlEditor"}]}'
|
@@ -232,7 +232,7 @@ http_interactions:
|
|
232
232
|
recorded_at: Mon, 30 May 2016 12:49:46 GMT
|
233
233
|
- request:
|
234
234
|
method: get
|
235
|
-
uri: https://api.contentful.com/spaces/oe3b689om6k5/content_types/smallerType/editor_interface
|
235
|
+
uri: https://api.contentful.com/spaces/oe3b689om6k5/environments/master/content_types/smallerType/editor_interface
|
236
236
|
body:
|
237
237
|
encoding: US-ASCII
|
238
238
|
string: ''
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/entries/3U7JqGuVzOWIimU40mKeem
|
5
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/entries/3U7JqGuVzOWIimU40mKeem
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -106,7 +106,7 @@ http_interactions:
|
|
106
106
|
recorded_at: Thu, 31 Jul 2014 06:33:23 GMT
|
107
107
|
- request:
|
108
108
|
method: put
|
109
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/entries/3U7JqGuVzOWIimU40mKeem/archived
|
109
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/entries/3U7JqGuVzOWIimU40mKeem/archived
|
110
110
|
body:
|
111
111
|
encoding: US-ASCII
|
112
112
|
string: ''
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/entries/4Rouux8SoUCKwkyCq2I0E0
|
5
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/entries/4Rouux8SoUCKwkyCq2I0E0
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -128,7 +128,7 @@ http_interactions:
|
|
128
128
|
recorded_at: Wed, 30 Jul 2014 12:55:11 GMT
|
129
129
|
- request:
|
130
130
|
method: put
|
131
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/entries/4Rouux8SoUCKwkyCq2I0E0/archived
|
131
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/entries/4Rouux8SoUCKwkyCq2I0E0/archived
|
132
132
|
body:
|
133
133
|
encoding: US-ASCII
|
134
134
|
string: ''
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/entries/4Rouux8SoUCKwkyCq2I0E0
|
5
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/entries/4Rouux8SoUCKwkyCq2I0E0
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -119,7 +119,7 @@ http_interactions:
|
|
119
119
|
recorded_at: Wed, 30 Jul 2014 12:58:07 GMT
|
120
120
|
- request:
|
121
121
|
method: delete
|
122
|
-
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/entries/4Rouux8SoUCKwkyCq2I0E0/archived
|
122
|
+
uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/entries/4Rouux8SoUCKwkyCq2I0E0/archived
|
123
123
|
body:
|
124
124
|
encoding: US-ASCII
|
125
125
|
string: ''
|