{"action":"opened","number":2126,"pull_request":{"url":"https://api.github.com/repos/sulu-io/sulu/pulls/2126","id":62780590,"html_url":"https://github.com/sulu-io/sulu/pull/2126","diff_url":"https://github.com/sulu-io/sulu/pull/2126.diff","patch_url":"https://github.com/sulu-io/sulu/pull/2126.patch","issue_url":"https://api.github.com/repos/sulu-io/sulu/issues/2126","number":2126,"state":"open","locked":false,"title":"excluded recursion from accounts REST API","user":{"login":"danrot","id":405874,"avatar_url":"https://avatars.githubusercontent.com/u/405874?v=3","gravatar_id":"","url":"https://api.github.com/users/danrot","html_url":"https://github.com/danrot","followers_url":"https://api.github.com/users/danrot/followers","following_url":"https://api.github.com/users/danrot/following{/other_user}","gists_url":"https://api.github.com/users/danrot/gists{/gist_id}","starred_url":"https://api.github.com/users/danrot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danrot/subscriptions","organizations_url":"https://api.github.com/users/danrot/orgs","repos_url":"https://api.github.com/users/danrot/repos","events_url":"https://api.github.com/users/danrot/events{/privacy}","received_events_url":"https://api.github.com/users/danrot/received_events","type":"User","site_admin":false},"body":"| Q | A\r\n| --- | ---\r\n| Bug fix? | yes\r\n| New feature? | no\r\n| BC breaks? | yes\r\n| Deprecations? | no\r\n| Fixed tickets | fixes #1471 \r\n| Related issues/PRs | none\r\n| License | MIT\r\n| Documentation PR | none\r\n\r\n#### What's in this PR?\r\n\r\nThis PR removes the recursion appeared on the action `/admin/api/accounts` by specifically defining the SerializationContexts which should be used.\r\n\r\n#### BC Breaks/Deprecations\r\n\r\nThe response of the action `/admin/api/accounts` does not contain as much information about the contacts assigned to the account as it did before.\r\n\r\n","created_at":"2016-03-14T16:54:51Z","updated_at":"2016-03-14T16:54:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sulu-io/sulu/pulls/2126/commits","review_comments_url":"https://api.github.com/repos/sulu-io/sulu/pulls/2126/comments","review_comment_url":"https://api.github.com/repos/sulu-io/sulu/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sulu-io/sulu/issues/2126/comments","statuses_url":"https://api.github.com/repos/sulu-io/sulu/statuses/86648749e6f035ced27eb311e03b7a339140b8d2","head":{"label":"danrot:bugfix/account-nesting-level","ref":"bugfix/account-nesting-level","sha":"86648749e6f035ced27eb311e03b7a339140b8d2","user":{"login":"danrot","id":405874,"avatar_url":"https://avatars.githubusercontent.com/u/405874?v=3","gravatar_id":"","url":"https://api.github.com/users/danrot","html_url":"https://github.com/danrot","followers_url":"https://api.github.com/users/danrot/followers","following_url":"https://api.github.com/users/danrot/following{/other_user}","gists_url":"https://api.github.com/users/danrot/gists{/gist_id}","starred_url":"https://api.github.com/users/danrot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danrot/subscriptions","organizations_url":"https://api.github.com/users/danrot/orgs","repos_url":"https://api.github.com/users/danrot/repos","events_url":"https://api.github.com/users/danrot/events{/privacy}","received_events_url":"https://api.github.com/users/danrot/received_events","type":"User","site_admin":false},"repo":{"id":52616950,"name":"sulu","full_name":"danrot/sulu","owner":{"login":"danrot","id":405874,"avatar_url":"https://avatars.githubusercontent.com/u/405874?v=3","gravatar_id":"","url":"https://api.github.com/users/danrot","html_url":"https://github.com/danrot","followers_url":"https://api.github.com/users/danrot/followers","following_url":"https://api.github.com/users/danrot/following{/other_user}","gists_url":"https://api.github.com/users/danrot/gists{/gist_id}","starred_url":"https://api.github.com/users/danrot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danrot/subscriptions","organizations_url":"https://api.github.com/users/danrot/orgs","repos_url":"https://api.github.com/users/danrot/repos","events_url":"https://api.github.com/users/danrot/events{/privacy}","received_events_url":"https://api.github.com/users/danrot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danrot/sulu","description":"Sulu core bundles & components","fork":true,"url":"https://api.github.com/repos/danrot/sulu","forks_url":"https://api.github.com/repos/danrot/sulu/forks","keys_url":"https://api.github.com/repos/danrot/sulu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danrot/sulu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danrot/sulu/teams","hooks_url":"https://api.github.com/repos/danrot/sulu/hooks","issue_events_url":"https://api.github.com/repos/danrot/sulu/issues/events{/number}","events_url":"https://api.github.com/repos/danrot/sulu/events","assignees_url":"https://api.github.com/repos/danrot/sulu/assignees{/user}","branches_url":"https://api.github.com/repos/danrot/sulu/branches{/branch}","tags_url":"https://api.github.com/repos/danrot/sulu/tags","blobs_url":"https://api.github.com/repos/danrot/sulu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danrot/sulu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danrot/sulu/git/refs{/sha}","trees_url":"https://api.github.com/repos/danrot/sulu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danrot/sulu/statuses/{sha}","languages_url":"https://api.github.com/repos/danrot/sulu/languages","stargazers_url":"https://api.github.com/repos/danrot/sulu/stargazers","contributors_url":"https://api.github.com/repos/danrot/sulu/contributors","subscribers_url":"https://api.github.com/repos/danrot/sulu/subscribers","subscription_url":"https://api.github.com/repos/danrot/sulu/subscription","commits_url":"https://api.github.com/repos/danrot/sulu/commits{/sha}","git_commits_url":"https://api.github.com/repos/danrot/sulu/git/commits{/sha}","comments_url":"https://api.github.com/repos/danrot/sulu/comments{/number}","issue_comment_url":"https://api.github.com/repos/danrot/sulu/issues/comments{/number}","contents_url":"https://api.github.com/repos/danrot/sulu/contents/{+path}","compare_url":"https://api.github.com/repos/danrot/sulu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danrot/sulu/merges","archive_url":"https://api.github.com/repos/danrot/sulu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danrot/sulu/downloads","issues_url":"https://api.github.com/repos/danrot/sulu/issues{/number}","pulls_url":"https://api.github.com/repos/danrot/sulu/pulls{/number}","milestones_url":"https://api.github.com/repos/danrot/sulu/milestones{/number}","notifications_url":"https://api.github.com/repos/danrot/sulu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danrot/sulu/labels{/name}","releases_url":"https://api.github.com/repos/danrot/sulu/releases{/id}","deployments_url":"https://api.github.com/repos/danrot/sulu/deployments","created_at":"2016-02-26T16:22:17Z","updated_at":"2016-02-26T16:22:24Z","pushed_at":"2016-03-14T16:51:12Z","git_url":"git://github.com/danrot/sulu.git","ssh_url":"git@github.com:danrot/sulu.git","clone_url":"https://github.com/danrot/sulu.git","svn_url":"https://github.com/danrot/sulu","homepage":"sulu.io","size":60110,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"sulu-io:develop","ref":"develop","sha":"c9ff1bbfa3c7b3b7c33b9c2ce7b43ac7d251eb42","user":{"login":"sulu-io","id":5717006,"avatar_url":"https://avatars.githubusercontent.com/u/5717006?v=3","gravatar_id":"","url":"https://api.github.com/users/sulu-io","html_url":"https://github.com/sulu-io","followers_url":"https://api.github.com/users/sulu-io/followers","following_url":"https://api.github.com/users/sulu-io/following{/other_user}","gists_url":"https://api.github.com/users/sulu-io/gists{/gist_id}","starred_url":"https://api.github.com/users/sulu-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sulu-io/subscriptions","organizations_url":"https://api.github.com/users/sulu-io/orgs","repos_url":"https://api.github.com/users/sulu-io/repos","events_url":"https://api.github.com/users/sulu-io/events{/privacy}","received_events_url":"https://api.github.com/users/sulu-io/received_events","type":"Organization","site_admin":false},"repo":{"id":13678015,"name":"sulu","full_name":"sulu-io/sulu","owner":{"login":"sulu-io","id":5717006,"avatar_url":"https://avatars.githubusercontent.com/u/5717006?v=3","gravatar_id":"","url":"https://api.github.com/users/sulu-io","html_url":"https://github.com/sulu-io","followers_url":"https://api.github.com/users/sulu-io/followers","following_url":"https://api.github.com/users/sulu-io/following{/other_user}","gists_url":"https://api.github.com/users/sulu-io/gists{/gist_id}","starred_url":"https://api.github.com/users/sulu-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sulu-io/subscriptions","organizations_url":"https://api.github.com/users/sulu-io/orgs","repos_url":"https://api.github.com/users/sulu-io/repos","events_url":"https://api.github.com/users/sulu-io/events{/privacy}","received_events_url":"https://api.github.com/users/sulu-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sulu-io/sulu","description":"Sulu core bundles & components","fork":false,"url":"https://api.github.com/repos/sulu-io/sulu","forks_url":"https://api.github.com/repos/sulu-io/sulu/forks","keys_url":"https://api.github.com/repos/sulu-io/sulu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sulu-io/sulu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sulu-io/sulu/teams","hooks_url":"https://api.github.com/repos/sulu-io/sulu/hooks","issue_events_url":"https://api.github.com/repos/sulu-io/sulu/issues/events{/number}","events_url":"https://api.github.com/repos/sulu-io/sulu/events","assignees_url":"https://api.github.com/repos/sulu-io/sulu/assignees{/user}","branches_url":"https://api.github.com/repos/sulu-io/sulu/branches{/branch}","tags_url":"https://api.github.com/repos/sulu-io/sulu/tags","blobs_url":"https://api.github.com/repos/sulu-io/sulu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sulu-io/sulu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sulu-io/sulu/git/refs{/sha}","trees_url":"https://api.github.com/repos/sulu-io/sulu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sulu-io/sulu/statuses/{sha}","languages_url":"https://api.github.com/repos/sulu-io/sulu/languages","stargazers_url":"https://api.github.com/repos/sulu-io/sulu/stargazers","contributors_url":"https://api.github.com/repos/sulu-io/sulu/contributors","subscribers_url":"https://api.github.com/repos/sulu-io/sulu/subscribers","subscription_url":"https://api.github.com/repos/sulu-io/sulu/subscription","commits_url":"https://api.github.com/repos/sulu-io/sulu/commits{/sha}","git_commits_url":"https://api.github.com/repos/sulu-io/sulu/git/commits{/sha}","comments_url":"https://api.github.com/repos/sulu-io/sulu/comments{/number}","issue_comment_url":"https://api.github.com/repos/sulu-io/sulu/issues/comments{/number}","contents_url":"https://api.github.com/repos/sulu-io/sulu/contents/{+path}","compare_url":"https://api.github.com/repos/sulu-io/sulu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sulu-io/sulu/merges","archive_url":"https://api.github.com/repos/sulu-io/sulu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sulu-io/sulu/downloads","issues_url":"https://api.github.com/repos/sulu-io/sulu/issues{/number}","pulls_url":"https://api.github.com/repos/sulu-io/sulu/pulls{/number}","milestones_url":"https://api.github.com/repos/sulu-io/sulu/milestones{/number}","notifications_url":"https://api.github.com/repos/sulu-io/sulu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sulu-io/sulu/labels{/name}","releases_url":"https://api.github.com/repos/sulu-io/sulu/releases{/id}","deployments_url":"https://api.github.com/repos/sulu-io/sulu/deployments","created_at":"2013-10-18T12:57:02Z","updated_at":"2016-03-14T10:44:30Z","pushed_at":"2016-03-14T16:54:51Z","git_url":"git://github.com/sulu-io/sulu.git","ssh_url":"git@github.com:sulu-io/sulu.git","clone_url":"https://github.com/sulu-io/sulu.git","svn_url":"https://github.com/sulu-io/sulu","homepage":"sulu.io","size":69056,"stargazers_count":108,"watchers_count":108,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":353,"forks":27,"open_issues":353,"watchers":108,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/sulu-io/sulu/pulls/2126"},"html":{"href":"https://github.com/sulu-io/sulu/pull/2126"},"issue":{"href":"https://api.github.com/repos/sulu-io/sulu/issues/2126"},"comments":{"href":"https://api.github.com/repos/sulu-io/sulu/issues/2126/comments"},"review_comments":{"href":"https://api.github.com/repos/sulu-io/sulu/pulls/2126/comments"},"review_comment":{"href":"https://api.github.com/repos/sulu-io/sulu/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sulu-io/sulu/pulls/2126/commits"},"statuses":{"href":"https://api.github.com/repos/sulu-io/sulu/statuses/86648749e6f035ced27eb311e03b7a339140b8d2"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":69,"deletions":0,"changed_files":3}}