{"action":"created","issue":{"url":"https://api.github.com/repos/geophystech/eqalert.ru/issues/273","repository_url":"https://api.github.com/repos/geophystech/eqalert.ru","labels_url":"https://api.github.com/repos/geophystech/eqalert.ru/issues/273/labels{/name}","comments_url":"https://api.github.com/repos/geophystech/eqalert.ru/issues/273/comments","events_url":"https://api.github.com/repos/geophystech/eqalert.ru/issues/273/events","html_url":"https://github.com/geophystech/eqalert.ru/issues/273","id":377204938,"node_id":"MDU6SXNzdWUzNzcyMDQ5Mzg=","number":273,"title":"Добавить выгрузку данных в CSV/XLSX","user":{"login":"jamm1985","id":3518847,"node_id":"MDQ6VXNlcjM1MTg4NDc=","avatar_url":"https://avatars1.githubusercontent.com/u/3518847?v=4","gravatar_id":"","url":"https://api.github.com/users/jamm1985","html_url":"https://github.com/jamm1985","followers_url":"https://api.github.com/users/jamm1985/followers","following_url":"https://api.github.com/users/jamm1985/following{/other_user}","gists_url":"https://api.github.com/users/jamm1985/gists{/gist_id}","starred_url":"https://api.github.com/users/jamm1985/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamm1985/subscriptions","organizations_url":"https://api.github.com/users/jamm1985/orgs","repos_url":"https://api.github.com/users/jamm1985/repos","events_url":"https://api.github.com/users/jamm1985/events{/privacy}","received_events_url":"https://api.github.com/users/jamm1985/received_events","type":"User","site_admin":false},"labels":[{"id":667210564,"node_id":"MDU6TGFiZWw2NjcyMTA1NjQ=","url":"https://api.github.com/repos/geophystech/eqalert.ru/labels/enhancement","name":"enhancement","color":"0e8a16","default":true},{"id":690935859,"node_id":"MDU6TGFiZWw2OTA5MzU4NTk=","url":"https://api.github.com/repos/geophystech/eqalert.ru/labels/new%20feature","name":"new feature","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/geophystech/eqalert.ru/milestones/3","html_url":"https://github.com/geophystech/eqalert.ru/milestone/3","labels_url":"https://api.github.com/repos/geophystech/eqalert.ru/milestones/3/labels","id":3793701,"node_id":"MDk6TWlsZXN0b25lMzc5MzcwMQ==","number":3,"title":"2.1","description":"","creator":{"login":"jamm1985","id":3518847,"node_id":"MDQ6VXNlcjM1MTg4NDc=","avatar_url":"https://avatars1.githubusercontent.com/u/3518847?v=4","gravatar_id":"","url":"https://api.github.com/users/jamm1985","html_url":"https://github.com/jamm1985","followers_url":"https://api.github.com/users/jamm1985/followers","following_url":"https://api.github.com/users/jamm1985/following{/other_user}","gists_url":"https://api.github.com/users/jamm1985/gists{/gist_id}","starred_url":"https://api.github.com/users/jamm1985/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamm1985/subscriptions","organizations_url":"https://api.github.com/users/jamm1985/orgs","repos_url":"https://api.github.com/users/jamm1985/repos","events_url":"https://api.github.com/users/jamm1985/events{/privacy}","received_events_url":"https://api.github.com/users/jamm1985/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":4,"state":"open","created_at":"2018-11-04T12:30:14Z","updated_at":"2018-12-09T23:25:59Z","due_on":"2018-11-30T08:00:00Z","closed_at":null},"comments":2,"created_at":"2018-11-04T22:58:26Z","updated_at":"2018-12-15T09:42:57Z","closed_at":null,"author_association":"MEMBER","body":"Необходимо добавить возможность выгрузки данных в XLSX и CSV для авторизованных пользователей данных на следующих страницах:\r\n\r\n- https://eqalert.ru/#/events (то что сейчас загружено на странице с учётом фильтров)\r\n- на страницах событий, например, https://eqalert.ru/#/events/QgpAn7OW ,формируем вкладки XLSX аналогично тем, что на странице. Для CSV делаем архив вкладка=файл.\r\n\r\nНаименование полей аналогично тем, что приходят от API. "},"comment":{"url":"https://api.github.com/repos/geophystech/eqalert.ru/issues/comments/447554850","html_url":"https://github.com/geophystech/eqalert.ru/issues/273#issuecomment-447554850","issue_url":"https://api.github.com/repos/geophystech/eqalert.ru/issues/273","id":447554850,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NzU1NDg1MA==","user":{"login":"jamm1985","id":3518847,"node_id":"MDQ6VXNlcjM1MTg4NDc=","avatar_url":"https://avatars1.githubusercontent.com/u/3518847?v=4","gravatar_id":"","url":"https://api.github.com/users/jamm1985","html_url":"https://github.com/jamm1985","followers_url":"https://api.github.com/users/jamm1985/followers","following_url":"https://api.github.com/users/jamm1985/following{/other_user}","gists_url":"https://api.github.com/users/jamm1985/gists{/gist_id}","starred_url":"https://api.github.com/users/jamm1985/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamm1985/subscriptions","organizations_url":"https://api.github.com/users/jamm1985/orgs","repos_url":"https://api.github.com/users/jamm1985/repos","events_url":"https://api.github.com/users/jamm1985/events{/privacy}","received_events_url":"https://api.github.com/users/jamm1985/received_events","type":"User","site_admin":false},"created_at":"2018-12-15T09:42:57Z","updated_at":"2018-12-15T09:42:57Z","author_association":"MEMBER","body":"@DoctorLines \r\n\r\nВложенные объекты записываем в одну строку. Так как для каждого объекта одинаковый набор полей во вложенных объектах, то можно делать фиксированный набор полей.\r\n\r\n> А метод https://rest-api.eqalert.ru/apidoc/#api-Reports-GetList вообще может с пагинацией быть. \r\n\r\nТам есть параметр limit. Если пришел запрос с фильтрами или без, то ставим limit по умолчанию 5000. Если у нас будет случай выхода за limit 5000, то последняя строка должна содержать сообщение, что вывод обрезан по причине превышения лимита."}}
{"actor":{"display_login":"jamm1985"}}