{"action":"created","comment":{"url":"https://api.github.com/repos/acquia/lift-sdk-php/pulls/comments/85437500","pull_request_review_id":6155327,"id":85437500,"diff_hunk":"@@ -0,0 +1,214 @@\n+<?php\n+\n+namespace Acquia\\LiftClient\\Test;\n+\n+use Acquia\\LiftClient\\Entity\\Capture;\n+use Acquia\\LiftClient\\Entity\\Captures;\n+use Acquia\\LiftClient\\Entity\\Segment;\n+use DateTime;\n+use GuzzleHttp\\Exception\\RequestException;\n+use GuzzleHttp\\Psr7\\Response;\n+\n+class CaptureTest extends TestBase\n+{\n+    /**\n+     * @var Captures\n+     */\n+    private $captures;\n+\n+    /**\n+     * @var array\n+     */\n+    private $capturesResponseData;\n+\n+    public function setUp()\n+    {\n+        parent::setUp();\n+        $this->setTestCaptures();\n+        $this->setTestCapturesResponseData();\n+    }\n+\n+    /**\n+     * Sets the captures object we are testing with.\n+     *\n+     * @throws \\Acquia\\LiftClient\\Exception\\LiftSdkException\n+     */\n+    private function setTestCaptures()\n+    {\n+        $capture = new Capture();\n+        // Set Person and Event UDF Fields.\n+        for ($i = 1; $i <= 50; ++$i) {\n+            $capture\n+                ->setPersonUdf($i, 'person_udf'.$i)\n+                ->setEventUdf($i, 'event_udf'.$i);\n+        }\n+        // Set Touch fields\n+        for ($i = 1; $i <= 20; ++$i) {\n+            $capture->setTouchUdf($i, 'touch_udf'.$i);\n+        }\n+\n+        $eventDate = DateTime::createFromFormat(DateTime::ISO8601, '2016-08-19T15:15:41Z');\n+        $publishedDate = DateTime::createFromFormat(DateTime::ISO8601, '2016-07-19T15:15:41Z');\n+\n+        $capture\n+            ->setEventName('event-name')\n+            ->setEventSource('event-source')\n+            ->setEventDate($eventDate)\n+            ->setIdentities(['myemail@acquia.dev' => 'email'])\n+            ->setUrl('http://localhost.dev')\n+            ->setSiteId('site-id')\n+            ->setReferralUrl('referral-url')\n+            ->setContentTitle('content-title')\n+            ->setUserAgent('user-agent')\n+            ->setPlatform('platform')\n+            ->setIpAddress('127.0.0.1')\n+            ->setPersona('persona')\n+            ->setEngagementScore(1)\n+            // Following functions should not be used, only for Lift 2\n+            ->setPersonalizationName('name')\n+            ->setPersonalizationMachineName('machine-name')\n+            ->setPersonalizationChosenVariation('chosen-variation')\n+            ->setPersonalizationAudienceName('audience-name')\n+            ->setPersonalizationDecisionPolicy('explore')\n+            ->setPersonalizationGoalName('goal-name')\n+            ->setPersonalizationGoalValue('goal-value')\n+            ->setDecisionSlotId('slot-id')\n+            ->setDecisionSlotName('slot-name')\n+            ->setDecisionRuleId('rule-id')\n+            ->setDecisionRuleName('rule-name')\n+            ->setDecisionContentId('content-id')\n+            ->setDecisionContentName('content-name')\n+            ->setDecisionGoalId('goal-id')\n+            ->setDecisionGoalName('goal-name')\n+            ->setDecisionGoalValue('goal-value')\n+            ->setDecisionViewMode('view-mode')\n+            ->setDecisionPolicy('explore')\n+            ->setCaptureIdentifier('capture-identifier')\n+            ->setClientTimezone('America/Anguilla')\n+            ->setJavascriptVersion('3')\n+            ->setPostId('post-id')\n+            ->setContentId('content-id')\n+            ->setContentType('content-type')\n+            ->setContentSection('content-section')\n+            ->setContentKeywords('keyword1, keyword2')\n+            ->setAuthor('author')\n+            ->setPageType('page-type')\n+            ->setThumbnailUrl('localhost.dev/thumbmail.png')\n+            ->setPublishedDate($publishedDate);\n+\n+        $captures = new Captures();\n+        $captures\n+            ->setCaptures([$capture])\n+            ->setDoNotTrack(false)\n+            ->setIdentity('my-custom-identity-string')\n+            ->setIdentitySource('php-unit-test')\n+            ->setReturnSegments(true)\n+            ->setSiteId('my-site-id')\n+            ->setTouchIdentifier('my-custom-touch-identifier');\n+\n+        $this->captures = $captures;\n+    }\n+\n+    private function setTestCapturesResponseData()\n+    {\n+        // Setup\n+        $this->capturesResponseData = [\n+            'errors' => null,\n+            'touch_identifier' => 'my-custom-touch-identifier',\n+            'identity' => 'my-custom-identity-string',\n+            'identity_source' => 'php-unit-test',\n+            'matched_segments' => [\n+                [\n+                    'id' => 'segment-1',\n+                    'name' => 'Segment 1',\n+                    'description' => 'First Segment for the unit test',\n+                ],\n+                [\n+                    'id' => 'segment-2',\n+                    'name' => 'Segment 2',\n+                    'description' => 'Second Segment for the unit test',\n+                ],\n+            ],\n+        ];\n+    }\n+\n+    public function testCaptureAdd()\n+    {\n+        $response = new Response(200, [], json_encode($this->capturesResponseData));\n+\n+        $responses = [\n+          $response,\n+        ];\n+        $client = $this->getClient($responses);\n+\n+        // Get Rule Manager\n+        $manager = $client->getCaptureManager();\n+        $response = $manager->add($this->captures);\n+\n+        // Check for basic fields\n+        $this->assertEquals($response->getErrors(), null);\n+        $this->assertEquals($response->getTouchIdentifier(), 'my-custom-touch-identifier');\n+        $this->assertEquals($response->getIdentity(), 'my-custom-identity-string');\n+        $this->assertEquals($response->getIdentitySource(), 'php-unit-test');\n+\n+        $this->assertEquals($response->getMatchedSegments()[0]->getId(), 'segment-1');\n+        $this->assertEquals($response->getMatchedSegments()[0]->getName(), 'Segment 1');\n+        $this->assertEquals($response->getMatchedSegments()[0]->getDescription(), 'First Segment for the unit test');\n+\n+        $this->assertEquals($response->getMatchedSegments()[1]->getId(), 'segment-2');\n+        $this->assertEquals($response->getMatchedSegments()[1]->getName(), 'Segment 2');\n+        $this->assertEquals($response->getMatchedSegments()[1]->getDescription(), 'Second Segment for the unit test');\n+    }\n+\n+    public function testCaptureAddLiftWebError()\n+    {\n+\n+        // Setup\n+        $data = [\n+            'errors' => [\n+                [\n+                    'code' => '400',\n+                    'message' => 'Resource had an internal error.',\n+                ],\n+            ],\n+            'touch_identifier' => 'my-custom-touch-identifier',\n+            'identity' => 'my-custom-identity-string',\n+            'identity_source' => 'php-unit-test',\n+        ];\n+\n+        $response = new Response(200, [], json_encode($data));\n+        $responses = [\n+          $response,\n+        ];\n+\n+        $client = $this->getClient($responses);\n+\n+        // Get Rule Manager\n+        $manager = $client->getCaptureManager();\n+        $response = $manager->add($this->captures);\n+\n+        $this->assertEquals($response->getTouchIdentifier(), 'my-custom-touch-identifier');\n+        $this->assertEquals($response->getIdentity(), 'my-custom-identity-string');\n+        $this->assertEquals($response->getIdentitySource(), 'php-unit-test');\n+        $this->assertEquals($response->getErrors()[0]->getCode(), '400');\n+        $this->assertEquals($response->getErrors()[0]->getMessage(), 'Resource had an internal error.');\n+    }\n+\n+    public function testCaptureAddDecisionAPIError()\n+    {\n+        $response = new Response(400, []);\n+        $responses = [\n+            $response,\n+        ];\n+\n+        $client = $this->getClient($responses);\n+\n+        // Get Capture Manager\n+        $manager = $client->getCaptureManager();\n+        try {\n+            $manager->add($this->captures);\n+        } catch (RequestException $e) {\n+            $this->assertEquals($e->getResponse()->getStatusCode(), 400);\n+        }\n+    }\n+}","path":"Test/CaptureTest.php","position":214,"original_position":214,"commit_id":"61f941c68db407456e6c7cb46999345e15aa0deb","original_commit_id":"61f941c68db407456e6c7cb46999345e15aa0deb","user":{"login":"ynx","id":1379691,"avatar_url":"https://avatars.githubusercontent.com/u/1379691?v=3","gravatar_id":"","url":"https://api.github.com/users/ynx","html_url":"https://github.com/ynx","followers_url":"https://api.github.com/users/ynx/followers","following_url":"https://api.github.com/users/ynx/following{/other_user}","gists_url":"https://api.github.com/users/ynx/gists{/gist_id}","starred_url":"https://api.github.com/users/ynx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ynx/subscriptions","organizations_url":"https://api.github.com/users/ynx/orgs","repos_url":"https://api.github.com/users/ynx/repos","events_url":"https://api.github.com/users/ynx/events{/privacy}","received_events_url":"https://api.github.com/users/ynx/received_events","type":"User","site_admin":false},"body":"This is a PHPUnit test I think? A vanity way to assert exception would be using [@expectedException and its friends](https://phpunit.de/manual/current/en/appendixes.annotations.html#appendixes.annotations.expectedException). It is no biggie either way though.","created_at":"2016-10-27T22:06:20Z","updated_at":"2016-10-27T22:06:20Z","html_url":"https://github.com/acquia/lift-sdk-php/pull/8#discussion_r85437500","pull_request_url":"https://api.github.com/repos/acquia/lift-sdk-php/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/acquia/lift-sdk-php/pulls/comments/85437500"},"html":{"href":"https://github.com/acquia/lift-sdk-php/pull/8#discussion_r85437500"},"pull_request":{"href":"https://api.github.com/repos/acquia/lift-sdk-php/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/acquia/lift-sdk-php/pulls/8","id":91204113,"html_url":"https://github.com/acquia/lift-sdk-php/pull/8","diff_url":"https://github.com/acquia/lift-sdk-php/pull/8.diff","patch_url":"https://github.com/acquia/lift-sdk-php/pull/8.patch","issue_url":"https://api.github.com/repos/acquia/lift-sdk-php/issues/8","number":8,"state":"open","locked":false,"title":"Adding \\capture endpoint to the SDK","user":{"login":"nickveenhof","id":161341,"avatar_url":"https://avatars.githubusercontent.com/u/161341?v=3","gravatar_id":"","url":"https://api.github.com/users/nickveenhof","html_url":"https://github.com/nickveenhof","followers_url":"https://api.github.com/users/nickveenhof/followers","following_url":"https://api.github.com/users/nickveenhof/following{/other_user}","gists_url":"https://api.github.com/users/nickveenhof/gists{/gist_id}","starred_url":"https://api.github.com/users/nickveenhof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickveenhof/subscriptions","organizations_url":"https://api.github.com/users/nickveenhof/orgs","repos_url":"https://api.github.com/users/nickveenhof/repos","events_url":"https://api.github.com/users/nickveenhof/events{/privacy}","received_events_url":"https://api.github.com/users/nickveenhof/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-27T13:47:27Z","updated_at":"2016-10-27T22:14:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f8748ae6d55e1cd6f63e43f9d31fe7ca297ca4b6","assignee":{"login":"ynx","id":1379691,"avatar_url":"https://avatars.githubusercontent.com/u/1379691?v=3","gravatar_id":"","url":"https://api.github.com/users/ynx","html_url":"https://github.com/ynx","followers_url":"https://api.github.com/users/ynx/followers","following_url":"https://api.github.com/users/ynx/following{/other_user}","gists_url":"https://api.github.com/users/ynx/gists{/gist_id}","starred_url":"https://api.github.com/users/ynx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ynx/subscriptions","organizations_url":"https://api.github.com/users/ynx/orgs","repos_url":"https://api.github.com/users/ynx/repos","events_url":"https://api.github.com/users/ynx/events{/privacy}","received_events_url":"https://api.github.com/users/ynx/received_events","type":"User","site_admin":false},"assignees":[{"login":"ynx","id":1379691,"avatar_url":"https://avatars.githubusercontent.com/u/1379691?v=3","gravatar_id":"","url":"https://api.github.com/users/ynx","html_url":"https://github.com/ynx","followers_url":"https://api.github.com/users/ynx/followers","following_url":"https://api.github.com/users/ynx/following{/other_user}","gists_url":"https://api.github.com/users/ynx/gists{/gist_id}","starred_url":"https://api.github.com/users/ynx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ynx/subscriptions","organizations_url":"https://api.github.com/users/ynx/orgs","repos_url":"https://api.github.com/users/ynx/repos","events_url":"https://api.github.com/users/ynx/events{/privacy}","received_events_url":"https://api.github.com/users/ynx/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/acquia/lift-sdk-php/pulls/8/commits","review_comments_url":"https://api.github.com/repos/acquia/lift-sdk-php/pulls/8/comments","review_comment_url":"https://api.github.com/repos/acquia/lift-sdk-php/pulls/comments{/number}","comments_url":"https://api.github.com/repos/acquia/lift-sdk-php/issues/8/comments","statuses_url":"https://api.github.com/repos/acquia/lift-sdk-php/statuses/61f941c68db407456e6c7cb46999345e15aa0deb","head":{"label":"acquia:LEX-1476","ref":"LEX-1476","sha":"61f941c68db407456e6c7cb46999345e15aa0deb","user":{"login":"acquia","id":514789,"avatar_url":"https://avatars.githubusercontent.com/u/514789?v=3","gravatar_id":"","url":"https://api.github.com/users/acquia","html_url":"https://github.com/acquia","followers_url":"https://api.github.com/users/acquia/followers","following_url":"https://api.github.com/users/acquia/following{/other_user}","gists_url":"https://api.github.com/users/acquia/gists{/gist_id}","starred_url":"https://api.github.com/users/acquia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acquia/subscriptions","organizations_url":"https://api.github.com/users/acquia/orgs","repos_url":"https://api.github.com/users/acquia/repos","events_url":"https://api.github.com/users/acquia/events{/privacy}","received_events_url":"https://api.github.com/users/acquia/received_events","type":"Organization","site_admin":false},"repo":{"id":65891521,"name":"lift-sdk-php","full_name":"acquia/lift-sdk-php","owner":{"login":"acquia","id":514789,"avatar_url":"https://avatars.githubusercontent.com/u/514789?v=3","gravatar_id":"","url":"https://api.github.com/users/acquia","html_url":"https://github.com/acquia","followers_url":"https://api.github.com/users/acquia/followers","following_url":"https://api.github.com/users/acquia/following{/other_user}","gists_url":"https://api.github.com/users/acquia/gists{/gist_id}","starred_url":"https://api.github.com/users/acquia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acquia/subscriptions","organizations_url":"https://api.github.com/users/acquia/orgs","repos_url":"https://api.github.com/users/acquia/repos","events_url":"https://api.github.com/users/acquia/events{/privacy}","received_events_url":"https://api.github.com/users/acquia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/acquia/lift-sdk-php","description":"Acquia Lift SDK for PHP -- [Created 2016-08-17 by nickveenhof aka nick.veenhof@acquia.com via github.acquia.com]","fork":false,"url":"https://api.github.com/repos/acquia/lift-sdk-php","forks_url":"https://api.github.com/repos/acquia/lift-sdk-php/forks","keys_url":"https://api.github.com/repos/acquia/lift-sdk-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/acquia/lift-sdk-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/acquia/lift-sdk-php/teams","hooks_url":"https://api.github.com/repos/acquia/lift-sdk-php/hooks","issue_events_url":"https://api.github.com/repos/acquia/lift-sdk-php/issues/events{/number}","events_url":"https://api.github.com/repos/acquia/lift-sdk-php/events","assignees_url":"https://api.github.com/repos/acquia/lift-sdk-php/assignees{/user}","branches_url":"https://api.github.com/repos/acquia/lift-sdk-php/branches{/branch}","tags_url":"https://api.github.com/repos/acquia/lift-sdk-php/tags","blobs_url":"https://api.github.com/repos/acquia/lift-sdk-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/acquia/lift-sdk-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/acquia/lift-sdk-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/acquia/lift-sdk-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/acquia/lift-sdk-php/statuses/{sha}","languages_url":"https://api.github.com/repos/acquia/lift-sdk-php/languages","stargazers_url":"https://api.github.com/repos/acquia/lift-sdk-php/stargazers","contributors_url":"https://api.github.com/repos/acquia/lift-sdk-php/contributors","subscribers_url":"https://api.github.com/repos/acquia/lift-sdk-php/subscribers","subscription_url":"https://api.github.com/repos/acquia/lift-sdk-php/subscription","commits_url":"https://api.github.com/repos/acquia/lift-sdk-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/acquia/lift-sdk-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/acquia/lift-sdk-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/acquia/lift-sdk-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/acquia/lift-sdk-php/contents/{+path}","compare_url":"https://api.github.com/repos/acquia/lift-sdk-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/acquia/lift-sdk-php/merges","archive_url":"https://api.github.com/repos/acquia/lift-sdk-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/acquia/lift-sdk-php/downloads","issues_url":"https://api.github.com/repos/acquia/lift-sdk-php/issues{/number}","pulls_url":"https://api.github.com/repos/acquia/lift-sdk-php/pulls{/number}","milestones_url":"https://api.github.com/repos/acquia/lift-sdk-php/milestones{/number}","notifications_url":"https://api.github.com/repos/acquia/lift-sdk-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/acquia/lift-sdk-php/labels{/name}","releases_url":"https://api.github.com/repos/acquia/lift-sdk-php/releases{/id}","deployments_url":"https://api.github.com/repos/acquia/lift-sdk-php/deployments","created_at":"2016-08-17T08:47:41Z","updated_at":"2016-10-26T10:45:38Z","pushed_at":"2016-10-27T15:50:13Z","git_url":"git://github.com/acquia/lift-sdk-php.git","ssh_url":"git@github.com:acquia/lift-sdk-php.git","clone_url":"https://github.com/acquia/lift-sdk-php.git","svn_url":"https://github.com/acquia/lift-sdk-php","homepage":"https://acquia.com","size":189,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"acquia:LEX-1479","ref":"LEX-1479","sha":"255989231efa6da76cbfddb399f08361b58354b2","user":{"login":"acquia","id":514789,"avatar_url":"https://avatars.githubusercontent.com/u/514789?v=3","gravatar_id":"","url":"https://api.github.com/users/acquia","html_url":"https://github.com/acquia","followers_url":"https://api.github.com/users/acquia/followers","following_url":"https://api.github.com/users/acquia/following{/other_user}","gists_url":"https://api.github.com/users/acquia/gists{/gist_id}","starred_url":"https://api.github.com/users/acquia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acquia/subscriptions","organizations_url":"https://api.github.com/users/acquia/orgs","repos_url":"https://api.github.com/users/acquia/repos","events_url":"https://api.github.com/users/acquia/events{/privacy}","received_events_url":"https://api.github.com/users/acquia/received_events","type":"Organization","site_admin":false},"repo":{"id":65891521,"name":"lift-sdk-php","full_name":"acquia/lift-sdk-php","owner":{"login":"acquia","id":514789,"avatar_url":"https://avatars.githubusercontent.com/u/514789?v=3","gravatar_id":"","url":"https://api.github.com/users/acquia","html_url":"https://github.com/acquia","followers_url":"https://api.github.com/users/acquia/followers","following_url":"https://api.github.com/users/acquia/following{/other_user}","gists_url":"https://api.github.com/users/acquia/gists{/gist_id}","starred_url":"https://api.github.com/users/acquia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acquia/subscriptions","organizations_url":"https://api.github.com/users/acquia/orgs","repos_url":"https://api.github.com/users/acquia/repos","events_url":"https://api.github.com/users/acquia/events{/privacy}","received_events_url":"https://api.github.com/users/acquia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/acquia/lift-sdk-php","description":"Acquia Lift SDK for PHP -- [Created 2016-08-17 by nickveenhof aka nick.veenhof@acquia.com via github.acquia.com]","fork":false,"url":"https://api.github.com/repos/acquia/lift-sdk-php","forks_url":"https://api.github.com/repos/acquia/lift-sdk-php/forks","keys_url":"https://api.github.com/repos/acquia/lift-sdk-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/acquia/lift-sdk-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/acquia/lift-sdk-php/teams","hooks_url":"https://api.github.com/repos/acquia/lift-sdk-php/hooks","issue_events_url":"https://api.github.com/repos/acquia/lift-sdk-php/issues/events{/number}","events_url":"https://api.github.com/repos/acquia/lift-sdk-php/events","assignees_url":"https://api.github.com/repos/acquia/lift-sdk-php/assignees{/user}","branches_url":"https://api.github.com/repos/acquia/lift-sdk-php/branches{/branch}","tags_url":"https://api.github.com/repos/acquia/lift-sdk-php/tags","blobs_url":"https://api.github.com/repos/acquia/lift-sdk-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/acquia/lift-sdk-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/acquia/lift-sdk-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/acquia/lift-sdk-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/acquia/lift-sdk-php/statuses/{sha}","languages_url":"https://api.github.com/repos/acquia/lift-sdk-php/languages","stargazers_url":"https://api.github.com/repos/acquia/lift-sdk-php/stargazers","contributors_url":"https://api.github.com/repos/acquia/lift-sdk-php/contributors","subscribers_url":"https://api.github.com/repos/acquia/lift-sdk-php/subscribers","subscription_url":"https://api.github.com/repos/acquia/lift-sdk-php/subscription","commits_url":"https://api.github.com/repos/acquia/lift-sdk-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/acquia/lift-sdk-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/acquia/lift-sdk-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/acquia/lift-sdk-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/acquia/lift-sdk-php/contents/{+path}","compare_url":"https://api.github.com/repos/acquia/lift-sdk-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/acquia/lift-sdk-php/merges","archive_url":"https://api.github.com/repos/acquia/lift-sdk-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/acquia/lift-sdk-php/downloads","issues_url":"https://api.github.com/repos/acquia/lift-sdk-php/issues{/number}","pulls_url":"https://api.github.com/repos/acquia/lift-sdk-php/pulls{/number}","milestones_url":"https://api.github.com/repos/acquia/lift-sdk-php/milestones{/number}","notifications_url":"https://api.github.com/repos/acquia/lift-sdk-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/acquia/lift-sdk-php/labels{/name}","releases_url":"https://api.github.com/repos/acquia/lift-sdk-php/releases{/id}","deployments_url":"https://api.github.com/repos/acquia/lift-sdk-php/deployments","created_at":"2016-08-17T08:47:41Z","updated_at":"2016-10-26T10:45:38Z","pushed_at":"2016-10-27T15:50:13Z","git_url":"git://github.com/acquia/lift-sdk-php.git","ssh_url":"git@github.com:acquia/lift-sdk-php.git","clone_url":"https://github.com/acquia/lift-sdk-php.git","svn_url":"https://github.com/acquia/lift-sdk-php","homepage":"https://acquia.com","size":189,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/acquia/lift-sdk-php/pulls/8"},"html":{"href":"https://github.com/acquia/lift-sdk-php/pull/8"},"issue":{"href":"https://api.github.com/repos/acquia/lift-sdk-php/issues/8"},"comments":{"href":"https://api.github.com/repos/acquia/lift-sdk-php/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/acquia/lift-sdk-php/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/acquia/lift-sdk-php/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/acquia/lift-sdk-php/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/acquia/lift-sdk-php/statuses/61f941c68db407456e6c7cb46999345e15aa0deb"}}}}
{"actor":{"display_login":"ynx"}}