{"action":"created","comment":{"url":"https://api.github.com/repos/Islandora-CLAW/CLAW/pulls/comments/52752662","id":52752662,"diff_hunk":"@@ -67,40 +49,127 @@\n });\n \n /**\n- * Collection POST route test. Does nothing more than redirect from collection to mounted \n- * takes 'rx' and/or 'checksum' as optional query arguments\n+ * Collection POST route. \n+ * Takes $id (valid UUID or empty) for the parent resource as first value to match, \n+ * and also takes 'rx' as an optional query argument.\n  */\n-$app->post(\"/islandora/collection\",function (Application $app, Request $request) {\n-   error_log($app['uuid']);\n-   $tx = $request->query->get('tx', \"\");\n-   $url = $request->getUriForPath('/islandora/resource/');\n-   error_log($url);\n-   //static public Request create(string $uri, string $method = 'GET', array $parameters = array(), array $cookies = array(), array $files = array(), array $server = array(), string $content = null)\n-   $subRequest = Request::create($url, 'GET', array(), $request->cookies->all(), $request->files->all(), $request->server->all());\n-   error_log($subRequest->__toString());\n-   $response = $app->handle($subRequest, HttpKernelInterface::SUB_REQUEST, false);\n-   return $response;\n+$app->post(\"/islandora/collection/{id}\", function (Request $request, $id) use ($app) {\n+  $tx = $request->query->get('tx', \"\");\n+\n+  //Check for format\n+  $format = NULL;\n+  try {\n+    $format = \\EasyRdf_Format::getFormat($contentType = $request->headers->get('Content-Type', 'text/turtle'));\n+  } catch (\\EasyRdf_Exception $e) {\n+    $app->abort(415, $e->getMessage());\n+  }\n+\n+  //Now check if body can be parsed in that format\n+  if ($format) { //EasyRdf_Format\n+    //@see http://www.w3.org/2011/rdfa-context/rdfa-1.1 for defaults\n+    \\EasyRdf_Namespace::set('pcdm', 'http://pcdm.org/models#');\n+    \\EasyRdf_Namespace::set('nfo', 'http://www.semanticdesktop.org/ontologies/2007/03/22/nfo/v1.1/');\n+    \\EasyRdf_Namespace::set('isl', 'http://www.islandora.ca/ontologies/2016/02/28/isl/v1.0/');\n+    \\EasyRdf_Namespace::set('ldp', 'http://www.w3.org/ns/ldp');\n+\n+    //Fake IRI, default LDP one for current resource \"<>\" is not a valid IRI!\n+    $fakeIri = new \\EasyRdf_ParsedUri('urn:uuid:'.$app['uuid5']);\n+\n+    $graph = new \\EasyRdf_Graph();\n+    try {\n+      $graph->parse($request->getContent(), $format->getName(), $fakeIri);\n+    } catch (\\EasyRdf_Exception $e) {\n+      $app->abort(415, $e->getMessage());\n+    }\n+    //Add a pcmd:Collection type\n+    $graph->resource($fakeIri, 'pcdm:Collection');\n+\n+    //Check if we got an UUID inside posted RDF. We won't validate it here because it's the caller responsability\n+    if (NULL != $graph->countValues($fakeIri, '<http://www.semanticdesktop.org/ontologies/2007/03/22/nfo/v1.1/uuid>')) {\n+      $existingUuid = $graph->getLiteral($fakeIri, '<http://www.semanticdesktop.org/ontologies/2007/03/22/nfo/v1.1/uuid>');\n+      $graph->addResource($fakeIri, 'http://www.islandora.ca/ontologies/2016/02/28/isl/v1.0/hasURN', 'urn:uuid:'.$existingUuid); //Testing an Islandora Ontology!\n+    } else {\n+      //No UUID from the caller in RDF, lets put something there\n+      $tmpUuid = $app['uuid']; //caching here, since it's regenerated each time it is used and I need the same twice\n+      $graph->addLiteral($fakeIri,\"http://www.semanticdesktop.org/ontologies/2007/03/22/nfo/v1.1/uuid\",$tmpUuid); //Keeps compat for now with other services\n+      $graph->addResource($fakeIri,\"http://www.islandora.ca/ontologies/2016/02/28/isl/v1.0/hasURN\",'urn:uuid:'.$tmpUuid); //Testing an Islandora Ontology\n+    }\n+    //Restore LDP <> IRI on serialised graph\n+    $pcmd_collection_rdf= str_replace($fakeIri, '', $graph->serialise('turtle'));\n+  }\n+\n+  $urlRoute = $request->getUriForPath('/islandora/resource/');\n+ \n+  $subRequestPost = Request::create($urlRoute.$id, 'POST', array(), $request->cookies->all(), array(), $request->server->all(), $pcmd_collection_rdf);","path":"services/CollectionService/src/index.php","position":133,"original_position":133,"commit_id":"043a0e1d4b3781a0d56dd4b907288d9a5843e54f","original_commit_id":"043a0e1d4b3781a0d56dd4b907288d9a5843e54f","user":{"login":"daniel-dgi","id":2521309,"avatar_url":"https://avatars.githubusercontent.com/u/2521309?v=3","gravatar_id":"","url":"https://api.github.com/users/daniel-dgi","html_url":"https://github.com/daniel-dgi","followers_url":"https://api.github.com/users/daniel-dgi/followers","following_url":"https://api.github.com/users/daniel-dgi/following{/other_user}","gists_url":"https://api.github.com/users/daniel-dgi/gists{/gist_id}","starred_url":"https://api.github.com/users/daniel-dgi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniel-dgi/subscriptions","organizations_url":"https://api.github.com/users/daniel-dgi/orgs","repos_url":"https://api.github.com/users/daniel-dgi/repos","events_url":"https://api.github.com/users/daniel-dgi/events{/privacy}","received_events_url":"https://api.github.com/users/daniel-dgi/received_events","type":"User","site_admin":false},"body":"Why subrequest when you can just use chullo?","created_at":"2016-02-12T15:14:00Z","updated_at":"2016-02-12T15:14:00Z","html_url":"https://github.com/Islandora-CLAW/CLAW/pull/140#discussion_r52752662","pull_request_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/pulls/140","_links":{"self":{"href":"https://api.github.com/repos/Islandora-CLAW/CLAW/pulls/comments/52752662"},"html":{"href":"https://github.com/Islandora-CLAW/CLAW/pull/140#discussion_r52752662"},"pull_request":{"href":"https://api.github.com/repos/Islandora-CLAW/CLAW/pulls/140"}}},"pull_request":{"url":"https://api.github.com/repos/Islandora-CLAW/CLAW/pulls/140","id":59037574,"html_url":"https://github.com/Islandora-CLAW/CLAW/pull/140","diff_url":"https://github.com/Islandora-CLAW/CLAW/pull/140.diff","patch_url":"https://github.com/Islandora-CLAW/CLAW/pull/140.patch","issue_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/issues/140","number":140,"state":"open","locked":false,"title":"Collection Service Implementation ","user":{"login":"DiegoPino","id":6946023,"avatar_url":"https://avatars.githubusercontent.com/u/6946023?v=3","gravatar_id":"","url":"https://api.github.com/users/DiegoPino","html_url":"https://github.com/DiegoPino","followers_url":"https://api.github.com/users/DiegoPino/followers","following_url":"https://api.github.com/users/DiegoPino/following{/other_user}","gists_url":"https://api.github.com/users/DiegoPino/gists{/gist_id}","starred_url":"https://api.github.com/users/DiegoPino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DiegoPino/subscriptions","organizations_url":"https://api.github.com/users/DiegoPino/orgs","repos_url":"https://api.github.com/users/DiegoPino/repos","events_url":"https://api.github.com/users/DiegoPino/events{/privacy}","received_events_url":"https://api.github.com/users/DiegoPino/received_events","type":"User","site_admin":false},"body":"## Sprint 003 Work and after\r\n\r\n# What does this Pull Request do?\r\n\r\nImplements Collection Service with RDF aggregator.\r\nImplements a pseudo monolithic PCDM Collection microservice implementation using ResourceServiceProvider\r\nThis services is built on one POST route, following the same logic as a ResourceService POST Route\r\nAccepts and extra $uuid to be used as base resource for the PCDM collection \r\nSome updates to composer and ResourceServiceProvider (not breaking)\r\n\r\n# What's new?\r\n\r\nThe collection Service accepts every RDF language/serialisation EasyRdf accepts via POST\r\nAdds PCDM triples and UUID predicates (with an islandora experimental one) to given rdf body\r\nIf RDF body is empty it creates the resources too\r\nAlso: \r\n* Clean up of composer.json to use 0.0.2 chullo package\r\n* Allows Resource Service Config yaml files to be overridden by implementing app\r\n* Adds a common route collection to ResourceService unifying some middleware\r\n\r\n# How should  Collection Service be tested? \r\n\r\nSimilar as the previous ResourceService, only POST Route needed\r\n\r\nBasic (Manual testing, be sure to have a working composer environment)\r\n 1. Download/clone/diff/patch\r\n 2. Modify config/settings.dev.yml to match your triplestore and fedora4 URLs, if running without any code change (this settings file depends on the enabled `$app['debug'] = true` definition in index.php\r\n 3. If testing from a patch update composer.json resource-service version to match your git branch\r\n 4. run $ composer update \r\n 5. run $ php -S localhost:8282 -t src src/index.php this will use the php embed web server to test\r\n 6. Assure you have a fedora4 repo and a triple store running\r\n\r\nAssuming you already have some containers in fedora 4 (with `nfo:uuid \"7ef68f6f-72ab-4708-b0f4-8ec1f07cd580\"` for example) you can test the working route with a call like this (replace the uuid for one of yours)\r\n\r\n * `$ curl -XPOST http://localhost:8282/islandora/collection/7ef68f6f-72ab-4708-b0f4-8ec1f07cd580 -v `\r\nThis will create a PCDM collection inside an existing Fedora4 Resource with `nfo:uuid \"7ef68f6f-72ab-4708-b0f4-8ec1f07cd580\"` property.\r\n  * This new resource will have two `uuid` related predicates added with a unique UUID V4 generated by the system (if not already present in rdf body):\r\n`nfo:uuid` and `isl:hasURN`(last one experimental)\r\n  * Will also create an indirect Container with slug members inside the previous PCDM Collection one with triples\r\n  `ldp:hasMemberRelation pcdm:hasMember`\r\n  `ldp:insertedContentRelation ore:proxyFor`\r\n\r\n * `$ curl -XPOST --data-binary \"@body.rdf\" -H \"Content-Type:text/turtle\"   \"http://localhost:8282/islandora/collection/7ef68f6f-72ab-4708-b0f4-8ec1f07cd580?tx=sometransactionid\" -v`\r\nAccepts this query argument optional(the stuff after the ?)\r\n*  tx=transactionid \r\n\r\nWill fail if tx given and not a valid transactionid (404)\r\n\r\nNote: if you don't have a CLAW vagrant environment working you can use(only for testing)\r\nNote2: look at the response headers… there are a few nice ones!\r\n\r\n* https://wiki.duraspace.org/display/FEDORA40/Quick+Start (download and run fcrepo-webapp-4.5.0-jetty-console.jar)\r\n* Download standalone blazegraph https://www.blazegraph.com/download/ and run it using the described method (please lower the java memory!)\r\n* Create a new resource in Fedora4 using the rest api (or page),\r\n *Since you won't have an indexer running, issue an insert data command to blaze graph to be able to test (you can use the same rdf response from fedora4 for a resource + nfo:uuid property to match using the web admin at http://localhost:9999/bigdata/#update)\r\n\r\n# Additional Notes:\r\n\r\nThis is a working but \"test \" Service that needs some cleanups, checks, (like the \"use\" statements) and can/will be moved in the future.\r\n\r\n---\r\nThanks a lot!\r\n\r\nDiego Pino Navarro\r\nA dog & human friendly developer","created_at":"2016-02-11T14:28:30Z","updated_at":"2016-02-12T15:14:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7913aa3472091c3f124635d9335e615ddcb2543b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/pulls/140/commits","review_comments_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/pulls/140/comments","review_comment_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/issues/140/comments","statuses_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/statuses/043a0e1d4b3781a0d56dd4b907288d9a5843e54f","head":{"label":"DiegoPino:sprint-002-CollectionServ","ref":"sprint-002-CollectionServ","sha":"043a0e1d4b3781a0d56dd4b907288d9a5843e54f","user":{"login":"DiegoPino","id":6946023,"avatar_url":"https://avatars.githubusercontent.com/u/6946023?v=3","gravatar_id":"","url":"https://api.github.com/users/DiegoPino","html_url":"https://github.com/DiegoPino","followers_url":"https://api.github.com/users/DiegoPino/followers","following_url":"https://api.github.com/users/DiegoPino/following{/other_user}","gists_url":"https://api.github.com/users/DiegoPino/gists{/gist_id}","starred_url":"https://api.github.com/users/DiegoPino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DiegoPino/subscriptions","organizations_url":"https://api.github.com/users/DiegoPino/orgs","repos_url":"https://api.github.com/users/DiegoPino/repos","events_url":"https://api.github.com/users/DiegoPino/events{/privacy}","received_events_url":"https://api.github.com/users/DiegoPino/received_events","type":"User","site_admin":false},"repo":{"id":45207222,"name":"islandora","full_name":"DiegoPino/islandora","owner":{"login":"DiegoPino","id":6946023,"avatar_url":"https://avatars.githubusercontent.com/u/6946023?v=3","gravatar_id":"","url":"https://api.github.com/users/DiegoPino","html_url":"https://github.com/DiegoPino","followers_url":"https://api.github.com/users/DiegoPino/followers","following_url":"https://api.github.com/users/DiegoPino/following{/other_user}","gists_url":"https://api.github.com/users/DiegoPino/gists{/gist_id}","starred_url":"https://api.github.com/users/DiegoPino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DiegoPino/subscriptions","organizations_url":"https://api.github.com/users/DiegoPino/orgs","repos_url":"https://api.github.com/users/DiegoPino/repos","events_url":"https://api.github.com/users/DiegoPino/events{/privacy}","received_events_url":"https://api.github.com/users/DiegoPino/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DiegoPino/islandora","description":"A Drupal module for browsing and managing Fedora-based digital repositories","fork":true,"url":"https://api.github.com/repos/DiegoPino/islandora","forks_url":"https://api.github.com/repos/DiegoPino/islandora/forks","keys_url":"https://api.github.com/repos/DiegoPino/islandora/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DiegoPino/islandora/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DiegoPino/islandora/teams","hooks_url":"https://api.github.com/repos/DiegoPino/islandora/hooks","issue_events_url":"https://api.github.com/repos/DiegoPino/islandora/issues/events{/number}","events_url":"https://api.github.com/repos/DiegoPino/islandora/events","assignees_url":"https://api.github.com/repos/DiegoPino/islandora/assignees{/user}","branches_url":"https://api.github.com/repos/DiegoPino/islandora/branches{/branch}","tags_url":"https://api.github.com/repos/DiegoPino/islandora/tags","blobs_url":"https://api.github.com/repos/DiegoPino/islandora/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DiegoPino/islandora/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DiegoPino/islandora/git/refs{/sha}","trees_url":"https://api.github.com/repos/DiegoPino/islandora/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DiegoPino/islandora/statuses/{sha}","languages_url":"https://api.github.com/repos/DiegoPino/islandora/languages","stargazers_url":"https://api.github.com/repos/DiegoPino/islandora/stargazers","contributors_url":"https://api.github.com/repos/DiegoPino/islandora/contributors","subscribers_url":"https://api.github.com/repos/DiegoPino/islandora/subscribers","subscription_url":"https://api.github.com/repos/DiegoPino/islandora/subscription","commits_url":"https://api.github.com/repos/DiegoPino/islandora/commits{/sha}","git_commits_url":"https://api.github.com/repos/DiegoPino/islandora/git/commits{/sha}","comments_url":"https://api.github.com/repos/DiegoPino/islandora/comments{/number}","issue_comment_url":"https://api.github.com/repos/DiegoPino/islandora/issues/comments{/number}","contents_url":"https://api.github.com/repos/DiegoPino/islandora/contents/{+path}","compare_url":"https://api.github.com/repos/DiegoPino/islandora/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DiegoPino/islandora/merges","archive_url":"https://api.github.com/repos/DiegoPino/islandora/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DiegoPino/islandora/downloads","issues_url":"https://api.github.com/repos/DiegoPino/islandora/issues{/number}","pulls_url":"https://api.github.com/repos/DiegoPino/islandora/pulls{/number}","milestones_url":"https://api.github.com/repos/DiegoPino/islandora/milestones{/number}","notifications_url":"https://api.github.com/repos/DiegoPino/islandora/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DiegoPino/islandora/labels{/name}","releases_url":"https://api.github.com/repos/DiegoPino/islandora/releases{/id}","deployments_url":"https://api.github.com/repos/DiegoPino/islandora/deployments","created_at":"2015-10-29T19:58:31Z","updated_at":"2015-10-29T19:58:34Z","pushed_at":"2016-02-11T17:21:43Z","git_url":"git://github.com/DiegoPino/islandora.git","ssh_url":"git@github.com:DiegoPino/islandora.git","clone_url":"https://github.com/DiegoPino/islandora.git","svn_url":"https://github.com/DiegoPino/islandora","homepage":"http://islandora.ca/","size":17712,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"7.x"}},"base":{"label":"Islandora-CLAW:sprint-002","ref":"sprint-002","sha":"edad6b21ecdf8893088dd7a9ade46bc82c5258d4","user":{"login":"Islandora-CLAW","id":15603186,"avatar_url":"https://avatars.githubusercontent.com/u/15603186?v=3","gravatar_id":"","url":"https://api.github.com/users/Islandora-CLAW","html_url":"https://github.com/Islandora-CLAW","followers_url":"https://api.github.com/users/Islandora-CLAW/followers","following_url":"https://api.github.com/users/Islandora-CLAW/following{/other_user}","gists_url":"https://api.github.com/users/Islandora-CLAW/gists{/gist_id}","starred_url":"https://api.github.com/users/Islandora-CLAW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Islandora-CLAW/subscriptions","organizations_url":"https://api.github.com/users/Islandora-CLAW/orgs","repos_url":"https://api.github.com/users/Islandora-CLAW/repos","events_url":"https://api.github.com/users/Islandora-CLAW/events{/privacy}","received_events_url":"https://api.github.com/users/Islandora-CLAW/received_events","type":"Organization","site_admin":false},"repo":{"id":28453582,"name":"CLAW","full_name":"Islandora-CLAW/CLAW","owner":{"login":"Islandora-CLAW","id":15603186,"avatar_url":"https://avatars.githubusercontent.com/u/15603186?v=3","gravatar_id":"","url":"https://api.github.com/users/Islandora-CLAW","html_url":"https://github.com/Islandora-CLAW","followers_url":"https://api.github.com/users/Islandora-CLAW/followers","following_url":"https://api.github.com/users/Islandora-CLAW/following{/other_user}","gists_url":"https://api.github.com/users/Islandora-CLAW/gists{/gist_id}","starred_url":"https://api.github.com/users/Islandora-CLAW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Islandora-CLAW/subscriptions","organizations_url":"https://api.github.com/users/Islandora-CLAW/orgs","repos_url":"https://api.github.com/users/Islandora-CLAW/repos","events_url":"https://api.github.com/users/Islandora-CLAW/events{/privacy}","received_events_url":"https://api.github.com/users/Islandora-CLAW/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Islandora-CLAW/CLAW","description":"Islandora is an open-source software framework designed to help institutions and organizations and their audiences collaboratively manage, and discover digital assets using a best-practices framework.","fork":true,"url":"https://api.github.com/repos/Islandora-CLAW/CLAW","forks_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/forks","keys_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/teams","hooks_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/hooks","issue_events_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/issues/events{/number}","events_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/events","assignees_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/assignees{/user}","branches_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/branches{/branch}","tags_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/tags","blobs_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/git/refs{/sha}","trees_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/statuses/{sha}","languages_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/languages","stargazers_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/stargazers","contributors_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/contributors","subscribers_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/subscribers","subscription_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/subscription","commits_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/commits{/sha}","git_commits_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/git/commits{/sha}","comments_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/comments{/number}","issue_comment_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/issues/comments{/number}","contents_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/contents/{+path}","compare_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/merges","archive_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/downloads","issues_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/issues{/number}","pulls_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/pulls{/number}","milestones_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/milestones{/number}","notifications_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/labels{/name}","releases_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/releases{/id}","deployments_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/deployments","created_at":"2014-12-24T15:56:33Z","updated_at":"2016-01-15T16:45:17Z","pushed_at":"2016-02-11T17:21:43Z","git_url":"git://github.com/Islandora-CLAW/CLAW.git","ssh_url":"git@github.com:Islandora-CLAW/CLAW.git","clone_url":"https://github.com/Islandora-CLAW/CLAW.git","svn_url":"https://github.com/Islandora-CLAW/CLAW","homepage":"http://future.islandora.ca","size":18644,"stargazers_count":18,"watchers_count":18,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":14,"mirror_url":null,"open_issues_count":36,"forks":14,"open_issues":36,"watchers":18,"default_branch":"7.x-2.x"}},"_links":{"self":{"href":"https://api.github.com/repos/Islandora-CLAW/CLAW/pulls/140"},"html":{"href":"https://github.com/Islandora-CLAW/CLAW/pull/140"},"issue":{"href":"https://api.github.com/repos/Islandora-CLAW/CLAW/issues/140"},"comments":{"href":"https://api.github.com/repos/Islandora-CLAW/CLAW/issues/140/comments"},"review_comments":{"href":"https://api.github.com/repos/Islandora-CLAW/CLAW/pulls/140/comments"},"review_comment":{"href":"https://api.github.com/repos/Islandora-CLAW/CLAW/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Islandora-CLAW/CLAW/pulls/140/commits"},"statuses":{"href":"https://api.github.com/repos/Islandora-CLAW/CLAW/statuses/043a0e1d4b3781a0d56dd4b907288d9a5843e54f"}}}}