{"action":"created","comment":{"url":"https://api.github.com/repos/nuxeo/nuxeo/pulls/comments/149643695","pull_request_review_id":75050255,"id":149643695,"diff_hunk":"@@ -0,0 +1,173 @@\n+/*\n+ * (C) Copyright 2017 Nuxeo SA (http://nuxeo.com/) and others.\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ *     http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ *\n+ * Contributors:\n+ *     Guillaume Renard\n+ */\n+\n+package org.nuxeo.ecm.platform.rendition.operation;\n+\n+import org.apache.commons.logging.Log;\n+import org.apache.commons.logging.LogFactory;\n+import org.nuxeo.ecm.automation.AutomationService;\n+import org.nuxeo.ecm.automation.OperationContext;\n+import org.nuxeo.ecm.automation.OperationException;\n+import org.nuxeo.ecm.automation.core.Constants;\n+import org.nuxeo.ecm.automation.core.annotations.Context;\n+import org.nuxeo.ecm.automation.core.annotations.Operation;\n+import org.nuxeo.ecm.automation.core.annotations.OperationMethod;\n+import org.nuxeo.ecm.automation.core.annotations.Param;\n+import org.nuxeo.ecm.automation.core.operations.blob.CreateZip;\n+import org.nuxeo.ecm.automation.core.util.BlobList;\n+import org.nuxeo.ecm.collections.api.CollectionManager;\n+import org.nuxeo.ecm.collections.core.adapter.Collection;\n+import org.nuxeo.ecm.core.api.Blob;\n+import org.nuxeo.ecm.core.api.CoreSession;\n+import org.nuxeo.ecm.core.api.DocumentModel;\n+import org.nuxeo.ecm.core.api.DocumentModelIterator;\n+import org.nuxeo.ecm.core.api.DocumentRef;\n+import org.nuxeo.ecm.core.api.IdRef;\n+import org.nuxeo.ecm.core.api.LifeCycleConstants;\n+import org.nuxeo.ecm.core.api.NuxeoException;\n+import org.nuxeo.ecm.core.schema.FacetNames;\n+import org.nuxeo.ecm.platform.rendition.Rendition;\n+import org.nuxeo.ecm.platform.rendition.service.RenditionService;\n+import org.nuxeo.runtime.api.Framework;\n+\n+/**\n+ * Returns a Folderish Document or Collection default rendition.\n+ *\n+ * @since 9.3\n+ */\n+@Operation(id = GetContainerRendition.ID, category = Constants.CAT_BLOB, label = \"Gets the folder's children or the collection's members default renditions\", description = \"Gets the list of blob of the folder's children or the collection's members default renditions. Returns a blob list file containing all the default rendition blobs.\")\n+public class GetContainerRendition {\n+\n+    private static final Log log = LogFactory.getLog(GetContainerRendition.class);\n+\n+    public static final String ID = \"Document.GetContainerRendition\";\n+\n+    @Context\n+    protected RenditionService renditionService;\n+\n+    @Context\n+    protected CollectionManager collectionManager;\n+\n+    @Param(name = \"reason\", required = false)\n+    protected String reason;\n+\n+    @Param(name = \"limit\", description = \"Limit of members to be returned. Default is no limit.\", required = false)\n+    protected int limit = -1;\n+\n+    @Param(name = \"maxDepth\", description = \"Depth of the hierarchy to be explored. Default is 5.\", required = false)\n+    protected int maxDepth = 5;\n+\n+    @Param(name = \"_currentDepth\", required = false)\n+    protected int currentDepth = 0;\n+\n+    @Context\n+    protected CoreSession session;\n+\n+    protected int added = 0;\n+\n+    protected BlobList getCollectionBlobs(Collection collection) {\n+        BlobList blobs = new BlobList();\n+        for (String memberId : collection.getCollectedDocumentIds()) {\n+            DocumentRef memberRef = new IdRef(memberId);\n+            if (session.exists(memberRef)\n+                    && !LifeCycleConstants.DELETED_STATE.equals(session.getCurrentLifeCycleState(memberRef))) {\n+                DocumentModel member = session.getDocument(memberRef);\n+                Blob blob = getDefaultRendition(member);\n+                if (blob != null) {\n+                    blobs.add(blob);\n+                    if (limit > -1 && ++added >= limit) {\n+                        break;\n+                    }\n+                }\n+            }\n+        }\n+        return blobs;\n+    }\n+\n+    protected Blob getDefaultRendition(DocumentModel doc) {\n+        Blob blob = null;\n+        if ((collectionManager.isCollection(doc) || doc.hasFacet(FacetNames.FOLDERISH)) && currentDepth < maxDepth) {\n+            blob = processContainer(doc);\n+        } else {\n+            Rendition rendition = renditionService.getDefaultRendition(doc, reason, null);\n+            if (rendition != null) {\n+                blob = rendition.getBlob();\n+                if (blob == null) {\n+                    log.debug(String.format(\"Default rendition '%s' has an null Blob for document '%s'\",\n+                            rendition.getName(), doc.getPathAsString()));\n+                }\n+            }\n+        }\n+        return blob;\n+    }\n+\n+    private BlobList getFolderishBlobs(DocumentModel parent) {\n+        BlobList blobs = new BlobList();\n+        DocumentModelIterator it = session.getChildrenIterator(parent.getRef());\n+        while (it.hasNext()) {\n+            DocumentModel child = it.next();\n+            if (!LifeCycleConstants.DELETED_STATE.equals(session.getCurrentLifeCycleState(child.getRef()))) {\n+                Blob blob = getDefaultRendition(child);\n+                if (blob != null) {\n+                    blobs.add(blob);\n+                    if (limit > -1 && ++added >= limit) {\n+                        break;\n+                    }\n+                }\n+            }\n+        }\n+        return blobs;\n+    }\n+\n+    protected Blob processContainer(DocumentModel doc) {\n+        AutomationService as = Framework.getLocalService(AutomationService.class);\n+        try (OperationContext oc = new OperationContext(session)) {\n+            oc.push(\"limit\", limit);\n+            oc.push(\"maxDepth\", maxDepth);\n+            oc.push(\"_currentDepth\", currentDepth + 1);\n+            oc.push(\"reason\", reason);\n+            oc.setInput(doc);\n+            return (Blob) as.run(oc, ID);\n+        } catch (OperationException e) {\n+            throw new NuxeoException(String.format(\"Could not compute rendition for %s\", doc.getPathAsString()));\n+        }\n+    }\n+\n+    @OperationMethod\n+    public Blob run(DocumentModel doc) {\n+        BlobList blobs = null;\n+        if (collectionManager.isCollection(doc)) {\n+            blobs = getCollectionBlobs(doc.getAdapter(Collection.class));\n+        } else if (doc.hasFacet(\"Folderish\")) {\n+            blobs = getFolderishBlobs(doc);\n+        } else {\n+            log.warn(\"The operation only accepts folderish document or collection\");\n+            return null;","path":"nuxeo-features/nuxeo-platform-rendition/nuxeo-platform-rendition-core/src/main/java/org/nuxeo/ecm/platform/rendition/operation/GetContainerRendition.java","position":null,"original_position":161,"commit_id":"c136b8e41236083a9af5bd675ece24ea112d67d3","original_commit_id":"5e3175db11bd09a81d0e7492ddfe46da24000d9d","user":{"login":"efge","id":592810,"avatar_url":"https://avatars3.githubusercontent.com/u/592810?v=4","gravatar_id":"","url":"https://api.github.com/users/efge","html_url":"https://github.com/efge","followers_url":"https://api.github.com/users/efge/followers","following_url":"https://api.github.com/users/efge/following{/other_user}","gists_url":"https://api.github.com/users/efge/gists{/gist_id}","starred_url":"https://api.github.com/users/efge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/efge/subscriptions","organizations_url":"https://api.github.com/users/efge/orgs","repos_url":"https://api.github.com/users/efge/repos","events_url":"https://api.github.com/users/efge/events{/privacy}","received_events_url":"https://api.github.com/users/efge/received_events","type":"User","site_admin":false},"body":"Agreed. And no need for a `WARN` in the logs, the instance manager won't know what to do with it.","created_at":"2017-11-08T11:33:38Z","updated_at":"2017-11-08T11:38:01Z","html_url":"https://github.com/nuxeo/nuxeo/pull/1387#discussion_r149643695","pull_request_url":"https://api.github.com/repos/nuxeo/nuxeo/pulls/1387","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/nuxeo/nuxeo/pulls/comments/149643695"},"html":{"href":"https://github.com/nuxeo/nuxeo/pull/1387#discussion_r149643695"},"pull_request":{"href":"https://api.github.com/repos/nuxeo/nuxeo/pulls/1387"}},"in_reply_to_id":149616977},"pull_request":{"url":"https://api.github.com/repos/nuxeo/nuxeo/pulls/1387","id":151227359,"html_url":"https://github.com/nuxeo/nuxeo/pull/1387","diff_url":"https://github.com/nuxeo/nuxeo/pull/1387.diff","patch_url":"https://github.com/nuxeo/nuxeo/pull/1387.patch","issue_url":"https://api.github.com/repos/nuxeo/nuxeo/issues/1387","number":1387,"state":"open","locked":false,"title":"feature-NXP-23481-recurseBulkDown","user":{"login":"nuxeojenkins","id":925456,"avatar_url":"https://avatars3.githubusercontent.com/u/925456?v=4","gravatar_id":"","url":"https://api.github.com/users/nuxeojenkins","html_url":"https://github.com/nuxeojenkins","followers_url":"https://api.github.com/users/nuxeojenkins/followers","following_url":"https://api.github.com/users/nuxeojenkins/following{/other_user}","gists_url":"https://api.github.com/users/nuxeojenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/nuxeojenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nuxeojenkins/subscriptions","organizations_url":"https://api.github.com/users/nuxeojenkins/orgs","repos_url":"https://api.github.com/users/nuxeojenkins/repos","events_url":"https://api.github.com/users/nuxeojenkins/events{/privacy}","received_events_url":"https://api.github.com/users/nuxeojenkins/received_events","type":"User","site_admin":false},"body":"PR created from https://qa.nuxeo.org/jenkins/job/TestAndPush/job/ondemand-testandpush-grenard-maven3/190/","created_at":"2017-11-07T21:07:14Z","updated_at":"2017-11-08T11:38:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d890a16edf1257280becc42711e37699e697deb7","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/nuxeo/nuxeo/pulls/1387/commits","review_comments_url":"https://api.github.com/repos/nuxeo/nuxeo/pulls/1387/comments","review_comment_url":"https://api.github.com/repos/nuxeo/nuxeo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nuxeo/nuxeo/issues/1387/comments","statuses_url":"https://api.github.com/repos/nuxeo/nuxeo/statuses/c136b8e41236083a9af5bd675ece24ea112d67d3","head":{"label":"nuxeo:feature-NXP-23481-recurseBulkDown","ref":"feature-NXP-23481-recurseBulkDown","sha":"c136b8e41236083a9af5bd675ece24ea112d67d3","user":{"login":"nuxeo","id":460607,"avatar_url":"https://avatars1.githubusercontent.com/u/460607?v=4","gravatar_id":"","url":"https://api.github.com/users/nuxeo","html_url":"https://github.com/nuxeo","followers_url":"https://api.github.com/users/nuxeo/followers","following_url":"https://api.github.com/users/nuxeo/following{/other_user}","gists_url":"https://api.github.com/users/nuxeo/gists{/gist_id}","starred_url":"https://api.github.com/users/nuxeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nuxeo/subscriptions","organizations_url":"https://api.github.com/users/nuxeo/orgs","repos_url":"https://api.github.com/users/nuxeo/repos","events_url":"https://api.github.com/users/nuxeo/events{/privacy}","received_events_url":"https://api.github.com/users/nuxeo/received_events","type":"Organization","site_admin":false},"repo":{"id":2988101,"name":"nuxeo","full_name":"nuxeo/nuxeo","owner":{"login":"nuxeo","id":460607,"avatar_url":"https://avatars1.githubusercontent.com/u/460607?v=4","gravatar_id":"","url":"https://api.github.com/users/nuxeo","html_url":"https://github.com/nuxeo","followers_url":"https://api.github.com/users/nuxeo/followers","following_url":"https://api.github.com/users/nuxeo/following{/other_user}","gists_url":"https://api.github.com/users/nuxeo/gists{/gist_id}","starred_url":"https://api.github.com/users/nuxeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nuxeo/subscriptions","organizations_url":"https://api.github.com/users/nuxeo/orgs","repos_url":"https://api.github.com/users/nuxeo/repos","events_url":"https://api.github.com/users/nuxeo/events{/privacy}","received_events_url":"https://api.github.com/users/nuxeo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nuxeo/nuxeo","description":"Content management platform to build modern business applications","fork":false,"url":"https://api.github.com/repos/nuxeo/nuxeo","forks_url":"https://api.github.com/repos/nuxeo/nuxeo/forks","keys_url":"https://api.github.com/repos/nuxeo/nuxeo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nuxeo/nuxeo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nuxeo/nuxeo/teams","hooks_url":"https://api.github.com/repos/nuxeo/nuxeo/hooks","issue_events_url":"https://api.github.com/repos/nuxeo/nuxeo/issues/events{/number}","events_url":"https://api.github.com/repos/nuxeo/nuxeo/events","assignees_url":"https://api.github.com/repos/nuxeo/nuxeo/assignees{/user}","branches_url":"https://api.github.com/repos/nuxeo/nuxeo/branches{/branch}","tags_url":"https://api.github.com/repos/nuxeo/nuxeo/tags","blobs_url":"https://api.github.com/repos/nuxeo/nuxeo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nuxeo/nuxeo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nuxeo/nuxeo/git/refs{/sha}","trees_url":"https://api.github.com/repos/nuxeo/nuxeo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nuxeo/nuxeo/statuses/{sha}","languages_url":"https://api.github.com/repos/nuxeo/nuxeo/languages","stargazers_url":"https://api.github.com/repos/nuxeo/nuxeo/stargazers","contributors_url":"https://api.github.com/repos/nuxeo/nuxeo/contributors","subscribers_url":"https://api.github.com/repos/nuxeo/nuxeo/subscribers","subscription_url":"https://api.github.com/repos/nuxeo/nuxeo/subscription","commits_url":"https://api.github.com/repos/nuxeo/nuxeo/commits{/sha}","git_commits_url":"https://api.github.com/repos/nuxeo/nuxeo/git/commits{/sha}","comments_url":"https://api.github.com/repos/nuxeo/nuxeo/comments{/number}","issue_comment_url":"https://api.github.com/repos/nuxeo/nuxeo/issues/comments{/number}","contents_url":"https://api.github.com/repos/nuxeo/nuxeo/contents/{+path}","compare_url":"https://api.github.com/repos/nuxeo/nuxeo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nuxeo/nuxeo/merges","archive_url":"https://api.github.com/repos/nuxeo/nuxeo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nuxeo/nuxeo/downloads","issues_url":"https://api.github.com/repos/nuxeo/nuxeo/issues{/number}","pulls_url":"https://api.github.com/repos/nuxeo/nuxeo/pulls{/number}","milestones_url":"https://api.github.com/repos/nuxeo/nuxeo/milestones{/number}","notifications_url":"https://api.github.com/repos/nuxeo/nuxeo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nuxeo/nuxeo/labels{/name}","releases_url":"https://api.github.com/repos/nuxeo/nuxeo/releases{/id}","deployments_url":"https://api.github.com/repos/nuxeo/nuxeo/deployments","created_at":"2011-12-15T14:35:41Z","updated_at":"2017-10-04T20:27:13Z","pushed_at":"2017-11-08T11:35:11Z","git_url":"git://github.com/nuxeo/nuxeo.git","ssh_url":"git@github.com:nuxeo/nuxeo.git","clone_url":"https://github.com/nuxeo/nuxeo.git","svn_url":"https://github.com/nuxeo/nuxeo","homepage":"http://www.nuxeo.com","size":218061,"stargazers_count":176,"watchers_count":176,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":133,"mirror_url":null,"archived":false,"open_issues_count":6,"forks":133,"open_issues":6,"watchers":176,"default_branch":"master"}},"base":{"label":"nuxeo:master","ref":"master","sha":"39d17f98586eab1eb48513a850e0d6405bb186cc","user":{"login":"nuxeo","id":460607,"avatar_url":"https://avatars1.githubusercontent.com/u/460607?v=4","gravatar_id":"","url":"https://api.github.com/users/nuxeo","html_url":"https://github.com/nuxeo","followers_url":"https://api.github.com/users/nuxeo/followers","following_url":"https://api.github.com/users/nuxeo/following{/other_user}","gists_url":"https://api.github.com/users/nuxeo/gists{/gist_id}","starred_url":"https://api.github.com/users/nuxeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nuxeo/subscriptions","organizations_url":"https://api.github.com/users/nuxeo/orgs","repos_url":"https://api.github.com/users/nuxeo/repos","events_url":"https://api.github.com/users/nuxeo/events{/privacy}","received_events_url":"https://api.github.com/users/nuxeo/received_events","type":"Organization","site_admin":false},"repo":{"id":2988101,"name":"nuxeo","full_name":"nuxeo/nuxeo","owner":{"login":"nuxeo","id":460607,"avatar_url":"https://avatars1.githubusercontent.com/u/460607?v=4","gravatar_id":"","url":"https://api.github.com/users/nuxeo","html_url":"https://github.com/nuxeo","followers_url":"https://api.github.com/users/nuxeo/followers","following_url":"https://api.github.com/users/nuxeo/following{/other_user}","gists_url":"https://api.github.com/users/nuxeo/gists{/gist_id}","starred_url":"https://api.github.com/users/nuxeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nuxeo/subscriptions","organizations_url":"https://api.github.com/users/nuxeo/orgs","repos_url":"https://api.github.com/users/nuxeo/repos","events_url":"https://api.github.com/users/nuxeo/events{/privacy}","received_events_url":"https://api.github.com/users/nuxeo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nuxeo/nuxeo","description":"Content management platform to build modern business applications","fork":false,"url":"https://api.github.com/repos/nuxeo/nuxeo","forks_url":"https://api.github.com/repos/nuxeo/nuxeo/forks","keys_url":"https://api.github.com/repos/nuxeo/nuxeo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nuxeo/nuxeo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nuxeo/nuxeo/teams","hooks_url":"https://api.github.com/repos/nuxeo/nuxeo/hooks","issue_events_url":"https://api.github.com/repos/nuxeo/nuxeo/issues/events{/number}","events_url":"https://api.github.com/repos/nuxeo/nuxeo/events","assignees_url":"https://api.github.com/repos/nuxeo/nuxeo/assignees{/user}","branches_url":"https://api.github.com/repos/nuxeo/nuxeo/branches{/branch}","tags_url":"https://api.github.com/repos/nuxeo/nuxeo/tags","blobs_url":"https://api.github.com/repos/nuxeo/nuxeo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nuxeo/nuxeo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nuxeo/nuxeo/git/refs{/sha}","trees_url":"https://api.github.com/repos/nuxeo/nuxeo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nuxeo/nuxeo/statuses/{sha}","languages_url":"https://api.github.com/repos/nuxeo/nuxeo/languages","stargazers_url":"https://api.github.com/repos/nuxeo/nuxeo/stargazers","contributors_url":"https://api.github.com/repos/nuxeo/nuxeo/contributors","subscribers_url":"https://api.github.com/repos/nuxeo/nuxeo/subscribers","subscription_url":"https://api.github.com/repos/nuxeo/nuxeo/subscription","commits_url":"https://api.github.com/repos/nuxeo/nuxeo/commits{/sha}","git_commits_url":"https://api.github.com/repos/nuxeo/nuxeo/git/commits{/sha}","comments_url":"https://api.github.com/repos/nuxeo/nuxeo/comments{/number}","issue_comment_url":"https://api.github.com/repos/nuxeo/nuxeo/issues/comments{/number}","contents_url":"https://api.github.com/repos/nuxeo/nuxeo/contents/{+path}","compare_url":"https://api.github.com/repos/nuxeo/nuxeo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nuxeo/nuxeo/merges","archive_url":"https://api.github.com/repos/nuxeo/nuxeo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nuxeo/nuxeo/downloads","issues_url":"https://api.github.com/repos/nuxeo/nuxeo/issues{/number}","pulls_url":"https://api.github.com/repos/nuxeo/nuxeo/pulls{/number}","milestones_url":"https://api.github.com/repos/nuxeo/nuxeo/milestones{/number}","notifications_url":"https://api.github.com/repos/nuxeo/nuxeo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nuxeo/nuxeo/labels{/name}","releases_url":"https://api.github.com/repos/nuxeo/nuxeo/releases{/id}","deployments_url":"https://api.github.com/repos/nuxeo/nuxeo/deployments","created_at":"2011-12-15T14:35:41Z","updated_at":"2017-10-04T20:27:13Z","pushed_at":"2017-11-08T11:35:11Z","git_url":"git://github.com/nuxeo/nuxeo.git","ssh_url":"git@github.com:nuxeo/nuxeo.git","clone_url":"https://github.com/nuxeo/nuxeo.git","svn_url":"https://github.com/nuxeo/nuxeo","homepage":"http://www.nuxeo.com","size":218061,"stargazers_count":176,"watchers_count":176,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":133,"mirror_url":null,"archived":false,"open_issues_count":6,"forks":133,"open_issues":6,"watchers":176,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nuxeo/nuxeo/pulls/1387"},"html":{"href":"https://github.com/nuxeo/nuxeo/pull/1387"},"issue":{"href":"https://api.github.com/repos/nuxeo/nuxeo/issues/1387"},"comments":{"href":"https://api.github.com/repos/nuxeo/nuxeo/issues/1387/comments"},"review_comments":{"href":"https://api.github.com/repos/nuxeo/nuxeo/pulls/1387/comments"},"review_comment":{"href":"https://api.github.com/repos/nuxeo/nuxeo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nuxeo/nuxeo/pulls/1387/commits"},"statuses":{"href":"https://api.github.com/repos/nuxeo/nuxeo/statuses/c136b8e41236083a9af5bd675ece24ea112d67d3"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"efge"}}