{"action":"created","comment":{"url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/pulls/comments/229886872","pull_request_review_id":170481952,"id":229886872,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyOTg4Njg3Mg==","diff_hunk":"@@ -0,0 +1,198 @@\n+/*\n+ * Licensed to DuraSpace under one or more contributor license agreements.\n+ * See the NOTICE file distributed with this work for additional information\n+ * regarding copyright ownership.\n+ *\n+ * DuraSpace licenses this file to you under the Apache License,\n+ * Version 2.0 (the \"License\"); you may not use this file except in\n+ * compliance with the License.  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+package org.fcrepo.spec.testsuite.crud;\n+\n+import static org.testng.AssertJUnit.assertEquals;\n+import static org.testng.AssertJUnit.assertNotNull;\n+\n+import io.restassured.http.Header;\n+import io.restassured.http.Headers;\n+import io.restassured.response.Response;\n+import org.fcrepo.spec.testsuite.AbstractTest;\n+import org.fcrepo.spec.testsuite.TestInfo;\n+import org.testng.SkipException;\n+import org.testng.annotations.Test;\n+\n+/**\n+ * @author dbernstein\n+ */\n+public class StateToken extends AbstractTest {\n+    private static final String STATE_TOKEN = \"X-State-Token\";\n+    private static final String IF_STATE_TOKEN = \"X-If-State-Token\";\n+\n+    /**\n+     * 3.10.1-A\n+     */\n+    @Test(groups = {\"MAY\"})\n+    public void stateTokenGet() {\n+        final TestInfo info = setupTest(\"3.10.1-A\",\n+                                        \"Implementations may include the X-State-Token header field in GET responses \" +\n+                                        \"to provide a token representing the current state of resource. If provided, \" +\n+                                        \"this value must change whenever the underlying state of the resource has \" +\n+                                        \"changed.\",\n+                                        \"https://fcrepo.github.io/fcrepo-specification/#x-state-token\", ps);\n+\n+        final Response createResponse = createBasicContainer(uri, info.getId());\n+        final String resourceUri = getLocation(createResponse);\n+        final Response getResponse = doGet(resourceUri);\n+        checkStateTokensSupported(getResponse);\n+        final String value = getResponse.getHeader(STATE_TOKEN);\n+        assertNotNull(STATE_TOKEN + \" must not be null.\", value);\n+        final String sparqlUpdate =\n+            \"INSERT { <> <http://purl.org/dc/elements/1.1/title> \\\"test\\\" . } WHERE {}\";\n+        doPatch(resourceUri, new Headers(new Header(\"Content-Type\", \"application/sparql-update\")), sparqlUpdate);\n+        assertEquals(\"New \" + STATE_TOKEN + \"should not match previous token value\", value,\n+                     doGet(resourceUri).header(STATE_TOKEN));\n+    }\n+\n+    private void checkStateTokensSupported(final Response response) throws SkipException {\n+        if (!isStateTokenSupported(response)) {\n+            throw new SkipException(\"This implementation does not support \" + STATE_TOKEN);\n+        }\n+\n+        return;\n+    }\n+\n+    private boolean isStateTokenSupported(final Response response) {\n+        return response.getHeaders().hasHeaderWithName(STATE_TOKEN);\n+    }\n+\n+    /**\n+     * 3.10.1-B\n+     */\n+    @Test(groups = {\"MAY\"})\n+    public void stateTokenHead() {\n+        final TestInfo info = setupTest(\"3.10.1-B\",\n+                                        \"Implementations may include the X-State-Token header field in  HEAD \" +\n+                                        \"responses to provide a token representing the current state of resource. If \" +\n+                                        \"provided, this value must change whenever the underlying state of the \" +\n+                                        \"resource has changed.\",\n+                                        \"https://fcrepo.github.io/fcrepo-specification/#x-state-token\", ps);\n+\n+        final Response createResponse = createBasicContainer(uri, info.getId());\n+        final String resourceUri = getLocation(createResponse);\n+        final Response headResponse = doHead(resourceUri);\n+        checkStateTokensSupported(headResponse);\n+        final String value = headResponse.getHeader(STATE_TOKEN);\n+        assertNotNull(STATE_TOKEN + \" must not be null.\", value);\n+        final String sparqlUpdate =\n+            \"INSERT { <> <http://purl.org/dc/elements/1.1/title> \\\"test\\\" . } WHERE {}\";\n+        doPatch(resourceUri, new Headers(new Header(\"Content-Type\", \"application/sparql-update\")), sparqlUpdate);\n+        assertEquals(\"New \" + STATE_TOKEN + \"should not match previous token value\", value,\n+                     doHead(resourceUri).header(STATE_TOKEN));\n+    }\n+\n+    /**\n+     * 3.10.2-A\n+     */\n+    @Test(groups = {\"MAY\"})\n+    public void badStateTokenOnPatchWhenStateTokensIgnored() {\n+        final TestInfo info = setupTest(\"3.10.2-A\",\n+                                        \"A client may include the X-If-State-Token header field in a PATCH request to\" +\n+                                        \" make the request conditional on the resource's current state token matching\" +\n+                                        \" the client's value. If an implementation does not support state tokens, it \" +\n+                                        \"may ignore any X-If-State-Token header in HTTP PATCH requests.\",\n+                                        \"https://fcrepo.github.io/fcrepo-specification/#x-state-token\", ps);\n+        final Response createResponse = createBasicContainer(uri, info.getId());\n+        final String resourceUri = getLocation(createResponse);\n+        final Response getResponse = doGet(resourceUri);\n+        if (!isStateTokenSupported(getResponse)) {\n+            final String sparqlUpdate =\n+                \"INSERT { <> <http://purl.org/dc/elements/1.1/title> \\\"test\\\" . } WHERE {}\";\n+            doPatchUnverified(resourceUri, new Headers(new Header(IF_STATE_TOKEN, \"random-token\"),\n+                                                       new Header(\"Content-Type\", \"application/sparql-update\")),\n+                              sparqlUpdate).then().statusCode(successRange());\n+        }\n+    }\n+\n+    /**\n+     * 3.10.2-B\n+     */\n+    @Test(groups = {\"MUST\"})\n+    public void badStateTokenOnPatchWhenStateTokensSupported() {\n+        final TestInfo info = setupTest(\"3.10.2-B\",\n+                                        \"A client may include the X-If-State-Token header field in a PATCH request to\" +\n+                                        \" make the request conditional on the resource's current state token matching\" +\n+                                        \" the client's value.  An HTTP \" +\n+                                        \"PATCH request that includes an X-If-State-Token header must be \" +\n+                                        \"rejected with a 412 (Precondition Failed) response if the implementation \" +\n+                                        \"supports state tokens, but the client-supplied value does not match the \" +\n+                                        \"resource's current state token.\",\n+                                        \"https://fcrepo.github.io/fcrepo-specification/#x-state-token\", ps);\n+        final Response createResponse = createBasicContainer(uri, info.getId());\n+        final String resourceUri = getLocation(createResponse);\n+        final Response getResponse = doGet(resourceUri);\n+        checkStateTokensSupported(getResponse);","path":"src/main/java/org/fcrepo/spec/testsuite/crud/StateToken.java","position":140,"original_position":140,"commit_id":"8a45c11c26d7a28ab05db5c0d169d4aa8bfd54fc","original_commit_id":"8a45c11c26d7a28ab05db5c0d169d4aa8bfd54fc","user":{"login":"awoods","id":149283,"node_id":"MDQ6VXNlcjE0OTI4Mw==","avatar_url":"https://avatars2.githubusercontent.com/u/149283?v=4","gravatar_id":"","url":"https://api.github.com/users/awoods","html_url":"https://github.com/awoods","followers_url":"https://api.github.com/users/awoods/followers","following_url":"https://api.github.com/users/awoods/following{/other_user}","gists_url":"https://api.github.com/users/awoods/gists{/gist_id}","starred_url":"https://api.github.com/users/awoods/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awoods/subscriptions","organizations_url":"https://api.github.com/users/awoods/orgs","repos_url":"https://api.github.com/users/awoods/repos","events_url":"https://api.github.com/users/awoods/events{/privacy}","received_events_url":"https://api.github.com/users/awoods/received_events","type":"User","site_admin":false},"body":"Please add newlines and a comment around the point where the test may be skipped so that it is clear that the test may terminate at this point.","created_at":"2018-10-31T22:17:51Z","updated_at":"2018-10-31T22:19:02Z","html_url":"https://github.com/fcrepo/Fedora-API-Test-Suite/pull/286#discussion_r229886872","pull_request_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/pulls/286","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/pulls/comments/229886872"},"html":{"href":"https://github.com/fcrepo/Fedora-API-Test-Suite/pull/286#discussion_r229886872"},"pull_request":{"href":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/pulls/286"}}},"pull_request":{"url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/pulls/286","id":227374748,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI3Mzc0NzQ4","html_url":"https://github.com/fcrepo/Fedora-API-Test-Suite/pull/286","diff_url":"https://github.com/fcrepo/Fedora-API-Test-Suite/pull/286.diff","patch_url":"https://github.com/fcrepo/Fedora-API-Test-Suite/pull/286.patch","issue_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/issues/286","number":286,"state":"open","locked":false,"title":"New State Token tests (Sec. 3.10).","user":{"login":"dbernstein","id":344939,"node_id":"MDQ6VXNlcjM0NDkzOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/344939?v=4","gravatar_id":"","url":"https://api.github.com/users/dbernstein","html_url":"https://github.com/dbernstein","followers_url":"https://api.github.com/users/dbernstein/followers","following_url":"https://api.github.com/users/dbernstein/following{/other_user}","gists_url":"https://api.github.com/users/dbernstein/gists{/gist_id}","starred_url":"https://api.github.com/users/dbernstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbernstein/subscriptions","organizations_url":"https://api.github.com/users/dbernstein/orgs","repos_url":"https://api.github.com/users/dbernstein/repos","events_url":"https://api.github.com/users/dbernstein/events{/privacy}","received_events_url":"https://api.github.com/users/dbernstein/received_events","type":"User","site_admin":false},"body":"Resolves: https://github.com/fcrepo/Fedora-API-Test-Suite/issues/275","created_at":"2018-10-31T17:21:06Z","updated_at":"2018-10-31T22:19:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b6ad9b6604a26b1b6a9d2f6d227919eeccd0b70d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/pulls/286/commits","review_comments_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/pulls/286/comments","review_comment_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/issues/286/comments","statuses_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/statuses/8a45c11c26d7a28ab05db5c0d169d4aa8bfd54fc","head":{"label":"dbernstein:issue-275-state-token","ref":"issue-275-state-token","sha":"8a45c11c26d7a28ab05db5c0d169d4aa8bfd54fc","user":{"login":"dbernstein","id":344939,"node_id":"MDQ6VXNlcjM0NDkzOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/344939?v=4","gravatar_id":"","url":"https://api.github.com/users/dbernstein","html_url":"https://github.com/dbernstein","followers_url":"https://api.github.com/users/dbernstein/followers","following_url":"https://api.github.com/users/dbernstein/following{/other_user}","gists_url":"https://api.github.com/users/dbernstein/gists{/gist_id}","starred_url":"https://api.github.com/users/dbernstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbernstein/subscriptions","organizations_url":"https://api.github.com/users/dbernstein/orgs","repos_url":"https://api.github.com/users/dbernstein/repos","events_url":"https://api.github.com/users/dbernstein/events{/privacy}","received_events_url":"https://api.github.com/users/dbernstein/received_events","type":"User","site_admin":false},"repo":{"id":130382288,"node_id":"MDEwOlJlcG9zaXRvcnkxMzAzODIyODg=","name":"Fedora-API-Test-Suite","full_name":"dbernstein/Fedora-API-Test-Suite","private":false,"owner":{"login":"dbernstein","id":344939,"node_id":"MDQ6VXNlcjM0NDkzOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/344939?v=4","gravatar_id":"","url":"https://api.github.com/users/dbernstein","html_url":"https://github.com/dbernstein","followers_url":"https://api.github.com/users/dbernstein/followers","following_url":"https://api.github.com/users/dbernstein/following{/other_user}","gists_url":"https://api.github.com/users/dbernstein/gists{/gist_id}","starred_url":"https://api.github.com/users/dbernstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbernstein/subscriptions","organizations_url":"https://api.github.com/users/dbernstein/orgs","repos_url":"https://api.github.com/users/dbernstein/repos","events_url":"https://api.github.com/users/dbernstein/events{/privacy}","received_events_url":"https://api.github.com/users/dbernstein/received_events","type":"User","site_admin":false},"html_url":"https://github.com/dbernstein/Fedora-API-Test-Suite","description":"A Standalone testing suite that exercises the requirements in the Fedora API Specification indicating the degree of a server’s compliance with the specification.","fork":true,"url":"https://api.github.com/repos/dbernstein/Fedora-API-Test-Suite","forks_url":"https://api.github.com/repos/dbernstein/Fedora-API-Test-Suite/forks","keys_url":"https://api.github.com/repos/dbernstein/Fedora-API-Test-Suite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dbernstein/Fedora-API-Test-Suite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dbernstein/Fedora-API-Test-Suite/teams","hooks_url":"https://api.github.com/repos/dbernstein/Fedora-API-Test-Suite/hooks","issue_events_url":"https://api.github.com/repos/dbernstein/Fedora-API-Test-Suite/issues/events{/number}","events_url":"https://api.github.com/repos/dbernstein/Fedora-API-Test-Suite/events","assignees_url":"https://api.github.com/repos/dbernstein/Fedora-API-Test-Suite/assignees{/user}","branches_url":"https://api.github.com/repos/dbernstein/Fedora-API-Test-Suite/branches{/branch}","tags_url":"https://api.github.com/repos/dbernstein/Fedora-API-Test-Suite/tags","blobs_url":"https://api.github.com/repos/dbernstein/Fedora-API-Test-Suite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dbernstein/Fedora-API-Test-Suite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dbernstein/Fedora-API-Test-Suite/git/refs{/sha}","trees_url":"https://api.github.com/repos/dbernstein/Fedora-API-Test-Suite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dbernstein/Fedora-API-Test-Suite/statuses/{sha}","languages_url":"https://api.github.com/repos/dbernstein/Fedora-API-Test-Suite/languages","stargazers_url":"https://api.github.com/repos/dbernstein/Fedora-API-Test-Suite/stargazers","contributors_url":"https://api.github.com/repos/dbernstein/Fedora-API-Test-Suite/contributors","subscribers_url":"https://api.github.com/repos/dbernstein/Fedora-API-Test-Suite/subscribers","subscription_url":"https://api.github.com/repos/dbernstein/Fedora-API-Test-Suite/subscription","commits_url":"https://api.github.com/repos/dbernstein/Fedora-API-Test-Suite/commits{/sha}","git_commits_url":"https://api.github.com/repos/dbernstein/Fedora-API-Test-Suite/git/commits{/sha}","comments_url":"https://api.github.com/repos/dbernstein/Fedora-API-Test-Suite/comments{/number}","issue_comment_url":"https://api.github.com/repos/dbernstein/Fedora-API-Test-Suite/issues/comments{/number}","contents_url":"https://api.github.com/repos/dbernstein/Fedora-API-Test-Suite/contents/{+path}","compare_url":"https://api.github.com/repos/dbernstein/Fedora-API-Test-Suite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dbernstein/Fedora-API-Test-Suite/merges","archive_url":"https://api.github.com/repos/dbernstein/Fedora-API-Test-Suite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dbernstein/Fedora-API-Test-Suite/downloads","issues_url":"https://api.github.com/repos/dbernstein/Fedora-API-Test-Suite/issues{/number}","pulls_url":"https://api.github.com/repos/dbernstein/Fedora-API-Test-Suite/pulls{/number}","milestones_url":"https://api.github.com/repos/dbernstein/Fedora-API-Test-Suite/milestones{/number}","notifications_url":"https://api.github.com/repos/dbernstein/Fedora-API-Test-Suite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dbernstein/Fedora-API-Test-Suite/labels{/name}","releases_url":"https://api.github.com/repos/dbernstein/Fedora-API-Test-Suite/releases{/id}","deployments_url":"https://api.github.com/repos/dbernstein/Fedora-API-Test-Suite/deployments","created_at":"2018-04-20T15:41:46Z","updated_at":"2018-10-31T17:15:32Z","pushed_at":"2018-10-31T17:50:43Z","git_url":"git://github.com/dbernstein/Fedora-API-Test-Suite.git","ssh_url":"git@github.com:dbernstein/Fedora-API-Test-Suite.git","clone_url":"https://github.com/dbernstein/Fedora-API-Test-Suite.git","svn_url":"https://github.com/dbernstein/Fedora-API-Test-Suite","homepage":"","size":589,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"fcrepo:master","ref":"master","sha":"8f12c7b4cb13a58a3f815ff66c67f76d373c1633","user":{"login":"fcrepo","id":7585963,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1ODU5NjM=","avatar_url":"https://avatars2.githubusercontent.com/u/7585963?v=4","gravatar_id":"","url":"https://api.github.com/users/fcrepo","html_url":"https://github.com/fcrepo","followers_url":"https://api.github.com/users/fcrepo/followers","following_url":"https://api.github.com/users/fcrepo/following{/other_user}","gists_url":"https://api.github.com/users/fcrepo/gists{/gist_id}","starred_url":"https://api.github.com/users/fcrepo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fcrepo/subscriptions","organizations_url":"https://api.github.com/users/fcrepo/orgs","repos_url":"https://api.github.com/users/fcrepo/repos","events_url":"https://api.github.com/users/fcrepo/events{/privacy}","received_events_url":"https://api.github.com/users/fcrepo/received_events","type":"Organization","site_admin":false},"repo":{"id":102658323,"node_id":"MDEwOlJlcG9zaXRvcnkxMDI2NTgzMjM=","name":"Fedora-API-Test-Suite","full_name":"fcrepo/Fedora-API-Test-Suite","private":false,"owner":{"login":"fcrepo","id":7585963,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1ODU5NjM=","avatar_url":"https://avatars2.githubusercontent.com/u/7585963?v=4","gravatar_id":"","url":"https://api.github.com/users/fcrepo","html_url":"https://github.com/fcrepo","followers_url":"https://api.github.com/users/fcrepo/followers","following_url":"https://api.github.com/users/fcrepo/following{/other_user}","gists_url":"https://api.github.com/users/fcrepo/gists{/gist_id}","starred_url":"https://api.github.com/users/fcrepo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fcrepo/subscriptions","organizations_url":"https://api.github.com/users/fcrepo/orgs","repos_url":"https://api.github.com/users/fcrepo/repos","events_url":"https://api.github.com/users/fcrepo/events{/privacy}","received_events_url":"https://api.github.com/users/fcrepo/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/fcrepo/Fedora-API-Test-Suite","description":"A Standalone testing suite that exercises the requirements in the Fedora API Specification indicating the degree of a server’s compliance with the specification.","fork":false,"url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite","forks_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/forks","keys_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/teams","hooks_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/hooks","issue_events_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/issues/events{/number}","events_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/events","assignees_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/assignees{/user}","branches_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/branches{/branch}","tags_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/tags","blobs_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/git/refs{/sha}","trees_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/statuses/{sha}","languages_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/languages","stargazers_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/stargazers","contributors_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/contributors","subscribers_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/subscribers","subscription_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/subscription","commits_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/commits{/sha}","git_commits_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/git/commits{/sha}","comments_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/comments{/number}","issue_comment_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/issues/comments{/number}","contents_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/contents/{+path}","compare_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/merges","archive_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/downloads","issues_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/issues{/number}","pulls_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/pulls{/number}","milestones_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/milestones{/number}","notifications_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/labels{/name}","releases_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/releases{/id}","deployments_url":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/deployments","created_at":"2017-09-06T21:06:34Z","updated_at":"2018-10-31T21:17:02Z","pushed_at":"2018-10-31T21:17:00Z","git_url":"git://github.com/fcrepo/Fedora-API-Test-Suite.git","ssh_url":"git@github.com:fcrepo/Fedora-API-Test-Suite.git","clone_url":"https://github.com/fcrepo/Fedora-API-Test-Suite.git","svn_url":"https://github.com/fcrepo/Fedora-API-Test-Suite","homepage":"","size":556,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":29,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":9,"open_issues":29,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/pulls/286"},"html":{"href":"https://github.com/fcrepo/Fedora-API-Test-Suite/pull/286"},"issue":{"href":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/issues/286"},"comments":{"href":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/issues/286/comments"},"review_comments":{"href":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/pulls/286/comments"},"review_comment":{"href":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/pulls/286/commits"},"statuses":{"href":"https://api.github.com/repos/fcrepo/Fedora-API-Test-Suite/statuses/8a45c11c26d7a28ab05db5c0d169d4aa8bfd54fc"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"awoods"}}