{"action":"created","issue":{"url":"https://api.github.com/repos/Kinto/kinto/issues/1004","repository_url":"https://api.github.com/repos/Kinto/kinto","labels_url":"https://api.github.com/repos/Kinto/kinto/issues/1004/labels{/name}","comments_url":"https://api.github.com/repos/Kinto/kinto/issues/1004/comments","events_url":"https://api.github.com/repos/Kinto/kinto/issues/1004/events","html_url":"https://github.com/Kinto/kinto/issues/1004","id":197386069,"number":1004,"title":"Should we make querystrings reserved words?","user":{"login":"gabisurita","id":4023375,"avatar_url":"https://avatars.githubusercontent.com/u/4023375?v=3","gravatar_id":"","url":"https://api.github.com/users/gabisurita","html_url":"https://github.com/gabisurita","followers_url":"https://api.github.com/users/gabisurita/followers","following_url":"https://api.github.com/users/gabisurita/following{/other_user}","gists_url":"https://api.github.com/users/gabisurita/gists{/gist_id}","starred_url":"https://api.github.com/users/gabisurita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabisurita/subscriptions","organizations_url":"https://api.github.com/users/gabisurita/orgs","repos_url":"https://api.github.com/users/gabisurita/repos","events_url":"https://api.github.com/users/gabisurita/events{/privacy}","received_events_url":"https://api.github.com/users/gabisurita/received_events","type":"User","site_admin":false},"labels":[{"id":180758583,"url":"https://api.github.com/repos/Kinto/kinto/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-23T15:22:23Z","updated_at":"2016-12-26T09:28:35Z","closed_at":null,"body":"I think maybe we shouldn't to keep a simple schema, but we should do a big warning about this in the docs. We can do some crazy things with them:\r\n\r\n```json\r\n$ echo '{\"data\": {\"_limit\": 5}}' | http put localhost:8888/v1\r\n{\r\n    \"data\": {\r\n        \"_limit\": 5,\r\n        \"id\": \"b1\",\r\n        \"last_modified\": 1482506056818\r\n    },\r\n    \"permissions\": {\r\n        \"write\": [\r\n            \"basicauth:902db65276f24f6f084cd57fddb1bb3835054d27858a606f59410e8c227465e2\"\r\n        ]\r\n    }\r\n}\r\n\r\n$ http get localhost:8888/v1/buckets?_limit=1 -a a:a\r\n{\r\n    \"data\": [\r\n        {\r\n            \"_limit\": 5,\r\n            \"id\": \"b1\",\r\n            \"last_modified\": 1482506056818\r\n        }\r\n    ]\r\n}\r\n```\r\n\r\n```json\r\n$ echo '{\"data\": {\"min_field\": \"10\", \"field\": 5}}' | http put localhost:8888/v1/buckets/b1 -a a:a\r\n{\r\n    \"data\": {\r\n        \"field\": 5,\r\n        \"id\": \"b1\",\r\n        \"last_modified\": 1482505784675,\r\n        \"min_field\": 10\r\n    },\r\n    \"permissions\": {\r\n        \"write\": [\r\n            \"basicauth:902db65276f24f6f084cd57fddb1bb3835054d27858a606f59410e8c227465e2\"\r\n        ]\r\n    }\r\n}\r\n\r\n$ http get localhost:8888/v1/buckets?min_field=10 -a a:a\r\n{\r\n    \"data\": []\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/Kinto/kinto/issues/comments/269190380","html_url":"https://github.com/Kinto/kinto/issues/1004#issuecomment-269190380","issue_url":"https://api.github.com/repos/Kinto/kinto/issues/1004","id":269190380,"user":{"login":"Natim","id":229453,"avatar_url":"https://avatars.githubusercontent.com/u/229453?v=3","gravatar_id":"","url":"https://api.github.com/users/Natim","html_url":"https://github.com/Natim","followers_url":"https://api.github.com/users/Natim/followers","following_url":"https://api.github.com/users/Natim/following{/other_user}","gists_url":"https://api.github.com/users/Natim/gists{/gist_id}","starred_url":"https://api.github.com/users/Natim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Natim/subscriptions","organizations_url":"https://api.github.com/users/Natim/orgs","repos_url":"https://api.github.com/users/Natim/repos","events_url":"https://api.github.com/users/Natim/events{/privacy}","received_events_url":"https://api.github.com/users/Natim/received_events","type":"User","site_admin":false},"created_at":"2016-12-26T09:28:35Z","updated_at":"2016-12-26T09:28:35Z","body":"I like your suggestion about the Alert header because we don't break any API.\r\nHowever I am not against raising a 400 because the API starts to be broken with an undefined behavior as soon as people start to use _sort and _limit in their records."}}
{"actor":{"display_login":"Natim"}}