Skip to content

Instantly share code, notes, and snippets.

@benilovj
Last active December 30, 2015 08:49
Show Gist options
  • Save benilovj/7804759 to your computer and use it in GitHub Desktop.
Save benilovj/7804759 to your computer and use it in GitHub Desktop.
proposed service feedback API format
# GET /anonymous_feedback/service_feedback/yesterday
# (last day's data, midnight to midnight)
# GET /anonymous_feedback/service_feedback?from=2013-01-01&to=2013-01-02
[
"from": "2013-01-01T00:00:00+00:00",
"to": "2013-01-02T00:00:00+00:00",
"results": [
{
"transaction": {
"slug": "book-practical-driving-test",
"url": "https://www.gov.uk/book-practical-driving-test",
},
"ratings": {
"1": 1234,
"2": 1111,
"3": 223,
"4": 123,
"5": 12345
"total": "...."
},
"comments": 12345
},
]
}
@robyoung
Copy link

robyoung commented Dec 5, 2013

Date format: 2013-12-04T12:16:25+00:00

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment