{"action":"closed","number":511,"pull_request":{"url":"https://api.github.com/repos/Jasig/uPortal/pulls/511","id":28647996,"html_url":"https://github.com/Jasig/uPortal/pull/511","diff_url":"https://github.com/Jasig/uPortal/pull/511.diff","patch_url":"https://github.com/Jasig/uPortal/pull/511.patch","issue_url":"https://api.github.com/repos/Jasig/uPortal/issues/511","number":511,"state":"closed","locked":false,"title":"UP-4403 : Adds json export feature","user":{"login":"timlevett","id":3534544,"avatar_url":"https://avatars.githubusercontent.com/u/3534544?v=3","gravatar_id":"","url":"https://api.github.com/users/timlevett","html_url":"https://github.com/timlevett","followers_url":"https://api.github.com/users/timlevett/followers","following_url":"https://api.github.com/users/timlevett/following{/other_user}","gists_url":"https://api.github.com/users/timlevett/gists{/gist_id}","starred_url":"https://api.github.com/users/timlevett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timlevett/subscriptions","organizations_url":"https://api.github.com/users/timlevett/orgs","repos_url":"https://api.github.com/users/timlevett/repos","events_url":"https://api.github.com/users/timlevett/events{/privacy}","received_events_url":"https://api.github.com/users/timlevett/received_events","type":"User","site_admin":false},"body":"With this you can now do `/api/{entity-type}/{entity-id}?format=JSON` (example `/api/portlet-definition/portal-activity?format=JSON`) which will return a JSON representation of the entity file.  Import may come in the future, but this is a step in that direction. By not passing in a format it will give you XML (just like it is today).","created_at":"2015-02-04T15:42:15Z","updated_at":"2015-07-16T17:46:54Z","closed_at":"2015-07-16T17:46:54Z","merged_at":"2015-07-16T17:46:54Z","merge_commit_sha":"42afb27c2c473f42b21b6b5175da249cf45e872e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Jasig/uPortal/pulls/511/commits","review_comments_url":"https://api.github.com/repos/Jasig/uPortal/pulls/511/comments","review_comment_url":"https://api.github.com/repos/Jasig/uPortal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Jasig/uPortal/issues/511/comments","statuses_url":"https://api.github.com/repos/Jasig/uPortal/statuses/594d6e2edd01a91cfcfa3c2f6c0727e18fd6608c","head":{"label":"timlevett:add_json_export","ref":"add_json_export","sha":"594d6e2edd01a91cfcfa3c2f6c0727e18fd6608c","user":{"login":"timlevett","id":3534544,"avatar_url":"https://avatars.githubusercontent.com/u/3534544?v=3","gravatar_id":"","url":"https://api.github.com/users/timlevett","html_url":"https://github.com/timlevett","followers_url":"https://api.github.com/users/timlevett/followers","following_url":"https://api.github.com/users/timlevett/following{/other_user}","gists_url":"https://api.github.com/users/timlevett/gists{/gist_id}","starred_url":"https://api.github.com/users/timlevett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timlevett/subscriptions","organizations_url":"https://api.github.com/users/timlevett/orgs","repos_url":"https://api.github.com/users/timlevett/repos","events_url":"https://api.github.com/users/timlevett/events{/privacy}","received_events_url":"https://api.github.com/users/timlevett/received_events","type":"User","site_admin":false},"repo":{"id":10105067,"name":"uPortal","full_name":"timlevett/uPortal","owner":{"login":"timlevett","id":3534544,"avatar_url":"https://avatars.githubusercontent.com/u/3534544?v=3","gravatar_id":"","url":"https://api.github.com/users/timlevett","html_url":"https://github.com/timlevett","followers_url":"https://api.github.com/users/timlevett/followers","following_url":"https://api.github.com/users/timlevett/following{/other_user}","gists_url":"https://api.github.com/users/timlevett/gists{/gist_id}","starred_url":"https://api.github.com/users/timlevett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timlevett/subscriptions","organizations_url":"https://api.github.com/users/timlevett/orgs","repos_url":"https://api.github.com/users/timlevett/repos","events_url":"https://api.github.com/users/timlevett/events{/privacy}","received_events_url":"https://api.github.com/users/timlevett/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/timlevett/uPortal","description":"Enterprise open source portal built by and for the higher education community.","fork":true,"url":"https://api.github.com/repos/timlevett/uPortal","forks_url":"https://api.github.com/repos/timlevett/uPortal/forks","keys_url":"https://api.github.com/repos/timlevett/uPortal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/timlevett/uPortal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/timlevett/uPortal/teams","hooks_url":"https://api.github.com/repos/timlevett/uPortal/hooks","issue_events_url":"https://api.github.com/repos/timlevett/uPortal/issues/events{/number}","events_url":"https://api.github.com/repos/timlevett/uPortal/events","assignees_url":"https://api.github.com/repos/timlevett/uPortal/assignees{/user}","branches_url":"https://api.github.com/repos/timlevett/uPortal/branches{/branch}","tags_url":"https://api.github.com/repos/timlevett/uPortal/tags","blobs_url":"https://api.github.com/repos/timlevett/uPortal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/timlevett/uPortal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/timlevett/uPortal/git/refs{/sha}","trees_url":"https://api.github.com/repos/timlevett/uPortal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/timlevett/uPortal/statuses/{sha}","languages_url":"https://api.github.com/repos/timlevett/uPortal/languages","stargazers_url":"https://api.github.com/repos/timlevett/uPortal/stargazers","contributors_url":"https://api.github.com/repos/timlevett/uPortal/contributors","subscribers_url":"https://api.github.com/repos/timlevett/uPortal/subscribers","subscription_url":"https://api.github.com/repos/timlevett/uPortal/subscription","commits_url":"https://api.github.com/repos/timlevett/uPortal/commits{/sha}","git_commits_url":"https://api.github.com/repos/timlevett/uPortal/git/commits{/sha}","comments_url":"https://api.github.com/repos/timlevett/uPortal/comments{/number}","issue_comment_url":"https://api.github.com/repos/timlevett/uPortal/issues/comments{/number}","contents_url":"https://api.github.com/repos/timlevett/uPortal/contents/{+path}","compare_url":"https://api.github.com/repos/timlevett/uPortal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/timlevett/uPortal/merges","archive_url":"https://api.github.com/repos/timlevett/uPortal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/timlevett/uPortal/downloads","issues_url":"https://api.github.com/repos/timlevett/uPortal/issues{/number}","pulls_url":"https://api.github.com/repos/timlevett/uPortal/pulls{/number}","milestones_url":"https://api.github.com/repos/timlevett/uPortal/milestones{/number}","notifications_url":"https://api.github.com/repos/timlevett/uPortal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/timlevett/uPortal/labels{/name}","releases_url":"https://api.github.com/repos/timlevett/uPortal/releases{/id}","created_at":"2013-05-16T16:06:33Z","updated_at":"2014-12-17T14:31:27Z","pushed_at":"2015-06-10T15:47:02Z","git_url":"git://github.com/timlevett/uPortal.git","ssh_url":"git@github.com:timlevett/uPortal.git","clone_url":"https://github.com/timlevett/uPortal.git","svn_url":"https://github.com/timlevett/uPortal","homepage":"http://www.jasig.org/uportal","size":143960,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"Jasig:master","ref":"master","sha":"3592a535d695499c1952213156f8ad3934a2c99e","user":{"login":"Jasig","id":884285,"avatar_url":"https://avatars.githubusercontent.com/u/884285?v=3","gravatar_id":"","url":"https://api.github.com/users/Jasig","html_url":"https://github.com/Jasig","followers_url":"https://api.github.com/users/Jasig/followers","following_url":"https://api.github.com/users/Jasig/following{/other_user}","gists_url":"https://api.github.com/users/Jasig/gists{/gist_id}","starred_url":"https://api.github.com/users/Jasig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jasig/subscriptions","organizations_url":"https://api.github.com/users/Jasig/orgs","repos_url":"https://api.github.com/users/Jasig/repos","events_url":"https://api.github.com/users/Jasig/events{/privacy}","received_events_url":"https://api.github.com/users/Jasig/received_events","type":"Organization","site_admin":false},"repo":{"id":2614085,"name":"uPortal","full_name":"Jasig/uPortal","owner":{"login":"Jasig","id":884285,"avatar_url":"https://avatars.githubusercontent.com/u/884285?v=3","gravatar_id":"","url":"https://api.github.com/users/Jasig","html_url":"https://github.com/Jasig","followers_url":"https://api.github.com/users/Jasig/followers","following_url":"https://api.github.com/users/Jasig/following{/other_user}","gists_url":"https://api.github.com/users/Jasig/gists{/gist_id}","starred_url":"https://api.github.com/users/Jasig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jasig/subscriptions","organizations_url":"https://api.github.com/users/Jasig/orgs","repos_url":"https://api.github.com/users/Jasig/repos","events_url":"https://api.github.com/users/Jasig/events{/privacy}","received_events_url":"https://api.github.com/users/Jasig/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Jasig/uPortal","description":"Enterprise open source portal built by and for the higher education community.","fork":false,"url":"https://api.github.com/repos/Jasig/uPortal","forks_url":"https://api.github.com/repos/Jasig/uPortal/forks","keys_url":"https://api.github.com/repos/Jasig/uPortal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Jasig/uPortal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Jasig/uPortal/teams","hooks_url":"https://api.github.com/repos/Jasig/uPortal/hooks","issue_events_url":"https://api.github.com/repos/Jasig/uPortal/issues/events{/number}","events_url":"https://api.github.com/repos/Jasig/uPortal/events","assignees_url":"https://api.github.com/repos/Jasig/uPortal/assignees{/user}","branches_url":"https://api.github.com/repos/Jasig/uPortal/branches{/branch}","tags_url":"https://api.github.com/repos/Jasig/uPortal/tags","blobs_url":"https://api.github.com/repos/Jasig/uPortal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Jasig/uPortal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Jasig/uPortal/git/refs{/sha}","trees_url":"https://api.github.com/repos/Jasig/uPortal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Jasig/uPortal/statuses/{sha}","languages_url":"https://api.github.com/repos/Jasig/uPortal/languages","stargazers_url":"https://api.github.com/repos/Jasig/uPortal/stargazers","contributors_url":"https://api.github.com/repos/Jasig/uPortal/contributors","subscribers_url":"https://api.github.com/repos/Jasig/uPortal/subscribers","subscription_url":"https://api.github.com/repos/Jasig/uPortal/subscription","commits_url":"https://api.github.com/repos/Jasig/uPortal/commits{/sha}","git_commits_url":"https://api.github.com/repos/Jasig/uPortal/git/commits{/sha}","comments_url":"https://api.github.com/repos/Jasig/uPortal/comments{/number}","issue_comment_url":"https://api.github.com/repos/Jasig/uPortal/issues/comments{/number}","contents_url":"https://api.github.com/repos/Jasig/uPortal/contents/{+path}","compare_url":"https://api.github.com/repos/Jasig/uPortal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Jasig/uPortal/merges","archive_url":"https://api.github.com/repos/Jasig/uPortal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Jasig/uPortal/downloads","issues_url":"https://api.github.com/repos/Jasig/uPortal/issues{/number}","pulls_url":"https://api.github.com/repos/Jasig/uPortal/pulls{/number}","milestones_url":"https://api.github.com/repos/Jasig/uPortal/milestones{/number}","notifications_url":"https://api.github.com/repos/Jasig/uPortal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Jasig/uPortal/labels{/name}","releases_url":"https://api.github.com/repos/Jasig/uPortal/releases{/id}","created_at":"2011-10-20T15:34:22Z","updated_at":"2015-05-19T11:44:32Z","pushed_at":"2015-07-16T17:46:54Z","git_url":"git://github.com/Jasig/uPortal.git","ssh_url":"git@github.com:Jasig/uPortal.git","clone_url":"https://github.com/Jasig/uPortal.git","svn_url":"https://github.com/Jasig/uPortal","homepage":"http://www.jasig.org/uportal","size":229106,"stargazers_count":98,"watchers_count":98,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":156,"mirror_url":null,"open_issues_count":18,"forks":156,"open_issues":18,"watchers":98,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Jasig/uPortal/pulls/511"},"html":{"href":"https://github.com/Jasig/uPortal/pull/511"},"issue":{"href":"https://api.github.com/repos/Jasig/uPortal/issues/511"},"comments":{"href":"https://api.github.com/repos/Jasig/uPortal/issues/511/comments"},"review_comments":{"href":"https://api.github.com/repos/Jasig/uPortal/pulls/511/comments"},"review_comment":{"href":"https://api.github.com/repos/Jasig/uPortal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Jasig/uPortal/pulls/511/commits"},"statuses":{"href":"https://api.github.com/repos/Jasig/uPortal/statuses/594d6e2edd01a91cfcfa3c2f6c0727e18fd6608c"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"timlevett","id":3534544,"avatar_url":"https://avatars.githubusercontent.com/u/3534544?v=3","gravatar_id":"","url":"https://api.github.com/users/timlevett","html_url":"https://github.com/timlevett","followers_url":"https://api.github.com/users/timlevett/followers","following_url":"https://api.github.com/users/timlevett/following{/other_user}","gists_url":"https://api.github.com/users/timlevett/gists{/gist_id}","starred_url":"https://api.github.com/users/timlevett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timlevett/subscriptions","organizations_url":"https://api.github.com/users/timlevett/orgs","repos_url":"https://api.github.com/users/timlevett/repos","events_url":"https://api.github.com/users/timlevett/events{/privacy}","received_events_url":"https://api.github.com/users/timlevett/received_events","type":"User","site_admin":false},"comments":7,"review_comments":0,"commits":1,"additions":29,"deletions":6,"changed_files":3}}