GitHub PullRequestReviewCommentEvent at 2014-10-27 23:49:34
Repository: PHC
Actor: chenhoward
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/calblueprint/PHC/pulls/comments/19445854","id":19445854,"diff_hunk":"@@ -0,0 +1,376 @@\n+package phc.android;\n+\n+import android.content.Context;\n+import android.content.Intent;\n+import android.graphics.Bitmap;\n+import android.graphics.BitmapFactory;\n+import android.graphics.Color;\n+import android.hardware.Camera;\n+import android.hardware.Camera.PictureCallback;\n+import android.support.v7.app.ActionBarActivity;\n+import android.os.Bundle;\n+import android.util.Log;\n+import android.view.Menu;\n+import android.view.MenuItem;\n+import android.view.Surface;\n+import android.view.SurfaceHolder;\n+import android.view.SurfaceView;\n+import android.view.View;\n+import android.view.ViewGroup;\n+import android.view.WindowManager;\n+import android.widget.FrameLayout;\n+import android.widget.TextView;\n+import com.google.zxing.BinaryBitmap;\n+import com.google.zxing.ChecksumException;\n+import com.google.zxing.FormatException;\n+import com.google.zxing.LuminanceSource;\n+import com.google.zxing.MultiFormatReader;\n+import com.google.zxing.NotFoundException;\n+import com.google.zxing.RGBLuminanceSource;\n+import com.google.zxing.Reader;\n+import com.google.zxing.Result;\n+import com.google.zxing.common.HybridBinarizer;\n+import java.io.File;\n+import java.io.FileNotFoundException;\n+import java.io.FileOutputStream;\n+import java.io.IOException;\n+import java.util.List;\n+\n+public class ScannerActivity extends ActionBarActivity {\n+\n+    public static final String TAG = \"ScannerActivity\";\n+\n+    public static String mScanResult = null;\n+\n+    public static class CameraPreview extends SurfaceView implements SurfaceHolder.Callback {\n+        Camera mCamera;\n+        SurfaceHolder mHolder;\n+        Camera.Size mPreviewSize;\n+        FrameLayout mFrame;\n+        public CameraPreview(Camera camera, Context context, FrameLayout frame) {\n+            super(context);\n+            mCamera = camera;\n+            mHolder = getHolder();\n+            mHolder.addCallback(this);\n+            mFrame = frame;\n+            mHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);\n+        }\n+\n+        public void updateCamera(Camera c) {\n+            this.mCamera = c;\n+        }\n+\n+        public void surfaceCreated(SurfaceHolder holder) {\n+            try {\n+                mCamera.setPreviewDisplay(holder);\n+                mCamera.startPreview();\n+            }\n+            catch (IOException e) {\n+                Log.d(VIEW_LOG_TAG, \"Error setting camera preview: \" + e.getMessage());\n+            }\n+        }\n+\n+        public void surfaceDestroyed(SurfaceHolder holder) {\n+\n+        }\n+\n+        public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) {\n+            // TODO: Implement for change/ rotate preview functionality\n+            boolean portrait = false;\n+            WindowManager manager = (WindowManager) getContext().getSystemService(Context.WINDOW_SERVICE);\n+            if (mHolder.getSurface() == null) {\n+                return;\n+            }\n+            try {\n+                mCamera.stopPreview();\n+            } catch (Exception e) {\n+                //ignore, tried to stop non-existent preview\n+            }\n+            //TODO: FIX SCREEN ORIENTATION ISSUE!\n+            switch (manager.getDefaultDisplay().getRotation()) {\n+                case Surface.ROTATION_180:\n+                    mCamera.setDisplayOrientation(270);\n+                    portrait = true;\n+                    break;\n+                case Surface.ROTATION_270:\n+                    mCamera.setDisplayOrientation(180);\n+                    break;\n+                case Surface.ROTATION_90:\n+                    mCamera.setDisplayOrientation(0);\n+                    break;\n+                default:\n+                    mCamera.setDisplayOrientation(90);\n+                    portrait = true;\n+                    break;\n+            }\n+            Camera.Parameters parameters = mCamera.getParameters();\n+            //parameters.setPreviewSize(mPreviewSize.width, mPreviewSize.height);\n+            //TODO: fix picture size!\n+            int last = parameters.getSupportedPictureSizes().size() -1;\n+            Camera.Size picSize = parameters.getSupportedPictureSizes().get(7);//getSmallestPictureSize(w,h);\n+            parameters.setPictureSize(picSize.width,picSize.height);\n+            parameters.setFocusMode(Camera.Parameters.FOCUS_MODE_CONTINUOUS_PICTURE);\n+            ViewGroup.LayoutParams slp = this.getLayoutParams();\n+            if (!portrait) {\n+                slp.width = mPreviewSize.width;\n+                slp.height = mPreviewSize.height;\n+            } else {\n+                slp.height = mPreviewSize.width;\n+                slp.width = mPreviewSize.height;\n+            }\n+            this.setLayoutParams(slp);\n+            mCamera.setParameters(parameters);\n+            try {\n+                mCamera.startPreview();\n+            } catch (Exception e) {\n+                Log.d(VIEW_LOG_TAG, \"Error starting camera preview: \" + e.getMessage());\n+            }\n+        }\n+\n+        private Camera.Size getOptimalPreviewSize(List<Camera.Size> sizes, int w, int h) {\n+            final double ASPECT_TOLERANCE = 0.1;\n+            double targetRatio=(double)h / w;\n+            if (sizes == null) return null;\n+            Camera.Size optimalSize = null;\n+            double minDiff = Double.MAX_VALUE;\n+            int targetHeight = h;\n+            for (Camera.Size size : sizes) {\n+                double ratio = (double) size.width / size.height;\n+                if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) continue;\n+                if (Math.abs(size.height - targetHeight) < minDiff) {\n+                    optimalSize = size;\n+                    minDiff = Math.abs(size.height - targetHeight);\n+                }\n+            }\n+            if (optimalSize == null) {\n+                minDiff = Double.MAX_VALUE;\n+                for (Camera.Size size : sizes) {\n+                    if (Math.abs(size.height - targetHeight) < minDiff) {\n+                        optimalSize = size;\n+                        minDiff = Math.abs(size.height - targetHeight);\n+                    }\n+                }\n+            }\n+            return optimalSize;\n+        }\n+\n+        @Override\n+        protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {\n+            final int width = resolveSize(getSuggestedMinimumWidth(), widthMeasureSpec);\n+            final int height = resolveSize(getSuggestedMinimumHeight(), heightMeasureSpec);\n+            setMeasuredDimension(width, height);\n+            List<Camera.Size> mSupportedPreviewSizes = mCamera.getParameters().getSupportedPreviewSizes();\n+            if (mSupportedPreviewSizes != null) {\n+                mPreviewSize = getOptimalPreviewSize(mSupportedPreviewSizes, width, height);\n+            }\n+        }\n+\n+        private Camera.Size getBestPreviewSize(int width, int height) {\n+            Camera.Size result=null;\n+            Camera.Parameters p = mCamera.getParameters();\n+            for (Camera.Size size : p.getSupportedPreviewSizes()) {\n+                if (size.width<=width && size.height<=height) {\n+                    if (result==null) {\n+                        result=size;\n+                    } else {\n+                        int resultArea=result.width*result.height;\n+                        int newArea=size.width*size.height;\n+                        if (newArea<resultArea) {\n+                            result=size;\n+                        }\n+                    }\n+                }\n+            }\n+            return result;\n+        }\n+\n+        private Camera.Size getSmallestPictureSize(int width, int height) {\n+            Camera.Size result=null;\n+            Camera.Parameters p = mCamera.getParameters();\n+            for (Camera.Size size : p.getSupportedPictureSizes()) {\n+                if (size.width<=width && size.height<=height) {\n+                    if (result==null) {\n+                        result=size;\n+                    } else {\n+                        int resultArea=result.width*result.height;\n+                        int newArea=size.width*size.height;\n+                        if (newArea<resultArea) {\n+                            result=size;\n+                        }\n+                    }\n+                }\n+            }\n+            return result;\n+        }\n+    }\n+\n+    Camera mBackCamera;","path":"PHC-Android/PHC/src/main/java/phc/android/ScannerActivity.java","position":207,"original_position":207,"commit_id":"65f7e55b42b8b9b2b6747423488d283d86b27ad1","original_commit_id":"65f7e55b42b8b9b2b6747423488d283d86b27ad1","user":{"login":"chenhoward","id":5416504,"avatar_url":"https://avatars.githubusercontent.com/u/5416504?v=2","gravatar_id":"","url":"https://api.github.com/users/chenhoward","html_url":"https://github.com/chenhoward","followers_url":"https://api.github.com/users/chenhoward/followers","following_url":"https://api.github.com/users/chenhoward/following{/other_user}","gists_url":"https://api.github.com/users/chenhoward/gists{/gist_id}","starred_url":"https://api.github.com/users/chenhoward/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenhoward/subscriptions","organizations_url":"https://api.github.com/users/chenhoward/orgs","repos_url":"https://api.github.com/users/chenhoward/repos","events_url":"https://api.github.com/users/chenhoward/events{/privacy}","received_events_url":"https://api.github.com/users/chenhoward/received_events","type":"User","site_admin":false},"body":"I would move the class variables to the top","created_at":"2014-10-27T23:49:34Z","updated_at":"2014-10-27T23:49:34Z","html_url":"https://github.com/calblueprint/PHC/pull/26#discussion_r19445854","pull_request_url":"https://api.github.com/repos/calblueprint/PHC/pulls/26","_links":{"self":{"href":"https://api.github.com/repos/calblueprint/PHC/pulls/comments/19445854"},"html":{"href":"https://github.com/calblueprint/PHC/pull/26#discussion_r19445854"},"pull_request":{"href":"https://api.github.com/repos/calblueprint/PHC/pulls/26"}}},"pull_request":{"url":"https://api.github.com/repos/calblueprint/PHC/pulls/26","id":23403801,"html_url":"https://github.com/calblueprint/PHC/pull/26","diff_url":"https://github.com/calblueprint/PHC/pull/26.diff","patch_url":"https://github.com/calblueprint/PHC/pull/26.patch","issue_url":"https://api.github.com/repos/calblueprint/PHC/issues/26","number":26,"state":"open","locked":false,"title":"integrate scanner into services NOT READY TO PULL.","user":{"login":"dwarrier","id":3644777,"avatar_url":"https://avatars.githubusercontent.com/u/3644777?v=2","gravatar_id":"","url":"https://api.github.com/users/dwarrier","html_url":"https://github.com/dwarrier","followers_url":"https://api.github.com/users/dwarrier/followers","following_url":"https://api.github.com/users/dwarrier/following{/other_user}","gists_url":"https://api.github.com/users/dwarrier/gists{/gist_id}","starred_url":"https://api.github.com/users/dwarrier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwarrier/subscriptions","organizations_url":"https://api.github.com/users/dwarrier/orgs","repos_url":"https://api.github.com/users/dwarrier/repos","events_url":"https://api.github.com/users/dwarrier/events{/privacy}","received_events_url":"https://api.github.com/users/dwarrier/received_events","type":"User","site_admin":false},"body":"@chenhoward , this is working but there are a couple of things I need to address.\r\n\r\nI'm still cleaning up the code, so don't worry about making syntax/ style comments just yet.\r\n\r\n1) Double tapping the pane crashes the app (this is an easy fix)\r\n\r\n2) Click to return (didn't implement because there's no reason to return to the splash page for now)\r\n\r\n3) The calibration for the tablet vs. the phone (still looking into this!)\r\n\r\nI'll demo this today if you'd like.","created_at":"2014-10-27T18:13:29Z","updated_at":"2014-10-27T23:49:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c256911633984986c1996d63039f0669f47cdc36","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/calblueprint/PHC/pulls/26/commits","review_comments_url":"https://api.github.com/repos/calblueprint/PHC/pulls/26/comments","review_comment_url":"https://api.github.com/repos/calblueprint/PHC/pulls/comments/{number}","comments_url":"https://api.github.com/repos/calblueprint/PHC/issues/26/comments","statuses_url":"https://api.github.com/repos/calblueprint/PHC/statuses/65f7e55b42b8b9b2b6747423488d283d86b27ad1","head":{"label":"calblueprint:qr-integrate","ref":"qr-integrate","sha":"65f7e55b42b8b9b2b6747423488d283d86b27ad1","user":{"login":"calblueprint","id":2729578,"avatar_url":"https://avatars.githubusercontent.com/u/2729578?v=2","gravatar_id":"","url":"https://api.github.com/users/calblueprint","html_url":"https://github.com/calblueprint","followers_url":"https://api.github.com/users/calblueprint/followers","following_url":"https://api.github.com/users/calblueprint/following{/other_user}","gists_url":"https://api.github.com/users/calblueprint/gists{/gist_id}","starred_url":"https://api.github.com/users/calblueprint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calblueprint/subscriptions","organizations_url":"https://api.github.com/users/calblueprint/orgs","repos_url":"https://api.github.com/users/calblueprint/repos","events_url":"https://api.github.com/users/calblueprint/events{/privacy}","received_events_url":"https://api.github.com/users/calblueprint/received_events","type":"Organization","site_admin":false},"repo":{"id":25014781,"name":"PHC","full_name":"calblueprint/PHC","owner":{"login":"calblueprint","id":2729578,"avatar_url":"https://avatars.githubusercontent.com/u/2729578?v=2","gravatar_id":"","url":"https://api.github.com/users/calblueprint","html_url":"https://github.com/calblueprint","followers_url":"https://api.github.com/users/calblueprint/followers","following_url":"https://api.github.com/users/calblueprint/following{/other_user}","gists_url":"https://api.github.com/users/calblueprint/gists{/gist_id}","starred_url":"https://api.github.com/users/calblueprint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calblueprint/subscriptions","organizations_url":"https://api.github.com/users/calblueprint/orgs","repos_url":"https://api.github.com/users/calblueprint/repos","events_url":"https://api.github.com/users/calblueprint/events{/privacy}","received_events_url":"https://api.github.com/users/calblueprint/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/calblueprint/PHC","description":"","fork":false,"url":"https://api.github.com/repos/calblueprint/PHC","forks_url":"https://api.github.com/repos/calblueprint/PHC/forks","keys_url":"https://api.github.com/repos/calblueprint/PHC/keys{/key_id}","collaborators_url":"https://api.github.com/repos/calblueprint/PHC/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/calblueprint/PHC/teams","hooks_url":"https://api.github.com/repos/calblueprint/PHC/hooks","issue_events_url":"https://api.github.com/repos/calblueprint/PHC/issues/events{/number}","events_url":"https://api.github.com/repos/calblueprint/PHC/events","assignees_url":"https://api.github.com/repos/calblueprint/PHC/assignees{/user}","branches_url":"https://api.github.com/repos/calblueprint/PHC/branches{/branch}","tags_url":"https://api.github.com/repos/calblueprint/PHC/tags","blobs_url":"https://api.github.com/repos/calblueprint/PHC/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/calblueprint/PHC/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/calblueprint/PHC/git/refs{/sha}","trees_url":"https://api.github.com/repos/calblueprint/PHC/git/trees{/sha}","statuses_url":"https://api.github.com/repos/calblueprint/PHC/statuses/{sha}","languages_url":"https://api.github.com/repos/calblueprint/PHC/languages","stargazers_url":"https://api.github.com/repos/calblueprint/PHC/stargazers","contributors_url":"https://api.github.com/repos/calblueprint/PHC/contributors","subscribers_url":"https://api.github.com/repos/calblueprint/PHC/subscribers","subscription_url":"https://api.github.com/repos/calblueprint/PHC/subscription","commits_url":"https://api.github.com/repos/calblueprint/PHC/commits{/sha}","git_commits_url":"https://api.github.com/repos/calblueprint/PHC/git/commits{/sha}","comments_url":"https://api.github.com/repos/calblueprint/PHC/comments{/number}","issue_comment_url":"https://api.github.com/repos/calblueprint/PHC/issues/comments/{number}","contents_url":"https://api.github.com/repos/calblueprint/PHC/contents/{+path}","compare_url":"https://api.github.com/repos/calblueprint/PHC/compare/{base}...{head}","merges_url":"https://api.github.com/repos/calblueprint/PHC/merges","archive_url":"https://api.github.com/repos/calblueprint/PHC/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/calblueprint/PHC/downloads","issues_url":"https://api.github.com/repos/calblueprint/PHC/issues{/number}","pulls_url":"https://api.github.com/repos/calblueprint/PHC/pulls{/number}","milestones_url":"https://api.github.com/repos/calblueprint/PHC/milestones{/number}","notifications_url":"https://api.github.com/repos/calblueprint/PHC/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/calblueprint/PHC/labels{/name}","releases_url":"https://api.github.com/repos/calblueprint/PHC/releases{/id}","created_at":"2014-10-10T01:00:35Z","updated_at":"2014-10-10T01:01:12Z","pushed_at":"2014-10-27T23:31:53Z","git_url":"git://github.com/calblueprint/PHC.git","ssh_url":"git@github.com:calblueprint/PHC.git","clone_url":"https://github.com/calblueprint/PHC.git","svn_url":"https://github.com/calblueprint/PHC","homepage":null,"size":2638,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":17,"forks":0,"open_issues":17,"watchers":0,"default_branch":"master"}},"base":{"label":"calblueprint:master","ref":"master","sha":"8ab0504cf04f584f8e496128a8912b81c1b5dd1a","user":{"login":"calblueprint","id":2729578,"avatar_url":"https://avatars.githubusercontent.com/u/2729578?v=2","gravatar_id":"","url":"https://api.github.com/users/calblueprint","html_url":"https://github.com/calblueprint","followers_url":"https://api.github.com/users/calblueprint/followers","following_url":"https://api.github.com/users/calblueprint/following{/other_user}","gists_url":"https://api.github.com/users/calblueprint/gists{/gist_id}","starred_url":"https://api.github.com/users/calblueprint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calblueprint/subscriptions","organizations_url":"https://api.github.com/users/calblueprint/orgs","repos_url":"https://api.github.com/users/calblueprint/repos","events_url":"https://api.github.com/users/calblueprint/events{/privacy}","received_events_url":"https://api.github.com/users/calblueprint/received_events","type":"Organization","site_admin":false},"repo":{"id":25014781,"name":"PHC","full_name":"calblueprint/PHC","owner":{"login":"calblueprint","id":2729578,"avatar_url":"https://avatars.githubusercontent.com/u/2729578?v=2","gravatar_id":"","url":"https://api.github.com/users/calblueprint","html_url":"https://github.com/calblueprint","followers_url":"https://api.github.com/users/calblueprint/followers","following_url":"https://api.github.com/users/calblueprint/following{/other_user}","gists_url":"https://api.github.com/users/calblueprint/gists{/gist_id}","starred_url":"https://api.github.com/users/calblueprint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calblueprint/subscriptions","organizations_url":"https://api.github.com/users/calblueprint/orgs","repos_url":"https://api.github.com/users/calblueprint/repos","events_url":"https://api.github.com/users/calblueprint/events{/privacy}","received_events_url":"https://api.github.com/users/calblueprint/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/calblueprint/PHC","description":"","fork":false,"url":"https://api.github.com/repos/calblueprint/PHC","forks_url":"https://api.github.com/repos/calblueprint/PHC/forks","keys_url":"https://api.github.com/repos/calblueprint/PHC/keys{/key_id}","collaborators_url":"https://api.github.com/repos/calblueprint/PHC/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/calblueprint/PHC/teams","hooks_url":"https://api.github.com/repos/calblueprint/PHC/hooks","issue_events_url":"https://api.github.com/repos/calblueprint/PHC/issues/events{/number}","events_url":"https://api.github.com/repos/calblueprint/PHC/events","assignees_url":"https://api.github.com/repos/calblueprint/PHC/assignees{/user}","branches_url":"https://api.github.com/repos/calblueprint/PHC/branches{/branch}","tags_url":"https://api.github.com/repos/calblueprint/PHC/tags","blobs_url":"https://api.github.com/repos/calblueprint/PHC/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/calblueprint/PHC/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/calblueprint/PHC/git/refs{/sha}","trees_url":"https://api.github.com/repos/calblueprint/PHC/git/trees{/sha}","statuses_url":"https://api.github.com/repos/calblueprint/PHC/statuses/{sha}","languages_url":"https://api.github.com/repos/calblueprint/PHC/languages","stargazers_url":"https://api.github.com/repos/calblueprint/PHC/stargazers","contributors_url":"https://api.github.com/repos/calblueprint/PHC/contributors","subscribers_url":"https://api.github.com/repos/calblueprint/PHC/subscribers","subscription_url":"https://api.github.com/repos/calblueprint/PHC/subscription","commits_url":"https://api.github.com/repos/calblueprint/PHC/commits{/sha}","git_commits_url":"https://api.github.com/repos/calblueprint/PHC/git/commits{/sha}","comments_url":"https://api.github.com/repos/calblueprint/PHC/comments{/number}","issue_comment_url":"https://api.github.com/repos/calblueprint/PHC/issues/comments/{number}","contents_url":"https://api.github.com/repos/calblueprint/PHC/contents/{+path}","compare_url":"https://api.github.com/repos/calblueprint/PHC/compare/{base}...{head}","merges_url":"https://api.github.com/repos/calblueprint/PHC/merges","archive_url":"https://api.github.com/repos/calblueprint/PHC/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/calblueprint/PHC/downloads","issues_url":"https://api.github.com/repos/calblueprint/PHC/issues{/number}","pulls_url":"https://api.github.com/repos/calblueprint/PHC/pulls{/number}","milestones_url":"https://api.github.com/repos/calblueprint/PHC/milestones{/number}","notifications_url":"https://api.github.com/repos/calblueprint/PHC/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/calblueprint/PHC/labels{/name}","releases_url":"https://api.github.com/repos/calblueprint/PHC/releases{/id}","created_at":"2014-10-10T01:00:35Z","updated_at":"2014-10-10T01:01:12Z","pushed_at":"2014-10-27T23:31:53Z","git_url":"git://github.com/calblueprint/PHC.git","ssh_url":"git@github.com:calblueprint/PHC.git","clone_url":"https://github.com/calblueprint/PHC.git","svn_url":"https://github.com/calblueprint/PHC","homepage":null,"size":2638,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":17,"forks":0,"open_issues":17,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/calblueprint/PHC/pulls/26"},"html":{"href":"https://github.com/calblueprint/PHC/pull/26"},"issue":{"href":"https://api.github.com/repos/calblueprint/PHC/issues/26"},"comments":{"href":"https://api.github.com/repos/calblueprint/PHC/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/calblueprint/PHC/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/calblueprint/PHC/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/calblueprint/PHC/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/calblueprint/PHC/statuses/65f7e55b42b8b9b2b6747423488d283d86b27ad1"}}}}