{"action":"created","issue":{"url":"https://api.github.com/repos/mapfish/mapfish-print/issues/243","labels_url":"https://api.github.com/repos/mapfish/mapfish-print/issues/243/labels{/name}","comments_url":"https://api.github.com/repos/mapfish/mapfish-print/issues/243/comments","events_url":"https://api.github.com/repos/mapfish/mapfish-print/issues/243/events","html_url":"https://github.com/mapfish/mapfish-print/issues/243","id":81894305,"number":243,"title":"Define JSON response for status request","user":{"login":"jesseeichar","id":54207,"avatar_url":"https://avatars.githubusercontent.com/u/54207?v=3","gravatar_id":"","url":"https://api.github.com/users/jesseeichar","html_url":"https://github.com/jesseeichar","followers_url":"https://api.github.com/users/jesseeichar/followers","following_url":"https://api.github.com/users/jesseeichar/following{/other_user}","gists_url":"https://api.github.com/users/jesseeichar/gists{/gist_id}","starred_url":"https://api.github.com/users/jesseeichar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jesseeichar/subscriptions","organizations_url":"https://api.github.com/users/jesseeichar/orgs","repos_url":"https://api.github.com/users/jesseeichar/repos","events_url":"https://api.github.com/users/jesseeichar/events{/privacy}","received_events_url":"https://api.github.com/users/jesseeichar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-05-28T11:51:12Z","updated_at":"2015-05-28T13:19:08Z","closed_at":null,"body":"We have been adhoc adding to the status json response without clearly defining what the json should mean.  This issue is for having the discussion about the status response.\r\n\r\nSo far we have:\r\n\r\n    done: true/false\r\n    error: string containing error message.  Optional field\r\n    count: The number of print completed print jobs (includes failed prints)\r\n    time: The amount of average amount time a job takes\r\n\r\nPossible additions:\r\n\r\n    timeElapsed: The amount of time elapsed since the request was made\r\n    queuePosition: The number of items in the queue ahead of this job\r\n    status: running/waiting/done"},"comment":{"url":"https://api.github.com/repos/mapfish/mapfish-print/issues/comments/106306680","html_url":"https://github.com/mapfish/mapfish-print/issues/243#issuecomment-106306680","issue_url":"https://api.github.com/repos/mapfish/mapfish-print/issues/243","id":106306680,"user":{"login":"tsauerwein","id":266474,"avatar_url":"https://avatars.githubusercontent.com/u/266474?v=3","gravatar_id":"","url":"https://api.github.com/users/tsauerwein","html_url":"https://github.com/tsauerwein","followers_url":"https://api.github.com/users/tsauerwein/followers","following_url":"https://api.github.com/users/tsauerwein/following{/other_user}","gists_url":"https://api.github.com/users/tsauerwein/gists{/gist_id}","starred_url":"https://api.github.com/users/tsauerwein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsauerwein/subscriptions","organizations_url":"https://api.github.com/users/tsauerwein/orgs","repos_url":"https://api.github.com/users/tsauerwein/repos","events_url":"https://api.github.com/users/tsauerwein/events{/privacy}","received_events_url":"https://api.github.com/users/tsauerwein/received_events","type":"User","site_admin":false},"created_at":"2015-05-28T13:19:08Z","updated_at":"2015-05-28T13:19:08Z","body":"> I don't really want to remove things from the API. We messed up by adding things we weren't sure we needed, but now that we have had a release we can't really remove them, People might be depending on them.\r\n\r\nI think it's no problem to deprecate things from the API if we properly document the change and provide alternatives. That's the way we do it with OpenLayers."}}