{"action":"created","issue":{"url":"https://api.github.com/repos/alphagov/digitalmarketplace-supplier-frontend/issues/72","labels_url":"https://api.github.com/repos/alphagov/digitalmarketplace-supplier-frontend/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-supplier-frontend/issues/72/comments","events_url":"https://api.github.com/repos/alphagov/digitalmarketplace-supplier-frontend/issues/72/events","html_url":"https://github.com/alphagov/digitalmarketplace-supplier-frontend/pull/72","id":89249942,"number":72,"title":"Edit existing service","user":{"login":"quis","id":355079,"avatar_url":"https://avatars.githubusercontent.com/u/355079?v=3","gravatar_id":"","url":"https://api.github.com/users/quis","html_url":"https://github.com/quis","followers_url":"https://api.github.com/users/quis/followers","following_url":"https://api.github.com/users/quis/following{/other_user}","gists_url":"https://api.github.com/users/quis/gists{/gist_id}","starred_url":"https://api.github.com/users/quis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quis/subscriptions","organizations_url":"https://api.github.com/users/quis/orgs","repos_url":"https://api.github.com/users/quis/repos","events_url":"https://api.github.com/users/quis/events{/privacy}","received_events_url":"https://api.github.com/users/quis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-18T09:54:22Z","updated_at":"2015-06-18T15:32:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/alphagov/digitalmarketplace-supplier-frontend/pulls/72","html_url":"https://github.com/alphagov/digitalmarketplace-supplier-frontend/pull/72","diff_url":"https://github.com/alphagov/digitalmarketplace-supplier-frontend/pull/72.diff","patch_url":"https://github.com/alphagov/digitalmarketplace-supplier-frontend/pull/72.patch"},"body":"_Fulfills [95430642](https://www.pivotaltracker.com/story/show/95430642)_\r\n\r\n![image](https://cloud.githubusercontent.com/assets/355079/8228620/462cf6b0-15a8-11e5-9dc1-2ea36d5acd71.png)\r\n\r\nThis pull request, [using the new dmutils features](https://github.com/alphagov/digitalmarketplace-supplier-frontend/pull/71) and templates from the toolkit:\r\n- adds a `GET` endpoint for `/services/<id>/edit/<section>`\r\n- renders form fields with prefilled values for the above four questions, using templates from the toolkit\r\n- adds a `POST` endpoint for the same, which takes the edited values and\r\n  - if the API returns successfully redirects back to the service summary page\r\n  - if the API returns an error then it will be displayed back to the user\r\n\r\nIt doesn't, yet, do any per-field validation of edits."},"comment":{"url":"https://api.github.com/repos/alphagov/digitalmarketplace-supplier-frontend/issues/comments/113193611","html_url":"https://github.com/alphagov/digitalmarketplace-supplier-frontend/pull/72#issuecomment-113193611","issue_url":"https://api.github.com/repos/alphagov/digitalmarketplace-supplier-frontend/issues/72","id":113193611,"user":{"login":"TheDoubleK","id":6525554,"avatar_url":"https://avatars.githubusercontent.com/u/6525554?v=3","gravatar_id":"","url":"https://api.github.com/users/TheDoubleK","html_url":"https://github.com/TheDoubleK","followers_url":"https://api.github.com/users/TheDoubleK/followers","following_url":"https://api.github.com/users/TheDoubleK/following{/other_user}","gists_url":"https://api.github.com/users/TheDoubleK/gists{/gist_id}","starred_url":"https://api.github.com/users/TheDoubleK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheDoubleK/subscriptions","organizations_url":"https://api.github.com/users/TheDoubleK/orgs","repos_url":"https://api.github.com/users/TheDoubleK/repos","events_url":"https://api.github.com/users/TheDoubleK/events{/privacy}","received_events_url":"https://api.github.com/users/TheDoubleK/received_events","type":"User","site_admin":false},"created_at":"2015-06-18T15:32:46Z","updated_at":"2015-06-18T15:32:46Z","body":"Reviewed - should be good to go once the features and benefits count is fixed."}}