{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/janmoravec/czech-crime/pulls/1","id":186662711,"html_url":"https://github.com/janmoravec/czech-crime/pull/1","diff_url":"https://github.com/janmoravec/czech-crime/pull/1.diff","patch_url":"https://github.com/janmoravec/czech-crime/pull/1.patch","issue_url":"https://api.github.com/repos/janmoravec/czech-crime/issues/1","number":1,"state":"open","locked":false,"title":"API fix + suggestion","user":{"login":"janstol","id":7049545,"avatar_url":"https://avatars2.githubusercontent.com/u/7049545?v=4","gravatar_id":"","url":"https://api.github.com/users/janstol","html_url":"https://github.com/janstol","followers_url":"https://api.github.com/users/janstol/followers","following_url":"https://api.github.com/users/janstol/following{/other_user}","gists_url":"https://api.github.com/users/janstol/gists{/gist_id}","starred_url":"https://api.github.com/users/janstol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janstol/subscriptions","organizations_url":"https://api.github.com/users/janstol/orgs","repos_url":"https://api.github.com/users/janstol/repos","events_url":"https://api.github.com/users/janstol/events{/privacy}","received_events_url":"https://api.github.com/users/janstol/received_events","type":"User","site_admin":false},"body":"Pokus o opravy chyb a jeden návrh:\r\n\r\n1. http://mapakriminality.cz/api/areas/0 vrací http://mapakriminality.cz/api/areas/0000 (tedy detail oblasti s kódem 0000). Problém je samozřejmě i u jiných kódů...\r\n\r\n2. To samé jako u 1. platí pro http://mapakriminality.cz/api/crimes?areacode=0. Dobře je to vidět třeba na http://mapakriminality.cz/api/crimes?areacode=0&crimetypes=106&timefrom=2-2018&timeto=2-2018, kdy to vrací 2 výsledky - jeden pro \"0\" a jeden pro \"0000\"\r\n\r\n3. Návrh: bylo by dobré při dotazu http://mapakriminality.cz/api/areas/ vracet všechny detaily (ne jen Code, Name a areaLevel)","created_at":"2018-05-08T14:58:46Z","updated_at":"2018-05-08T14:58:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/janmoravec/czech-crime/pulls/1/commits","review_comments_url":"https://api.github.com/repos/janmoravec/czech-crime/pulls/1/comments","review_comment_url":"https://api.github.com/repos/janmoravec/czech-crime/pulls/comments{/number}","comments_url":"https://api.github.com/repos/janmoravec/czech-crime/issues/1/comments","statuses_url":"https://api.github.com/repos/janmoravec/czech-crime/statuses/fba6ce3eebacbaf1c80a0f4a58e4bb6c871fe1aa","head":{"label":"janstol:master","ref":"master","sha":"fba6ce3eebacbaf1c80a0f4a58e4bb6c871fe1aa","user":{"login":"janstol","id":7049545,"avatar_url":"https://avatars2.githubusercontent.com/u/7049545?v=4","gravatar_id":"","url":"https://api.github.com/users/janstol","html_url":"https://github.com/janstol","followers_url":"https://api.github.com/users/janstol/followers","following_url":"https://api.github.com/users/janstol/following{/other_user}","gists_url":"https://api.github.com/users/janstol/gists{/gist_id}","starred_url":"https://api.github.com/users/janstol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janstol/subscriptions","organizations_url":"https://api.github.com/users/janstol/orgs","repos_url":"https://api.github.com/users/janstol/repos","events_url":"https://api.github.com/users/janstol/events{/privacy}","received_events_url":"https://api.github.com/users/janstol/received_events","type":"User","site_admin":false},"repo":{"id":132618455,"name":"czech-crime","full_name":"janstol/czech-crime","owner":{"login":"janstol","id":7049545,"avatar_url":"https://avatars2.githubusercontent.com/u/7049545?v=4","gravatar_id":"","url":"https://api.github.com/users/janstol","html_url":"https://github.com/janstol","followers_url":"https://api.github.com/users/janstol/followers","following_url":"https://api.github.com/users/janstol/following{/other_user}","gists_url":"https://api.github.com/users/janstol/gists{/gist_id}","starred_url":"https://api.github.com/users/janstol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janstol/subscriptions","organizations_url":"https://api.github.com/users/janstol/orgs","repos_url":"https://api.github.com/users/janstol/repos","events_url":"https://api.github.com/users/janstol/events{/privacy}","received_events_url":"https://api.github.com/users/janstol/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/janstol/czech-crime","description":"The Czechcrime.org (mapakriminality.cz) project.","fork":true,"url":"https://api.github.com/repos/janstol/czech-crime","forks_url":"https://api.github.com/repos/janstol/czech-crime/forks","keys_url":"https://api.github.com/repos/janstol/czech-crime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/janstol/czech-crime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/janstol/czech-crime/teams","hooks_url":"https://api.github.com/repos/janstol/czech-crime/hooks","issue_events_url":"https://api.github.com/repos/janstol/czech-crime/issues/events{/number}","events_url":"https://api.github.com/repos/janstol/czech-crime/events","assignees_url":"https://api.github.com/repos/janstol/czech-crime/assignees{/user}","branches_url":"https://api.github.com/repos/janstol/czech-crime/branches{/branch}","tags_url":"https://api.github.com/repos/janstol/czech-crime/tags","blobs_url":"https://api.github.com/repos/janstol/czech-crime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/janstol/czech-crime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/janstol/czech-crime/git/refs{/sha}","trees_url":"https://api.github.com/repos/janstol/czech-crime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/janstol/czech-crime/statuses/{sha}","languages_url":"https://api.github.com/repos/janstol/czech-crime/languages","stargazers_url":"https://api.github.com/repos/janstol/czech-crime/stargazers","contributors_url":"https://api.github.com/repos/janstol/czech-crime/contributors","subscribers_url":"https://api.github.com/repos/janstol/czech-crime/subscribers","subscription_url":"https://api.github.com/repos/janstol/czech-crime/subscription","commits_url":"https://api.github.com/repos/janstol/czech-crime/commits{/sha}","git_commits_url":"https://api.github.com/repos/janstol/czech-crime/git/commits{/sha}","comments_url":"https://api.github.com/repos/janstol/czech-crime/comments{/number}","issue_comment_url":"https://api.github.com/repos/janstol/czech-crime/issues/comments{/number}","contents_url":"https://api.github.com/repos/janstol/czech-crime/contents/{+path}","compare_url":"https://api.github.com/repos/janstol/czech-crime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/janstol/czech-crime/merges","archive_url":"https://api.github.com/repos/janstol/czech-crime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/janstol/czech-crime/downloads","issues_url":"https://api.github.com/repos/janstol/czech-crime/issues{/number}","pulls_url":"https://api.github.com/repos/janstol/czech-crime/pulls{/number}","milestones_url":"https://api.github.com/repos/janstol/czech-crime/milestones{/number}","notifications_url":"https://api.github.com/repos/janstol/czech-crime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/janstol/czech-crime/labels{/name}","releases_url":"https://api.github.com/repos/janstol/czech-crime/releases{/id}","deployments_url":"https://api.github.com/repos/janstol/czech-crime/deployments","created_at":"2018-05-08T14:09:24Z","updated_at":"2018-05-08T14:42:22Z","pushed_at":"2018-05-08T14:42:21Z","git_url":"git://github.com/janstol/czech-crime.git","ssh_url":"git@github.com:janstol/czech-crime.git","clone_url":"https://github.com/janstol/czech-crime.git","svn_url":"https://github.com/janstol/czech-crime","homepage":null,"size":240645,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"janmoravec:master","ref":"master","sha":"78d79eaf583b822d8da2d5aa0d6d1b46a838c23d","user":{"login":"janmoravec","id":378902,"avatar_url":"https://avatars3.githubusercontent.com/u/378902?v=4","gravatar_id":"","url":"https://api.github.com/users/janmoravec","html_url":"https://github.com/janmoravec","followers_url":"https://api.github.com/users/janmoravec/followers","following_url":"https://api.github.com/users/janmoravec/following{/other_user}","gists_url":"https://api.github.com/users/janmoravec/gists{/gist_id}","starred_url":"https://api.github.com/users/janmoravec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janmoravec/subscriptions","organizations_url":"https://api.github.com/users/janmoravec/orgs","repos_url":"https://api.github.com/users/janmoravec/repos","events_url":"https://api.github.com/users/janmoravec/events{/privacy}","received_events_url":"https://api.github.com/users/janmoravec/received_events","type":"User","site_admin":false},"repo":{"id":16836423,"name":"czech-crime","full_name":"janmoravec/czech-crime","owner":{"login":"janmoravec","id":378902,"avatar_url":"https://avatars3.githubusercontent.com/u/378902?v=4","gravatar_id":"","url":"https://api.github.com/users/janmoravec","html_url":"https://github.com/janmoravec","followers_url":"https://api.github.com/users/janmoravec/followers","following_url":"https://api.github.com/users/janmoravec/following{/other_user}","gists_url":"https://api.github.com/users/janmoravec/gists{/gist_id}","starred_url":"https://api.github.com/users/janmoravec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janmoravec/subscriptions","organizations_url":"https://api.github.com/users/janmoravec/orgs","repos_url":"https://api.github.com/users/janmoravec/repos","events_url":"https://api.github.com/users/janmoravec/events{/privacy}","received_events_url":"https://api.github.com/users/janmoravec/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/janmoravec/czech-crime","description":"The Czechcrime.org (mapakriminality.cz) project.","fork":false,"url":"https://api.github.com/repos/janmoravec/czech-crime","forks_url":"https://api.github.com/repos/janmoravec/czech-crime/forks","keys_url":"https://api.github.com/repos/janmoravec/czech-crime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/janmoravec/czech-crime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/janmoravec/czech-crime/teams","hooks_url":"https://api.github.com/repos/janmoravec/czech-crime/hooks","issue_events_url":"https://api.github.com/repos/janmoravec/czech-crime/issues/events{/number}","events_url":"https://api.github.com/repos/janmoravec/czech-crime/events","assignees_url":"https://api.github.com/repos/janmoravec/czech-crime/assignees{/user}","branches_url":"https://api.github.com/repos/janmoravec/czech-crime/branches{/branch}","tags_url":"https://api.github.com/repos/janmoravec/czech-crime/tags","blobs_url":"https://api.github.com/repos/janmoravec/czech-crime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/janmoravec/czech-crime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/janmoravec/czech-crime/git/refs{/sha}","trees_url":"https://api.github.com/repos/janmoravec/czech-crime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/janmoravec/czech-crime/statuses/{sha}","languages_url":"https://api.github.com/repos/janmoravec/czech-crime/languages","stargazers_url":"https://api.github.com/repos/janmoravec/czech-crime/stargazers","contributors_url":"https://api.github.com/repos/janmoravec/czech-crime/contributors","subscribers_url":"https://api.github.com/repos/janmoravec/czech-crime/subscribers","subscription_url":"https://api.github.com/repos/janmoravec/czech-crime/subscription","commits_url":"https://api.github.com/repos/janmoravec/czech-crime/commits{/sha}","git_commits_url":"https://api.github.com/repos/janmoravec/czech-crime/git/commits{/sha}","comments_url":"https://api.github.com/repos/janmoravec/czech-crime/comments{/number}","issue_comment_url":"https://api.github.com/repos/janmoravec/czech-crime/issues/comments{/number}","contents_url":"https://api.github.com/repos/janmoravec/czech-crime/contents/{+path}","compare_url":"https://api.github.com/repos/janmoravec/czech-crime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/janmoravec/czech-crime/merges","archive_url":"https://api.github.com/repos/janmoravec/czech-crime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/janmoravec/czech-crime/downloads","issues_url":"https://api.github.com/repos/janmoravec/czech-crime/issues{/number}","pulls_url":"https://api.github.com/repos/janmoravec/czech-crime/pulls{/number}","milestones_url":"https://api.github.com/repos/janmoravec/czech-crime/milestones{/number}","notifications_url":"https://api.github.com/repos/janmoravec/czech-crime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/janmoravec/czech-crime/labels{/name}","releases_url":"https://api.github.com/repos/janmoravec/czech-crime/releases{/id}","deployments_url":"https://api.github.com/repos/janmoravec/czech-crime/deployments","created_at":"2014-02-14T12:19:28Z","updated_at":"2016-01-12T14:45:25Z","pushed_at":"2016-01-12T14:44:53Z","git_url":"git://github.com/janmoravec/czech-crime.git","ssh_url":"git@github.com:janmoravec/czech-crime.git","clone_url":"https://github.com/janmoravec/czech-crime.git","svn_url":"https://github.com/janmoravec/czech-crime","homepage":null,"size":240645,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/janmoravec/czech-crime/pulls/1"},"html":{"href":"https://github.com/janmoravec/czech-crime/pull/1"},"issue":{"href":"https://api.github.com/repos/janmoravec/czech-crime/issues/1"},"comments":{"href":"https://api.github.com/repos/janmoravec/czech-crime/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/janmoravec/czech-crime/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/janmoravec/czech-crime/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/janmoravec/czech-crime/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/janmoravec/czech-crime/statuses/fba6ce3eebacbaf1c80a0f4a58e4bb6c871fe1aa"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":4,"deletions":4,"changed_files":1}}
{"actor":{"display_login":"janstol"}}