{"action":"created","comment":{"url":"https://api.github.com/repos/datahq/resolver/pulls/comments/130843070","pull_request_review_id":53761491,"id":130843070,"diff_hunk":"@@ -15,3 +15,33 @@ Resolver is a DataHub microservice for resolving datapackage URLs into more huma\n # Run server\n \n `python server.py`\n+\n+\n+## API\n+\n+### Get information about userid and packageid \n+\n+`/resolver/resolve`\n+\n+**Method:** `GET`\n+\n+**Query Parameters:**\n+\n+ - `path` - takes {username/pkgname}\n+\n+**Returns:**\n+If exists username and pkgname:\n+```json\n+{\n+    \"packageid\": \"<packageid>\",\n+    \"userid\": \"<userid>\"\n+}\n+```\n+if there is no user, it return null:","path":"README.md","position":26,"original_position":26,"commit_id":"05f6f7eb35ce493ce43155aaac039bd99b461096","original_commit_id":"05f6f7eb35ce493ce43155aaac039bd99b461096","user":{"login":"zelima","id":15143785,"avatar_url":"https://avatars3.githubusercontent.com/u/15143785?v=4","gravatar_id":"","url":"https://api.github.com/users/zelima","html_url":"https://github.com/zelima","followers_url":"https://api.github.com/users/zelima/followers","following_url":"https://api.github.com/users/zelima/following{/other_user}","gists_url":"https://api.github.com/users/zelima/gists{/gist_id}","starred_url":"https://api.github.com/users/zelima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zelima/subscriptions","organizations_url":"https://api.github.com/users/zelima/orgs","repos_url":"https://api.github.com/users/zelima/repos","events_url":"https://api.github.com/users/zelima/events{/privacy}","received_events_url":"https://api.github.com/users/zelima/received_events","type":"User","site_admin":false},"body":"If user not found","created_at":"2017-08-02T10:45:19Z","updated_at":"2017-08-02T10:49:49Z","html_url":"https://github.com/datahq/resolver/pull/4#discussion_r130843070","pull_request_url":"https://api.github.com/repos/datahq/resolver/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/datahq/resolver/pulls/comments/130843070"},"html":{"href":"https://github.com/datahq/resolver/pull/4#discussion_r130843070"},"pull_request":{"href":"https://api.github.com/repos/datahq/resolver/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/datahq/resolver/pulls/4","id":133675785,"html_url":"https://github.com/datahq/resolver/pull/4","diff_url":"https://github.com/datahq/resolver/pull/4.diff","patch_url":"https://github.com/datahq/resolver/pull/4.patch","issue_url":"https://api.github.com/repos/datahq/resolver/issues/4","number":4,"state":"open","locked":false,"title":"[readme-api][s]: added API section in README.md - refs #3","user":{"login":"Mikanebu","id":19908588,"avatar_url":"https://avatars2.githubusercontent.com/u/19908588?v=4","gravatar_id":"","url":"https://api.github.com/users/Mikanebu","html_url":"https://github.com/Mikanebu","followers_url":"https://api.github.com/users/Mikanebu/followers","following_url":"https://api.github.com/users/Mikanebu/following{/other_user}","gists_url":"https://api.github.com/users/Mikanebu/gists{/gist_id}","starred_url":"https://api.github.com/users/Mikanebu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mikanebu/subscriptions","organizations_url":"https://api.github.com/users/Mikanebu/orgs","repos_url":"https://api.github.com/users/Mikanebu/repos","events_url":"https://api.github.com/users/Mikanebu/events{/privacy}","received_events_url":"https://api.github.com/users/Mikanebu/received_events","type":"User","site_admin":false},"body":"* added API section in README.md","created_at":"2017-08-02T10:42:07Z","updated_at":"2017-08-02T10:49:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ba0e454f788fc4c8b854b1c57d8050679c1b1da6","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/datahq/resolver/pulls/4/commits","review_comments_url":"https://api.github.com/repos/datahq/resolver/pulls/4/comments","review_comment_url":"https://api.github.com/repos/datahq/resolver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/datahq/resolver/issues/4/comments","statuses_url":"https://api.github.com/repos/datahq/resolver/statuses/05f6f7eb35ce493ce43155aaac039bd99b461096","head":{"label":"datahq:features/readme","ref":"features/readme","sha":"05f6f7eb35ce493ce43155aaac039bd99b461096","user":{"login":"datahq","id":29688219,"avatar_url":"https://avatars1.githubusercontent.com/u/29688219?v=4","gravatar_id":"","url":"https://api.github.com/users/datahq","html_url":"https://github.com/datahq","followers_url":"https://api.github.com/users/datahq/followers","following_url":"https://api.github.com/users/datahq/following{/other_user}","gists_url":"https://api.github.com/users/datahq/gists{/gist_id}","starred_url":"https://api.github.com/users/datahq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datahq/subscriptions","organizations_url":"https://api.github.com/users/datahq/orgs","repos_url":"https://api.github.com/users/datahq/repos","events_url":"https://api.github.com/users/datahq/events{/privacy}","received_events_url":"https://api.github.com/users/datahq/received_events","type":"Organization","site_admin":false},"repo":{"id":98884698,"name":"resolver","full_name":"datahq/resolver","owner":{"login":"datahq","id":29688219,"avatar_url":"https://avatars1.githubusercontent.com/u/29688219?v=4","gravatar_id":"","url":"https://api.github.com/users/datahq","html_url":"https://github.com/datahq","followers_url":"https://api.github.com/users/datahq/followers","following_url":"https://api.github.com/users/datahq/following{/other_user}","gists_url":"https://api.github.com/users/datahq/gists{/gist_id}","starred_url":"https://api.github.com/users/datahq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datahq/subscriptions","organizations_url":"https://api.github.com/users/datahq/orgs","repos_url":"https://api.github.com/users/datahq/repos","events_url":"https://api.github.com/users/datahq/events{/privacy}","received_events_url":"https://api.github.com/users/datahq/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/datahq/resolver","description":null,"fork":false,"url":"https://api.github.com/repos/datahq/resolver","forks_url":"https://api.github.com/repos/datahq/resolver/forks","keys_url":"https://api.github.com/repos/datahq/resolver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/datahq/resolver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/datahq/resolver/teams","hooks_url":"https://api.github.com/repos/datahq/resolver/hooks","issue_events_url":"https://api.github.com/repos/datahq/resolver/issues/events{/number}","events_url":"https://api.github.com/repos/datahq/resolver/events","assignees_url":"https://api.github.com/repos/datahq/resolver/assignees{/user}","branches_url":"https://api.github.com/repos/datahq/resolver/branches{/branch}","tags_url":"https://api.github.com/repos/datahq/resolver/tags","blobs_url":"https://api.github.com/repos/datahq/resolver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/datahq/resolver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/datahq/resolver/git/refs{/sha}","trees_url":"https://api.github.com/repos/datahq/resolver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/datahq/resolver/statuses/{sha}","languages_url":"https://api.github.com/repos/datahq/resolver/languages","stargazers_url":"https://api.github.com/repos/datahq/resolver/stargazers","contributors_url":"https://api.github.com/repos/datahq/resolver/contributors","subscribers_url":"https://api.github.com/repos/datahq/resolver/subscribers","subscription_url":"https://api.github.com/repos/datahq/resolver/subscription","commits_url":"https://api.github.com/repos/datahq/resolver/commits{/sha}","git_commits_url":"https://api.github.com/repos/datahq/resolver/git/commits{/sha}","comments_url":"https://api.github.com/repos/datahq/resolver/comments{/number}","issue_comment_url":"https://api.github.com/repos/datahq/resolver/issues/comments{/number}","contents_url":"https://api.github.com/repos/datahq/resolver/contents/{+path}","compare_url":"https://api.github.com/repos/datahq/resolver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/datahq/resolver/merges","archive_url":"https://api.github.com/repos/datahq/resolver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/datahq/resolver/downloads","issues_url":"https://api.github.com/repos/datahq/resolver/issues{/number}","pulls_url":"https://api.github.com/repos/datahq/resolver/pulls{/number}","milestones_url":"https://api.github.com/repos/datahq/resolver/milestones{/number}","notifications_url":"https://api.github.com/repos/datahq/resolver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/datahq/resolver/labels{/name}","releases_url":"https://api.github.com/repos/datahq/resolver/releases{/id}","deployments_url":"https://api.github.com/repos/datahq/resolver/deployments","created_at":"2017-07-31T12:06:14Z","updated_at":"2017-08-01T09:43:43Z","pushed_at":"2017-08-02T10:42:08Z","git_url":"git://github.com/datahq/resolver.git","ssh_url":"git@github.com:datahq/resolver.git","clone_url":"https://github.com/datahq/resolver.git","svn_url":"https://github.com/datahq/resolver","homepage":null,"size":6,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"datahq:master","ref":"master","sha":"87e8ea2c8b8ebf5ff0f6c63b06f0a992950fe45e","user":{"login":"datahq","id":29688219,"avatar_url":"https://avatars1.githubusercontent.com/u/29688219?v=4","gravatar_id":"","url":"https://api.github.com/users/datahq","html_url":"https://github.com/datahq","followers_url":"https://api.github.com/users/datahq/followers","following_url":"https://api.github.com/users/datahq/following{/other_user}","gists_url":"https://api.github.com/users/datahq/gists{/gist_id}","starred_url":"https://api.github.com/users/datahq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datahq/subscriptions","organizations_url":"https://api.github.com/users/datahq/orgs","repos_url":"https://api.github.com/users/datahq/repos","events_url":"https://api.github.com/users/datahq/events{/privacy}","received_events_url":"https://api.github.com/users/datahq/received_events","type":"Organization","site_admin":false},"repo":{"id":98884698,"name":"resolver","full_name":"datahq/resolver","owner":{"login":"datahq","id":29688219,"avatar_url":"https://avatars1.githubusercontent.com/u/29688219?v=4","gravatar_id":"","url":"https://api.github.com/users/datahq","html_url":"https://github.com/datahq","followers_url":"https://api.github.com/users/datahq/followers","following_url":"https://api.github.com/users/datahq/following{/other_user}","gists_url":"https://api.github.com/users/datahq/gists{/gist_id}","starred_url":"https://api.github.com/users/datahq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datahq/subscriptions","organizations_url":"https://api.github.com/users/datahq/orgs","repos_url":"https://api.github.com/users/datahq/repos","events_url":"https://api.github.com/users/datahq/events{/privacy}","received_events_url":"https://api.github.com/users/datahq/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/datahq/resolver","description":null,"fork":false,"url":"https://api.github.com/repos/datahq/resolver","forks_url":"https://api.github.com/repos/datahq/resolver/forks","keys_url":"https://api.github.com/repos/datahq/resolver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/datahq/resolver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/datahq/resolver/teams","hooks_url":"https://api.github.com/repos/datahq/resolver/hooks","issue_events_url":"https://api.github.com/repos/datahq/resolver/issues/events{/number}","events_url":"https://api.github.com/repos/datahq/resolver/events","assignees_url":"https://api.github.com/repos/datahq/resolver/assignees{/user}","branches_url":"https://api.github.com/repos/datahq/resolver/branches{/branch}","tags_url":"https://api.github.com/repos/datahq/resolver/tags","blobs_url":"https://api.github.com/repos/datahq/resolver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/datahq/resolver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/datahq/resolver/git/refs{/sha}","trees_url":"https://api.github.com/repos/datahq/resolver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/datahq/resolver/statuses/{sha}","languages_url":"https://api.github.com/repos/datahq/resolver/languages","stargazers_url":"https://api.github.com/repos/datahq/resolver/stargazers","contributors_url":"https://api.github.com/repos/datahq/resolver/contributors","subscribers_url":"https://api.github.com/repos/datahq/resolver/subscribers","subscription_url":"https://api.github.com/repos/datahq/resolver/subscription","commits_url":"https://api.github.com/repos/datahq/resolver/commits{/sha}","git_commits_url":"https://api.github.com/repos/datahq/resolver/git/commits{/sha}","comments_url":"https://api.github.com/repos/datahq/resolver/comments{/number}","issue_comment_url":"https://api.github.com/repos/datahq/resolver/issues/comments{/number}","contents_url":"https://api.github.com/repos/datahq/resolver/contents/{+path}","compare_url":"https://api.github.com/repos/datahq/resolver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/datahq/resolver/merges","archive_url":"https://api.github.com/repos/datahq/resolver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/datahq/resolver/downloads","issues_url":"https://api.github.com/repos/datahq/resolver/issues{/number}","pulls_url":"https://api.github.com/repos/datahq/resolver/pulls{/number}","milestones_url":"https://api.github.com/repos/datahq/resolver/milestones{/number}","notifications_url":"https://api.github.com/repos/datahq/resolver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/datahq/resolver/labels{/name}","releases_url":"https://api.github.com/repos/datahq/resolver/releases{/id}","deployments_url":"https://api.github.com/repos/datahq/resolver/deployments","created_at":"2017-07-31T12:06:14Z","updated_at":"2017-08-01T09:43:43Z","pushed_at":"2017-08-02T10:42:08Z","git_url":"git://github.com/datahq/resolver.git","ssh_url":"git@github.com:datahq/resolver.git","clone_url":"https://github.com/datahq/resolver.git","svn_url":"https://github.com/datahq/resolver","homepage":null,"size":6,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/datahq/resolver/pulls/4"},"html":{"href":"https://github.com/datahq/resolver/pull/4"},"issue":{"href":"https://api.github.com/repos/datahq/resolver/issues/4"},"comments":{"href":"https://api.github.com/repos/datahq/resolver/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/datahq/resolver/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/datahq/resolver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/datahq/resolver/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/datahq/resolver/statuses/05f6f7eb35ce493ce43155aaac039bd99b461096"}}}}
{"actor":{"display_login":"zelima"}}