{"action":"created","issue":{"url":"https://api.github.com/repos/cloudfoundry-incubator/cf-abacus/issues/157","labels_url":"https://api.github.com/repos/cloudfoundry-incubator/cf-abacus/issues/157/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry-incubator/cf-abacus/issues/157/comments","events_url":"https://api.github.com/repos/cloudfoundry-incubator/cf-abacus/issues/157/events","html_url":"https://github.com/cloudfoundry-incubator/cf-abacus/issues/157","id":115930180,"number":157,"title":"Question on graphQL format","user":{"login":"midoblgsm","id":11037155,"avatar_url":"https://avatars.githubusercontent.com/u/11037155?v=3","gravatar_id":"","url":"https://api.github.com/users/midoblgsm","html_url":"https://github.com/midoblgsm","followers_url":"https://api.github.com/users/midoblgsm/followers","following_url":"https://api.github.com/users/midoblgsm/following{/other_user}","gists_url":"https://api.github.com/users/midoblgsm/gists{/gist_id}","starred_url":"https://api.github.com/users/midoblgsm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/midoblgsm/subscriptions","organizations_url":"https://api.github.com/users/midoblgsm/orgs","repos_url":"https://api.github.com/users/midoblgsm/repos","events_url":"https://api.github.com/users/midoblgsm/events{/privacy}","received_events_url":"https://api.github.com/users/midoblgsm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-09T17:52:47Z","updated_at":"2015-11-10T00:02:32Z","closed_at":null,"body":"Hi,\r\nI'am working on a swagger description for Abacus API and found that the operation:\r\n```GET /v1/metering/aggregated/usage/graph/:query```\r\nreturns 200 to indicate success with a usage summary report JSON document.\r\nBut I didn't find any JSON description for the returned document. Do you have this description in another doc, or is it a typo and the API returns just a graph file?\r\nThanks"},"comment":{"url":"https://api.github.com/repos/cloudfoundry-incubator/cf-abacus/issues/comments/155238593","html_url":"https://github.com/cloudfoundry-incubator/cf-abacus/issues/157#issuecomment-155238593","issue_url":"https://api.github.com/repos/cloudfoundry-incubator/cf-abacus/issues/157","id":155238593,"user":{"login":"jsdelfino","id":247394,"avatar_url":"https://avatars.githubusercontent.com/u/247394?v=3","gravatar_id":"","url":"https://api.github.com/users/jsdelfino","html_url":"https://github.com/jsdelfino","followers_url":"https://api.github.com/users/jsdelfino/followers","following_url":"https://api.github.com/users/jsdelfino/following{/other_user}","gists_url":"https://api.github.com/users/jsdelfino/gists{/gist_id}","starred_url":"https://api.github.com/users/jsdelfino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsdelfino/subscriptions","organizations_url":"https://api.github.com/users/jsdelfino/orgs","repos_url":"https://api.github.com/users/jsdelfino/repos","events_url":"https://api.github.com/users/jsdelfino/events{/privacy}","received_events_url":"https://api.github.com/users/jsdelfino/received_events","type":"User","site_admin":false},"created_at":"2015-11-10T00:02:32Z","updated_at":"2015-11-10T00:02:32Z","body":"With GraphQL the response contains the fields you've asked for in the query... so there's not going to be a fixed JSON schema for the response, unless you want to write a JSON schema where every field is optional. You could do that but I'm not sure if that'd be very useful. Do you absolutely need a JSON schema for your Swagger description?"}}