{"action":"created","issue":{"url":"https://api.github.com/repos/MISP/MISP/issues/1703","repository_url":"https://api.github.com/repos/MISP/MISP","labels_url":"https://api.github.com/repos/MISP/MISP/issues/1703/labels{/name}","comments_url":"https://api.github.com/repos/MISP/MISP/issues/1703/comments","events_url":"https://api.github.com/repos/MISP/MISP/issues/1703/events","html_url":"https://github.com/MISP/MISP/issues/1703","id":192676631,"number":1703,"title":"Feature Request - Timestamps as parameter","user":{"login":"jdell64","id":862304,"avatar_url":"https://avatars.githubusercontent.com/u/862304?v=3","gravatar_id":"","url":"https://api.github.com/users/jdell64","html_url":"https://github.com/jdell64","followers_url":"https://api.github.com/users/jdell64/followers","following_url":"https://api.github.com/users/jdell64/following{/other_user}","gists_url":"https://api.github.com/users/jdell64/gists{/gist_id}","starred_url":"https://api.github.com/users/jdell64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdell64/subscriptions","organizations_url":"https://api.github.com/users/jdell64/orgs","repos_url":"https://api.github.com/users/jdell64/repos","events_url":"https://api.github.com/users/jdell64/events{/privacy}","received_events_url":"https://api.github.com/users/jdell64/received_events","type":"User","site_admin":false},"labels":[{"id":27676211,"url":"https://api.github.com/repos/MISP/MISP/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-11-30T20:54:19Z","updated_at":"2016-12-01T15:53:47Z","closed_at":"2016-12-01T15:07:09Z","body":"I am currently making a POST request to:\r\n    \r\n    https://<my-server-name>/events/restSearch/download\r\n    Body: {\"request\": {\"from\":\"2016-01-02\", \"to\": \"2016-01-03\"}}\r\n\r\nIt would be great if I could be more granular with my time requests. Either a timestamp formatted:\r\n\r\n    YYYY/mm/DDTHH:MM:SS\r\n\r\nor just an epoch timestamp.\r\n\r\nThis alone would be pretty awesome, but it would be cool if I could also do this as a query parameter:\r\n\r\n    https://<my-server-name>/events/restSearch/download?from=1480519222&to=1480539222\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/MISP/MISP/issues/comments/264210623","html_url":"https://github.com/MISP/MISP/issues/1703#issuecomment-264210623","issue_url":"https://api.github.com/repos/MISP/MISP/issues/1703","id":264210623,"user":{"login":"jdell64","id":862304,"avatar_url":"https://avatars.githubusercontent.com/u/862304?v=3","gravatar_id":"","url":"https://api.github.com/users/jdell64","html_url":"https://github.com/jdell64","followers_url":"https://api.github.com/users/jdell64/followers","following_url":"https://api.github.com/users/jdell64/following{/other_user}","gists_url":"https://api.github.com/users/jdell64/gists{/gist_id}","starred_url":"https://api.github.com/users/jdell64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdell64/subscriptions","organizations_url":"https://api.github.com/users/jdell64/orgs","repos_url":"https://api.github.com/users/jdell64/repos","events_url":"https://api.github.com/users/jdell64/events{/privacy}","received_events_url":"https://api.github.com/users/jdell64/received_events","type":"User","site_admin":false},"created_at":"2016-12-01T15:53:47Z","updated_at":"2016-12-01T15:53:47Z","body":"Not sure about php, but I know in many languages the array doesn't guarantee order of array. Does\r\n\r\n    {\"publish_timestamp\":[\"1479827064\", \"1479830000\"]}\r\n\r\nyield the same results as \r\n\r\n    {\"publish_timestamp\":[\"1479830000\", \"1479827064\"]}   // swapped the numbers\r\n\r\n? And thanks for the quick turnaround!\r\n\r\n\r\n"}}
{"actor":{"display_login":"jdell64"}}