{"action":"opened","number":3327,"pull_request":{"url":"https://api.github.com/repos/librenms/librenms/pulls/3327","id":65713549,"html_url":"https://github.com/librenms/librenms/pull/3327","diff_url":"https://github.com/librenms/librenms/pull/3327.diff","patch_url":"https://github.com/librenms/librenms/pull/3327.patch","issue_url":"https://api.github.com/repos/librenms/librenms/issues/3327","number":3327,"state":"open","locked":false,"title":"Added API Endpoint for port_stack","user":{"login":"Jaredn","id":6464367,"avatar_url":"https://avatars.githubusercontent.com/u/6464367?v=3","gravatar_id":"","url":"https://api.github.com/users/Jaredn","html_url":"https://github.com/Jaredn","followers_url":"https://api.github.com/users/Jaredn/followers","following_url":"https://api.github.com/users/Jaredn/following{/other_user}","gists_url":"https://api.github.com/users/Jaredn/gists{/gist_id}","starred_url":"https://api.github.com/users/Jaredn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jaredn/subscriptions","organizations_url":"https://api.github.com/users/Jaredn/orgs","repos_url":"https://api.github.com/users/Jaredn/repos","events_url":"https://api.github.com/users/Jaredn/events{/privacy}","received_events_url":"https://api.github.com/users/Jaredn/received_events","type":"User","site_admin":false},"body":"Added API endpoint for port_stack, which returns the port_stack database table filtered by hostname/device.  Optionally, you can filter further to only active mappings (only return mappings that aren't mapped to \"0\").","created_at":"2016-04-07T22:59:51Z","updated_at":"2016-04-07T22:59:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"244d54e152671e653bf25e2549619dcd2c70e094","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/librenms/librenms/pulls/3327/commits","review_comments_url":"https://api.github.com/repos/librenms/librenms/pulls/3327/comments","review_comment_url":"https://api.github.com/repos/librenms/librenms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/librenms/librenms/issues/3327/comments","statuses_url":"https://api.github.com/repos/librenms/librenms/statuses/2d7bc78f7aa01138a78ac4111fdebe48aaa2c9a1","head":{"label":"Jaredn:master","ref":"master","sha":"2d7bc78f7aa01138a78ac4111fdebe48aaa2c9a1","user":{"login":"Jaredn","id":6464367,"avatar_url":"https://avatars.githubusercontent.com/u/6464367?v=3","gravatar_id":"","url":"https://api.github.com/users/Jaredn","html_url":"https://github.com/Jaredn","followers_url":"https://api.github.com/users/Jaredn/followers","following_url":"https://api.github.com/users/Jaredn/following{/other_user}","gists_url":"https://api.github.com/users/Jaredn/gists{/gist_id}","starred_url":"https://api.github.com/users/Jaredn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jaredn/subscriptions","organizations_url":"https://api.github.com/users/Jaredn/orgs","repos_url":"https://api.github.com/users/Jaredn/repos","events_url":"https://api.github.com/users/Jaredn/events{/privacy}","received_events_url":"https://api.github.com/users/Jaredn/received_events","type":"User","site_admin":false},"repo":{"id":55530882,"name":"librenms","full_name":"Jaredn/librenms","owner":{"login":"Jaredn","id":6464367,"avatar_url":"https://avatars.githubusercontent.com/u/6464367?v=3","gravatar_id":"","url":"https://api.github.com/users/Jaredn","html_url":"https://github.com/Jaredn","followers_url":"https://api.github.com/users/Jaredn/followers","following_url":"https://api.github.com/users/Jaredn/following{/other_user}","gists_url":"https://api.github.com/users/Jaredn/gists{/gist_id}","starred_url":"https://api.github.com/users/Jaredn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jaredn/subscriptions","organizations_url":"https://api.github.com/users/Jaredn/orgs","repos_url":"https://api.github.com/users/Jaredn/repos","events_url":"https://api.github.com/users/Jaredn/events{/privacy}","received_events_url":"https://api.github.com/users/Jaredn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Jaredn/librenms","description":"Community-based GPL-licensed network monitoring system","fork":true,"url":"https://api.github.com/repos/Jaredn/librenms","forks_url":"https://api.github.com/repos/Jaredn/librenms/forks","keys_url":"https://api.github.com/repos/Jaredn/librenms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Jaredn/librenms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Jaredn/librenms/teams","hooks_url":"https://api.github.com/repos/Jaredn/librenms/hooks","issue_events_url":"https://api.github.com/repos/Jaredn/librenms/issues/events{/number}","events_url":"https://api.github.com/repos/Jaredn/librenms/events","assignees_url":"https://api.github.com/repos/Jaredn/librenms/assignees{/user}","branches_url":"https://api.github.com/repos/Jaredn/librenms/branches{/branch}","tags_url":"https://api.github.com/repos/Jaredn/librenms/tags","blobs_url":"https://api.github.com/repos/Jaredn/librenms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Jaredn/librenms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Jaredn/librenms/git/refs{/sha}","trees_url":"https://api.github.com/repos/Jaredn/librenms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Jaredn/librenms/statuses/{sha}","languages_url":"https://api.github.com/repos/Jaredn/librenms/languages","stargazers_url":"https://api.github.com/repos/Jaredn/librenms/stargazers","contributors_url":"https://api.github.com/repos/Jaredn/librenms/contributors","subscribers_url":"https://api.github.com/repos/Jaredn/librenms/subscribers","subscription_url":"https://api.github.com/repos/Jaredn/librenms/subscription","commits_url":"https://api.github.com/repos/Jaredn/librenms/commits{/sha}","git_commits_url":"https://api.github.com/repos/Jaredn/librenms/git/commits{/sha}","comments_url":"https://api.github.com/repos/Jaredn/librenms/comments{/number}","issue_comment_url":"https://api.github.com/repos/Jaredn/librenms/issues/comments{/number}","contents_url":"https://api.github.com/repos/Jaredn/librenms/contents/{+path}","compare_url":"https://api.github.com/repos/Jaredn/librenms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Jaredn/librenms/merges","archive_url":"https://api.github.com/repos/Jaredn/librenms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Jaredn/librenms/downloads","issues_url":"https://api.github.com/repos/Jaredn/librenms/issues{/number}","pulls_url":"https://api.github.com/repos/Jaredn/librenms/pulls{/number}","milestones_url":"https://api.github.com/repos/Jaredn/librenms/milestones{/number}","notifications_url":"https://api.github.com/repos/Jaredn/librenms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Jaredn/librenms/labels{/name}","releases_url":"https://api.github.com/repos/Jaredn/librenms/releases{/id}","deployments_url":"https://api.github.com/repos/Jaredn/librenms/deployments","created_at":"2016-04-05T18:07:28Z","updated_at":"2016-04-05T18:08:10Z","pushed_at":"2016-04-07T22:56:34Z","git_url":"git://github.com/Jaredn/librenms.git","ssh_url":"git@github.com:Jaredn/librenms.git","clone_url":"https://github.com/Jaredn/librenms.git","svn_url":"https://github.com/Jaredn/librenms","homepage":"http://www.librenms.org/","size":67345,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"librenms:master","ref":"master","sha":"d0734d78b0d8759e80cd211cdef659e330034682","user":{"login":"librenms","id":5791783,"avatar_url":"https://avatars.githubusercontent.com/u/5791783?v=3","gravatar_id":"","url":"https://api.github.com/users/librenms","html_url":"https://github.com/librenms","followers_url":"https://api.github.com/users/librenms/followers","following_url":"https://api.github.com/users/librenms/following{/other_user}","gists_url":"https://api.github.com/users/librenms/gists{/gist_id}","starred_url":"https://api.github.com/users/librenms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/librenms/subscriptions","organizations_url":"https://api.github.com/users/librenms/orgs","repos_url":"https://api.github.com/users/librenms/repos","events_url":"https://api.github.com/users/librenms/events{/privacy}","received_events_url":"https://api.github.com/users/librenms/received_events","type":"Organization","site_admin":false},"repo":{"id":13914116,"name":"librenms","full_name":"librenms/librenms","owner":{"login":"librenms","id":5791783,"avatar_url":"https://avatars.githubusercontent.com/u/5791783?v=3","gravatar_id":"","url":"https://api.github.com/users/librenms","html_url":"https://github.com/librenms","followers_url":"https://api.github.com/users/librenms/followers","following_url":"https://api.github.com/users/librenms/following{/other_user}","gists_url":"https://api.github.com/users/librenms/gists{/gist_id}","starred_url":"https://api.github.com/users/librenms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/librenms/subscriptions","organizations_url":"https://api.github.com/users/librenms/orgs","repos_url":"https://api.github.com/users/librenms/repos","events_url":"https://api.github.com/users/librenms/events{/privacy}","received_events_url":"https://api.github.com/users/librenms/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/librenms/librenms","description":"Community-based GPL-licensed network monitoring system","fork":false,"url":"https://api.github.com/repos/librenms/librenms","forks_url":"https://api.github.com/repos/librenms/librenms/forks","keys_url":"https://api.github.com/repos/librenms/librenms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/librenms/librenms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/librenms/librenms/teams","hooks_url":"https://api.github.com/repos/librenms/librenms/hooks","issue_events_url":"https://api.github.com/repos/librenms/librenms/issues/events{/number}","events_url":"https://api.github.com/repos/librenms/librenms/events","assignees_url":"https://api.github.com/repos/librenms/librenms/assignees{/user}","branches_url":"https://api.github.com/repos/librenms/librenms/branches{/branch}","tags_url":"https://api.github.com/repos/librenms/librenms/tags","blobs_url":"https://api.github.com/repos/librenms/librenms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/librenms/librenms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/librenms/librenms/git/refs{/sha}","trees_url":"https://api.github.com/repos/librenms/librenms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/librenms/librenms/statuses/{sha}","languages_url":"https://api.github.com/repos/librenms/librenms/languages","stargazers_url":"https://api.github.com/repos/librenms/librenms/stargazers","contributors_url":"https://api.github.com/repos/librenms/librenms/contributors","subscribers_url":"https://api.github.com/repos/librenms/librenms/subscribers","subscription_url":"https://api.github.com/repos/librenms/librenms/subscription","commits_url":"https://api.github.com/repos/librenms/librenms/commits{/sha}","git_commits_url":"https://api.github.com/repos/librenms/librenms/git/commits{/sha}","comments_url":"https://api.github.com/repos/librenms/librenms/comments{/number}","issue_comment_url":"https://api.github.com/repos/librenms/librenms/issues/comments{/number}","contents_url":"https://api.github.com/repos/librenms/librenms/contents/{+path}","compare_url":"https://api.github.com/repos/librenms/librenms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/librenms/librenms/merges","archive_url":"https://api.github.com/repos/librenms/librenms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/librenms/librenms/downloads","issues_url":"https://api.github.com/repos/librenms/librenms/issues{/number}","pulls_url":"https://api.github.com/repos/librenms/librenms/pulls{/number}","milestones_url":"https://api.github.com/repos/librenms/librenms/milestones{/number}","notifications_url":"https://api.github.com/repos/librenms/librenms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/librenms/librenms/labels{/name}","releases_url":"https://api.github.com/repos/librenms/librenms/releases{/id}","deployments_url":"https://api.github.com/repos/librenms/librenms/deployments","created_at":"2013-10-28T01:37:13Z","updated_at":"2016-04-06T21:09:24Z","pushed_at":"2016-04-07T22:59:52Z","git_url":"git://github.com/librenms/librenms.git","ssh_url":"git@github.com:librenms/librenms.git","clone_url":"https://github.com/librenms/librenms.git","svn_url":"https://github.com/librenms/librenms","homepage":"http://www.librenms.org/","size":90884,"stargazers_count":376,"watchers_count":376,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":239,"mirror_url":null,"open_issues_count":346,"forks":239,"open_issues":346,"watchers":376,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/librenms/librenms/pulls/3327"},"html":{"href":"https://github.com/librenms/librenms/pull/3327"},"issue":{"href":"https://api.github.com/repos/librenms/librenms/issues/3327"},"comments":{"href":"https://api.github.com/repos/librenms/librenms/issues/3327/comments"},"review_comments":{"href":"https://api.github.com/repos/librenms/librenms/pulls/3327/comments"},"review_comment":{"href":"https://api.github.com/repos/librenms/librenms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/librenms/librenms/pulls/3327/commits"},"statuses":{"href":"https://api.github.com/repos/librenms/librenms/statuses/2d7bc78f7aa01138a78ac4111fdebe48aaa2c9a1"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":72,"deletions":2,"changed_files":4}}