{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/dart-services/issues/141","labels_url":"https://api.github.com/repos/dart-lang/dart-services/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/dart-services/issues/141/comments","events_url":"https://api.github.com/repos/dart-lang/dart-services/issues/141/events","html_url":"https://github.com/dart-lang/dart-services/pull/141","id":68894447,"number":141,"title":"Support format API","user":{"login":"lukechurch","id":2978182,"avatar_url":"https://avatars.githubusercontent.com/u/2978182?v=3","gravatar_id":"","url":"https://api.github.com/users/lukechurch","html_url":"https://github.com/lukechurch","followers_url":"https://api.github.com/users/lukechurch/followers","following_url":"https://api.github.com/users/lukechurch/following{/other_user}","gists_url":"https://api.github.com/users/lukechurch/gists{/gist_id}","starred_url":"https://api.github.com/users/lukechurch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukechurch/subscriptions","organizations_url":"https://api.github.com/users/lukechurch/orgs","repos_url":"https://api.github.com/users/lukechurch/repos","events_url":"https://api.github.com/users/lukechurch/events{/privacy}","received_events_url":"https://api.github.com/users/lukechurch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-16T10:27:51Z","updated_at":"2015-04-17T02:50:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dart-lang/dart-services/pulls/141","html_url":"https://github.com/dart-lang/dart-services/pull/141","diff_url":"https://github.com/dart-lang/dart-services/pull/141.diff","patch_url":"https://github.com/dart-lang/dart-services/pull/141.patch"},"body":"This enables support for formatting.\r\n\r\nIt's not ready to be deployed until a solution to https://code.google.com/p/dart/issues/detail?id=23230 is agreed.\r\n\r\nThis is more to give @kasperpeulen a sense of what the API is going to be like. Note it formats the whole file at once. The region selection in the Server API doesn't actually allow selective formatting, it just allows the selection to be persisted between formats.\r\n\r\nNote that guarding the API with an analysis call is needed due to the way the format API currently works."},"comment":{"url":"https://api.github.com/repos/dart-lang/dart-services/issues/comments/93882432","html_url":"https://github.com/dart-lang/dart-services/pull/141#issuecomment-93882432","issue_url":"https://api.github.com/repos/dart-lang/dart-services/issues/141","id":93882432,"user":{"login":"devoncarew","id":1269969,"avatar_url":"https://avatars.githubusercontent.com/u/1269969?v=3","gravatar_id":"","url":"https://api.github.com/users/devoncarew","html_url":"https://github.com/devoncarew","followers_url":"https://api.github.com/users/devoncarew/followers","following_url":"https://api.github.com/users/devoncarew/following{/other_user}","gists_url":"https://api.github.com/users/devoncarew/gists{/gist_id}","starred_url":"https://api.github.com/users/devoncarew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devoncarew/subscriptions","organizations_url":"https://api.github.com/users/devoncarew/orgs","repos_url":"https://api.github.com/users/devoncarew/repos","events_url":"https://api.github.com/users/devoncarew/events{/privacy}","received_events_url":"https://api.github.com/users/devoncarew/received_events","type":"User","site_admin":false},"created_at":"2015-04-17T02:50:32Z","updated_at":"2015-04-17T02:50:32Z","body":"Awesome, lgtm; thanks for making the changes."}}