{"action":"closed","issue":{"url":"https://api.github.com/repos/mesosphere/marathon/issues/1186","labels_url":"https://api.github.com/repos/mesosphere/marathon/issues/1186/labels{/name}","comments_url":"https://api.github.com/repos/mesosphere/marathon/issues/1186/comments","events_url":"https://api.github.com/repos/mesosphere/marathon/issues/1186/events","html_url":"https://github.com/mesosphere/marathon/issues/1186","id":57360415,"number":1186,"title":"Getting an invalid application version returns a missleading message.","user":{"login":"jsancio","id":794394,"avatar_url":"https://avatars.githubusercontent.com/u/794394?v=3","gravatar_id":"","url":"https://api.github.com/users/jsancio","html_url":"https://github.com/jsancio","followers_url":"https://api.github.com/users/jsancio/followers","following_url":"https://api.github.com/users/jsancio/following{/other_user}","gists_url":"https://api.github.com/users/jsancio/gists{/gist_id}","starred_url":"https://api.github.com/users/jsancio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsancio/subscriptions","organizations_url":"https://api.github.com/users/jsancio/orgs","repos_url":"https://api.github.com/users/jsancio/repos","events_url":"https://api.github.com/users/jsancio/events{/privacy}","received_events_url":"https://api.github.com/users/jsancio/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mesosphere/marathon/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/mesosphere/marathon/labels/good%20first%20bug","name":"good first bug","color":"bfe5bf"},{"url":"https://api.github.com/repos/mesosphere/marathon/labels/in%20progress","name":"in progress","color":"5319e7"},{"url":"https://api.github.com/repos/mesosphere/marathon/labels/Size:%20S","name":"Size: S","color":"bbbbbb"}],"state":"closed","locked":false,"assignee":{"login":"jsancio","id":794394,"avatar_url":"https://avatars.githubusercontent.com/u/794394?v=3","gravatar_id":"","url":"https://api.github.com/users/jsancio","html_url":"https://github.com/jsancio","followers_url":"https://api.github.com/users/jsancio/followers","following_url":"https://api.github.com/users/jsancio/following{/other_user}","gists_url":"https://api.github.com/users/jsancio/gists{/gist_id}","starred_url":"https://api.github.com/users/jsancio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsancio/subscriptions","organizations_url":"https://api.github.com/users/jsancio/orgs","repos_url":"https://api.github.com/users/jsancio/repos","events_url":"https://api.github.com/users/jsancio/events{/privacy}","received_events_url":"https://api.github.com/users/jsancio/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/mesosphere/marathon/milestones/14","labels_url":"https://api.github.com/repos/mesosphere/marathon/milestones/14/labels","id":944117,"number":14,"title":"0.8.1","description":"","creator":{"login":"ConnorDoyle","id":379372,"avatar_url":"https://avatars.githubusercontent.com/u/379372?v=3","gravatar_id":"","url":"https://api.github.com/users/ConnorDoyle","html_url":"https://github.com/ConnorDoyle","followers_url":"https://api.github.com/users/ConnorDoyle/followers","following_url":"https://api.github.com/users/ConnorDoyle/following{/other_user}","gists_url":"https://api.github.com/users/ConnorDoyle/gists{/gist_id}","starred_url":"https://api.github.com/users/ConnorDoyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ConnorDoyle/subscriptions","organizations_url":"https://api.github.com/users/ConnorDoyle/orgs","repos_url":"https://api.github.com/users/ConnorDoyle/repos","events_url":"https://api.github.com/users/ConnorDoyle/events{/privacy}","received_events_url":"https://api.github.com/users/ConnorDoyle/received_events","type":"User","site_admin":false},"open_issues":38,"closed_issues":14,"state":"open","created_at":"2015-01-20T19:47:42Z","updated_at":"2015-02-12T09:27:08Z","due_on":"2015-03-03T23:00:00Z","closed_at":null},"comments":0,"created_at":"2015-02-11T19:01:37Z","updated_at":"2015-02-12T09:27:08Z","closed_at":"2015-02-12T09:27:08Z","body":"I have an application called `zero-instance-app` and when I query the versions I get the following result:\r\n```\r\ncurl http://localhost:8080/v2/apps/zero-instance-app/versions\r\n{\"versions\":[\"2015-02-11T18:39:10.049Z\",\"2015-02-10T12:17:41.538Z\"]}\r\n```\r\n\r\nIf perform a get against a valid application id but an invalid version I get:\r\n```\r\ncurl http://localhost:8080/v2/apps/zero-instance-app/versions/2010-02-10T12:17:41.538Z\r\n{\"message\":\"App '/zero-instance-app' does not exist\"}\r\n```\r\n\r\nTo me that message is misleading and should instead read something like:\r\n```\r\n{\"message\":\"Version '2010-02-10T12:17:41.538Z' does not exist for application '/zero-instance-app'\"}\r\n```\r\n"}}