{"action":"created","comment":{"url":"https://api.github.com/repos/claroline/Distribution/pulls/comments/177448591","pull_request_review_id":107319550,"id":177448591,"diff_hunk":"@@ -72,7 +73,7 @@ public function serialize(Workspace $workspace, array $options = [])\n         if (!in_array(Options::SERIALIZE_MINIMAL, $options)) {\n             $serializer = $this->container->get('claroline.api.serializer');\n             $serialized = array_merge($serialized, [\n-                'poster' => '', // todo : add as Workspace prop\n+                'thumbnail' => $workspace->getThumbnail() ? $this->container->get('claroline.serializer.public_file')->serialize($workspace->getThumbnail()) : null,","path":"main/core/API/Serializer/WorkspaceSerializer.php","position":13,"original_position":13,"commit_id":"5c61d7c2bc20604536a973fbd198120b72d4e5c3","original_commit_id":"f63fcec92bd6229be92407938d12e9555c797e9b","user":{"login":"Elorfin","id":5363219,"avatar_url":"https://avatars2.githubusercontent.com/u/5363219?v=4","gravatar_id":"","url":"https://api.github.com/users/Elorfin","html_url":"https://github.com/Elorfin","followers_url":"https://api.github.com/users/Elorfin/followers","following_url":"https://api.github.com/users/Elorfin/following{/other_user}","gists_url":"https://api.github.com/users/Elorfin/gists{/gist_id}","starred_url":"https://api.github.com/users/Elorfin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Elorfin/subscriptions","organizations_url":"https://api.github.com/users/Elorfin/orgs","repos_url":"https://api.github.com/users/Elorfin/repos","events_url":"https://api.github.com/users/Elorfin/events{/privacy}","received_events_url":"https://api.github.com/users/Elorfin/received_events","type":"User","site_admin":false},"body":"Also note, the `thumbnail` will not replace the `poster`, this is just the small version of the `poster` for embed and list displays.","created_at":"2018-03-27T14:36:38Z","updated_at":"2018-03-27T14:36:38Z","html_url":"https://github.com/claroline/Distribution/pull/3835#discussion_r177448591","pull_request_url":"https://api.github.com/repos/claroline/Distribution/pulls/3835","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/claroline/Distribution/pulls/comments/177448591"},"html":{"href":"https://github.com/claroline/Distribution/pull/3835#discussion_r177448591"},"pull_request":{"href":"https://api.github.com/repos/claroline/Distribution/pulls/3835"}},"in_reply_to_id":177435020},"pull_request":{"url":"https://api.github.com/repos/claroline/Distribution/pulls/3835","id":177729508,"html_url":"https://github.com/claroline/Distribution/pull/3835","diff_url":"https://github.com/claroline/Distribution/pull/3835.diff","patch_url":"https://github.com/claroline/Distribution/pull/3835.patch","issue_url":"https://api.github.com/repos/claroline/Distribution/issues/3835","number":3835,"state":"open","locked":false,"title":"[CoreBundle] Workspace parameters react","user":{"login":"ngodfraind","id":1397430,"avatar_url":"https://avatars3.githubusercontent.com/u/1397430?v=4","gravatar_id":"","url":"https://api.github.com/users/ngodfraind","html_url":"https://github.com/ngodfraind","followers_url":"https://api.github.com/users/ngodfraind/followers","following_url":"https://api.github.com/users/ngodfraind/following{/other_user}","gists_url":"https://api.github.com/users/ngodfraind/gists{/gist_id}","starred_url":"https://api.github.com/users/ngodfraind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngodfraind/subscriptions","organizations_url":"https://api.github.com/users/ngodfraind/orgs","repos_url":"https://api.github.com/users/ngodfraind/repos","events_url":"https://api.github.com/users/ngodfraind/events{/privacy}","received_events_url":"https://api.github.com/users/ngodfraind/received_events","type":"User","site_admin":false},"body":"| Q             | A\r\n| ------------- | ---\r\n| Bug fix?      | yes/no\r\n| New feature?  | yes/no\r\n| BC breaks?    | yes/no\r\n| Fixed tickets | #3823 \r\n\r\n<!-- please add a description here if needed -->\r\n\r\n\r\n","created_at":"2018-03-27T12:50:54Z","updated_at":"2018-03-27T14:36:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e5bf7e46cc48c8a93ae6ef36eb5675624cb773fa","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/claroline/Distribution/pulls/3835/commits","review_comments_url":"https://api.github.com/repos/claroline/Distribution/pulls/3835/comments","review_comment_url":"https://api.github.com/repos/claroline/Distribution/pulls/comments{/number}","comments_url":"https://api.github.com/repos/claroline/Distribution/issues/3835/comments","statuses_url":"https://api.github.com/repos/claroline/Distribution/statuses/5c61d7c2bc20604536a973fbd198120b72d4e5c3","head":{"label":"claroline:workspace-parameters-react","ref":"workspace-parameters-react","sha":"5c61d7c2bc20604536a973fbd198120b72d4e5c3","user":{"login":"claroline","id":897720,"avatar_url":"https://avatars0.githubusercontent.com/u/897720?v=4","gravatar_id":"","url":"https://api.github.com/users/claroline","html_url":"https://github.com/claroline","followers_url":"https://api.github.com/users/claroline/followers","following_url":"https://api.github.com/users/claroline/following{/other_user}","gists_url":"https://api.github.com/users/claroline/gists{/gist_id}","starred_url":"https://api.github.com/users/claroline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claroline/subscriptions","organizations_url":"https://api.github.com/users/claroline/orgs","repos_url":"https://api.github.com/users/claroline/repos","events_url":"https://api.github.com/users/claroline/events{/privacy}","received_events_url":"https://api.github.com/users/claroline/received_events","type":"Organization","site_admin":false},"repo":{"id":54133088,"name":"Distribution","full_name":"claroline/Distribution","owner":{"login":"claroline","id":897720,"avatar_url":"https://avatars0.githubusercontent.com/u/897720?v=4","gravatar_id":"","url":"https://api.github.com/users/claroline","html_url":"https://github.com/claroline","followers_url":"https://api.github.com/users/claroline/followers","following_url":"https://api.github.com/users/claroline/following{/other_user}","gists_url":"https://api.github.com/users/claroline/gists{/gist_id}","starred_url":"https://api.github.com/users/claroline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claroline/subscriptions","organizations_url":"https://api.github.com/users/claroline/orgs","repos_url":"https://api.github.com/users/claroline/repos","events_url":"https://api.github.com/users/claroline/events{/privacy}","received_events_url":"https://api.github.com/users/claroline/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/claroline/Distribution","description":"Official Claroline Connect LMS Distribution","fork":false,"url":"https://api.github.com/repos/claroline/Distribution","forks_url":"https://api.github.com/repos/claroline/Distribution/forks","keys_url":"https://api.github.com/repos/claroline/Distribution/keys{/key_id}","collaborators_url":"https://api.github.com/repos/claroline/Distribution/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/claroline/Distribution/teams","hooks_url":"https://api.github.com/repos/claroline/Distribution/hooks","issue_events_url":"https://api.github.com/repos/claroline/Distribution/issues/events{/number}","events_url":"https://api.github.com/repos/claroline/Distribution/events","assignees_url":"https://api.github.com/repos/claroline/Distribution/assignees{/user}","branches_url":"https://api.github.com/repos/claroline/Distribution/branches{/branch}","tags_url":"https://api.github.com/repos/claroline/Distribution/tags","blobs_url":"https://api.github.com/repos/claroline/Distribution/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/claroline/Distribution/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/claroline/Distribution/git/refs{/sha}","trees_url":"https://api.github.com/repos/claroline/Distribution/git/trees{/sha}","statuses_url":"https://api.github.com/repos/claroline/Distribution/statuses/{sha}","languages_url":"https://api.github.com/repos/claroline/Distribution/languages","stargazers_url":"https://api.github.com/repos/claroline/Distribution/stargazers","contributors_url":"https://api.github.com/repos/claroline/Distribution/contributors","subscribers_url":"https://api.github.com/repos/claroline/Distribution/subscribers","subscription_url":"https://api.github.com/repos/claroline/Distribution/subscription","commits_url":"https://api.github.com/repos/claroline/Distribution/commits{/sha}","git_commits_url":"https://api.github.com/repos/claroline/Distribution/git/commits{/sha}","comments_url":"https://api.github.com/repos/claroline/Distribution/comments{/number}","issue_comment_url":"https://api.github.com/repos/claroline/Distribution/issues/comments{/number}","contents_url":"https://api.github.com/repos/claroline/Distribution/contents/{+path}","compare_url":"https://api.github.com/repos/claroline/Distribution/compare/{base}...{head}","merges_url":"https://api.github.com/repos/claroline/Distribution/merges","archive_url":"https://api.github.com/repos/claroline/Distribution/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/claroline/Distribution/downloads","issues_url":"https://api.github.com/repos/claroline/Distribution/issues{/number}","pulls_url":"https://api.github.com/repos/claroline/Distribution/pulls{/number}","milestones_url":"https://api.github.com/repos/claroline/Distribution/milestones{/number}","notifications_url":"https://api.github.com/repos/claroline/Distribution/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/claroline/Distribution/labels{/name}","releases_url":"https://api.github.com/repos/claroline/Distribution/releases{/id}","deployments_url":"https://api.github.com/repos/claroline/Distribution/deployments","created_at":"2016-03-17T16:17:50Z","updated_at":"2018-03-27T06:08:21Z","pushed_at":"2018-03-27T14:04:46Z","git_url":"git://github.com/claroline/Distribution.git","ssh_url":"git@github.com:claroline/Distribution.git","clone_url":"https://github.com/claroline/Distribution.git","svn_url":"https://github.com/claroline/Distribution","homepage":"http://www.claroline.net","size":73321,"stargazers_count":34,"watchers_count":34,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":29,"mirror_url":null,"archived":false,"open_issues_count":390,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":29,"open_issues":390,"watchers":34,"default_branch":"11.x"}},"base":{"label":"claroline:11.x","ref":"11.x","sha":"f8ef1d0f4fddc3583b5f47e68a985e2273b659ad","user":{"login":"claroline","id":897720,"avatar_url":"https://avatars0.githubusercontent.com/u/897720?v=4","gravatar_id":"","url":"https://api.github.com/users/claroline","html_url":"https://github.com/claroline","followers_url":"https://api.github.com/users/claroline/followers","following_url":"https://api.github.com/users/claroline/following{/other_user}","gists_url":"https://api.github.com/users/claroline/gists{/gist_id}","starred_url":"https://api.github.com/users/claroline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claroline/subscriptions","organizations_url":"https://api.github.com/users/claroline/orgs","repos_url":"https://api.github.com/users/claroline/repos","events_url":"https://api.github.com/users/claroline/events{/privacy}","received_events_url":"https://api.github.com/users/claroline/received_events","type":"Organization","site_admin":false},"repo":{"id":54133088,"name":"Distribution","full_name":"claroline/Distribution","owner":{"login":"claroline","id":897720,"avatar_url":"https://avatars0.githubusercontent.com/u/897720?v=4","gravatar_id":"","url":"https://api.github.com/users/claroline","html_url":"https://github.com/claroline","followers_url":"https://api.github.com/users/claroline/followers","following_url":"https://api.github.com/users/claroline/following{/other_user}","gists_url":"https://api.github.com/users/claroline/gists{/gist_id}","starred_url":"https://api.github.com/users/claroline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claroline/subscriptions","organizations_url":"https://api.github.com/users/claroline/orgs","repos_url":"https://api.github.com/users/claroline/repos","events_url":"https://api.github.com/users/claroline/events{/privacy}","received_events_url":"https://api.github.com/users/claroline/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/claroline/Distribution","description":"Official Claroline Connect LMS Distribution","fork":false,"url":"https://api.github.com/repos/claroline/Distribution","forks_url":"https://api.github.com/repos/claroline/Distribution/forks","keys_url":"https://api.github.com/repos/claroline/Distribution/keys{/key_id}","collaborators_url":"https://api.github.com/repos/claroline/Distribution/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/claroline/Distribution/teams","hooks_url":"https://api.github.com/repos/claroline/Distribution/hooks","issue_events_url":"https://api.github.com/repos/claroline/Distribution/issues/events{/number}","events_url":"https://api.github.com/repos/claroline/Distribution/events","assignees_url":"https://api.github.com/repos/claroline/Distribution/assignees{/user}","branches_url":"https://api.github.com/repos/claroline/Distribution/branches{/branch}","tags_url":"https://api.github.com/repos/claroline/Distribution/tags","blobs_url":"https://api.github.com/repos/claroline/Distribution/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/claroline/Distribution/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/claroline/Distribution/git/refs{/sha}","trees_url":"https://api.github.com/repos/claroline/Distribution/git/trees{/sha}","statuses_url":"https://api.github.com/repos/claroline/Distribution/statuses/{sha}","languages_url":"https://api.github.com/repos/claroline/Distribution/languages","stargazers_url":"https://api.github.com/repos/claroline/Distribution/stargazers","contributors_url":"https://api.github.com/repos/claroline/Distribution/contributors","subscribers_url":"https://api.github.com/repos/claroline/Distribution/subscribers","subscription_url":"https://api.github.com/repos/claroline/Distribution/subscription","commits_url":"https://api.github.com/repos/claroline/Distribution/commits{/sha}","git_commits_url":"https://api.github.com/repos/claroline/Distribution/git/commits{/sha}","comments_url":"https://api.github.com/repos/claroline/Distribution/comments{/number}","issue_comment_url":"https://api.github.com/repos/claroline/Distribution/issues/comments{/number}","contents_url":"https://api.github.com/repos/claroline/Distribution/contents/{+path}","compare_url":"https://api.github.com/repos/claroline/Distribution/compare/{base}...{head}","merges_url":"https://api.github.com/repos/claroline/Distribution/merges","archive_url":"https://api.github.com/repos/claroline/Distribution/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/claroline/Distribution/downloads","issues_url":"https://api.github.com/repos/claroline/Distribution/issues{/number}","pulls_url":"https://api.github.com/repos/claroline/Distribution/pulls{/number}","milestones_url":"https://api.github.com/repos/claroline/Distribution/milestones{/number}","notifications_url":"https://api.github.com/repos/claroline/Distribution/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/claroline/Distribution/labels{/name}","releases_url":"https://api.github.com/repos/claroline/Distribution/releases{/id}","deployments_url":"https://api.github.com/repos/claroline/Distribution/deployments","created_at":"2016-03-17T16:17:50Z","updated_at":"2018-03-27T06:08:21Z","pushed_at":"2018-03-27T14:04:46Z","git_url":"git://github.com/claroline/Distribution.git","ssh_url":"git@github.com:claroline/Distribution.git","clone_url":"https://github.com/claroline/Distribution.git","svn_url":"https://github.com/claroline/Distribution","homepage":"http://www.claroline.net","size":73321,"stargazers_count":34,"watchers_count":34,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":29,"mirror_url":null,"archived":false,"open_issues_count":390,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":29,"open_issues":390,"watchers":34,"default_branch":"11.x"}},"_links":{"self":{"href":"https://api.github.com/repos/claroline/Distribution/pulls/3835"},"html":{"href":"https://github.com/claroline/Distribution/pull/3835"},"issue":{"href":"https://api.github.com/repos/claroline/Distribution/issues/3835"},"comments":{"href":"https://api.github.com/repos/claroline/Distribution/issues/3835/comments"},"review_comments":{"href":"https://api.github.com/repos/claroline/Distribution/pulls/3835/comments"},"review_comment":{"href":"https://api.github.com/repos/claroline/Distribution/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/claroline/Distribution/pulls/3835/commits"},"statuses":{"href":"https://api.github.com/repos/claroline/Distribution/statuses/5c61d7c2bc20604536a973fbd198120b72d4e5c3"}},"author_association":"OWNER"}}
{"actor":{"display_login":"Elorfin"}}