{"action":"created","issue":{"url":"https://api.github.com/repos/contentful/contentful-management.rb/issues/155","repository_url":"https://api.github.com/repos/contentful/contentful-management.rb","labels_url":"https://api.github.com/repos/contentful/contentful-management.rb/issues/155/labels{/name}","comments_url":"https://api.github.com/repos/contentful/contentful-management.rb/issues/155/comments","events_url":"https://api.github.com/repos/contentful/contentful-management.rb/issues/155/events","html_url":"https://github.com/contentful/contentful-management.rb/issues/155","id":319527899,"node_id":"MDU6SXNzdWUzMTk1Mjc4OTk=","number":155,"title":"Updating editor interface for single field resets editor interfaces and help text for other fields","user":{"login":"a-lehdet","id":34674432,"node_id":"MDQ6VXNlcjM0Njc0NDMy","avatar_url":"https://avatars3.githubusercontent.com/u/34674432?v=4","gravatar_id":"","url":"https://api.github.com/users/a-lehdet","html_url":"https://github.com/a-lehdet","followers_url":"https://api.github.com/users/a-lehdet/followers","following_url":"https://api.github.com/users/a-lehdet/following{/other_user}","gists_url":"https://api.github.com/users/a-lehdet/gists{/gist_id}","starred_url":"https://api.github.com/users/a-lehdet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-lehdet/subscriptions","organizations_url":"https://api.github.com/users/a-lehdet/orgs","repos_url":"https://api.github.com/users/a-lehdet/repos","events_url":"https://api.github.com/users/a-lehdet/events{/privacy}","received_events_url":"https://api.github.com/users/a-lehdet/received_events","type":"User","site_admin":false},"labels":[{"id":98052657,"node_id":"MDU6TGFiZWw5ODA1MjY1Nw==","url":"https://api.github.com/repos/contentful/contentful-management.rb/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2018-05-02T12:14:33Z","updated_at":"2018-06-05T11:28:41Z","closed_at":"2018-06-05T11:25:05Z","author_association":"NONE","body":"Hi,\r\n\r\nI used the following code to change the editor interface of a single field in a content type. It appears that in the process some of the editor interfaces settings of other fields in the same content type have been changed/reset and the help texts have vanished.\r\n\r\n\r\n```\r\nclient = Contentful::Management::Client.new(<TOKEN>)\r\nspace = client.spaces.find(<SPACE-ID>)\r\neditor_interface = client.editor_interfaces.default(space_id, \"content_type_id\")\r\n\r\neditor_interface.controls = [\r\n  {\r\n    fieldId: \"fieldName\",\r\n    widgetId: \"dropdown\",\r\n    settings: {\r\n      helpText: \"Here is some help text.\"\r\n    }\r\n  }\r\n]\r\n\r\neditor_interface.update(controls: editor_interface.controls)\r\n```"},"comment":{"url":"https://api.github.com/repos/contentful/contentful-management.rb/issues/comments/394675153","html_url":"https://github.com/contentful/contentful-management.rb/issues/155#issuecomment-394675153","issue_url":"https://api.github.com/repos/contentful/contentful-management.rb/issues/155","id":394675153,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDY3NTE1Mw==","user":{"login":"dlitvakb","id":1032706,"node_id":"MDQ6VXNlcjEwMzI3MDY=","avatar_url":"https://avatars1.githubusercontent.com/u/1032706?v=4","gravatar_id":"","url":"https://api.github.com/users/dlitvakb","html_url":"https://github.com/dlitvakb","followers_url":"https://api.github.com/users/dlitvakb/followers","following_url":"https://api.github.com/users/dlitvakb/following{/other_user}","gists_url":"https://api.github.com/users/dlitvakb/gists{/gist_id}","starred_url":"https://api.github.com/users/dlitvakb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlitvakb/subscriptions","organizations_url":"https://api.github.com/users/dlitvakb/orgs","repos_url":"https://api.github.com/users/dlitvakb/repos","events_url":"https://api.github.com/users/dlitvakb/events{/privacy}","received_events_url":"https://api.github.com/users/dlitvakb/received_events","type":"User","site_admin":false},"created_at":"2018-06-05T11:28:41Z","updated_at":"2018-06-05T11:28:41Z","author_association":"MEMBER","body":"This has just been released as version 2.2.0\r\n\r\nCheers"}}
{"actor":{"display_login":"dlitvakb"}}