{"action":"created","comment":{"url":"https://api.github.com/repos/dit-rohm/textbook/pulls/comments/41494235","id":41494235,"diff_hunk":"@@ -0,0 +1,378 @@\n+# 新規登録機能の作成\n+\n+以下の流れに沿って新規登録機能の作成をしていきます。\n+\n+1. 見た目部分（HTML）\n+1. データを受け取る部分（PHP）\n+1. データベースの処理の部分（PHP）  \n+\n+作成する画面は以下の画像になります。\n+\n+![image1](./images/signup1.png)\n+\n+## 1. 見た目部分（HTML）\n+\n+まずは、HTMLの部分から書いていきます。`signup.php`の`<body>`の中身を追記して下さい。HTMLの書き方でわからない部分があれば、<a href=\"\" target=\"_blank\">HTMLリファレンス</a>を読むか、メンターに質問して下さい。\n+\n+#### signup.php\n+\n+```html \n+<!DOCTYPE html>\n+<html lang=\"ja\">\n+<head>\n+  <meta charset=\"utf-8\">\n+  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n+  <title>signup - Ditter</title>\n+  <link rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css\">\n+</head>\n+<body>\n+  <div id=\"main\" class=\"container\">\n+    <div class=\"row\">\n+      <div class=\"col-md-4\"></div>\n+      <div class=\"col-md-4\">\n+        <h1>新規登録</h1>\n+        <!-- フォーム部分 -->\n+        <form action=\"\" method=\"POST\">\n+          <!-- ユーザ名 -->\n+          <div class=\"form-group\">\n+            <label for=\"userName\">ユーザ名（必須）</label>\n+            <input type=\"text\" class=\"form-control\" id=\"userName\" name=\"user_name\" placeholder=\"3文字以上15文字以下\" />\n+          </div>\n+          <!-- ユーザID -->\n+          <div class=\"form-group\">\n+            <label for=\"screenName\">ユーザID（必須）</label>\n+            <input type=\"text\" class=\"form-control\" id=\"screenName\" name=\"screen_name\" placeholder=\"3文字以上15文字以下\" />\n+          </div>\n+          <!-- メールアドレス -->\n+          <div class=\"form-group\">\n+            <label for=\"email\">メールアドレス（必須）</label>\n+            <input type=\"email\" class=\"form-control\" id=\"email\" name=\"email\" />\n+\n+          </div>\n+          <!-- パスワード -->\n+          <div class=\"form-group\">\n+            <label for=\"password\">パスワード（必須）</label>\n+            <input type=\"password\" class=\"form-control\" id=\"password\" name=\"password\" placeholder=\"4文字以上8文字以下\" />\n+          </div>\n+          <!-- 一言 -->\n+          <div class=\"form-group\">\n+            <label for=\"comment\">一言</label>\n+            <textarea class=\"form-control\" id=\"comment\" name=\"comment\" placeholder=\"140文字以内\" rows=\"3\" style=\"resize:none\"></textarea>\n+          </div>\n+          <!-- 新規登録ボタン -->\n+          <button type=\"submit\" class=\"btn btn-default\">新規登録</button>\n+        </form>  \n+        <!-- ログイン画面へのリンク -->\n+        <p>ログインは<a href=\"./signin.php\">こちら</a></p>\n+      </div>\n+      <div class=\"col-md-4\"></div>\n+    </div>\n+  </div>\n+<script src=\"https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js\"></script>\n+<script src=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js\"></script>\n+</body>\n+</html>\n+```\n+\n+### HTMLの説明\n+\n+新規登録画面では **ユーザ名**、 **ユーザID**、 **メールアドレス**、 **パスワード**、 **一言**、の5つの項目を登録してもらうためのフォームを用意しました。以下の部分に注目して下さい。\n+\n+>  引用\n+>\n+> ```php\n+<form action=\"\" method=\"POST\">\n+\t<div class=\"form-group\">\n+\t\t<label for=\"userName\">ユーザ名</label>\n+    \t<input type=\"text\" class=\"form-control\" id=\"userName\" name=\"user_name\" placeholder=\"3文字以上15文字以下\" />\n+\t</div>\n+</form>\n+```\n+\n+HTMLでフォームを作成するには、まず、\n+\n+> 引用\n+> \n+> ```php\n+<form action=\"\" method=\"POST\"> ... </form>\n+```\n+\n+のように正式にフォームを用意します。ここで、action属性は、フォームから収集したデータが送られるべき場所(URL)を定義し、method属性は、データを送る際のHTTPメソッド(\"get\"または\"post\")を定義します。今回はpostを使用します。次に、`<form>`の中に`<input>`や`<textarea>`を追加します。type属性によって`<input>`要素の動作を定義することが出来ます。例えば、以下はテキストを入力するフォームです。\n+\n+> 引用\n+>\n+> ```php\n+<input type=\"text\" placeholder=\"3文字以上15文字以下\" />\n+```\n+\n+`type=\"text\"`とすることで単一行のテキストフィールドを定義することができます。placeholder属性に値を指定しておくと、初期表示する内容を指定することが出来ます。classについてはBootstrapを使用するためにつけていますので、<a href=\"http://getbootstrap.com/css/#forms\" target=\"_blank\">参考文献1</a>を読んで下さい。\n+\n+また、`<label>`を使うと、フォームの構成部品を項目名を関連付けることが出来ます。for属性の値と、フォーム部品のid属性の値を同じものにすることで関連付けられ、ラベルをクリックすると対応するフォーム部品がアクティブになります。\n+\n+> 引用\n+>\n+> ```php\n+<label for=\"userName\">ユーザ名</label>\n+```\n+\n+フォームについてより詳しく知りたい人は、<a href=\"https://developer.mozilla.org/ja/docs/Web/Guide/HTML/Forms/My_first_HTML_form\" target=\"_blank\">参考文献2</a>を読んでみて下さい。\n+\n+それでは、<a href=\"http://localhost/ditter/signup.php\" target=\"_blank\">http://localhost/ditter/signup.php</a>にアクセスしてみて下さい。最初に提示した作成する画面と同じものが見れれば成功です！今は、新規登録ボタンを押しても何も変わりません。\n+\n+## 2. データを受け取る部分（PHP）\n+  \n+それでは次に、フォームから値が送信されてきた時の動作を書いていきましょう。ここからはPHPになります。引き続き、`signup.php`を編集していきます。`signup.php`には、既に先ほどのHTML部分が書かれているかとは思いますが、そのまま上部に追記して下さい。\n+\n+#### signup.php\n+\n+```php\n+<?php\n+\n+if ($_SERVER['REQUEST_METHOD'] === 'POST') {\n+\tif ((isset($_POST['user_name']) || $_POST['user_name'] !== '') && (isset($_POST['screen_name']) || $_POST['screen_name'] !== '') && (isset($_POST['email']) || $_POST['email'] !== '') && (isset($POST['password']) || $_POST['password'] !== '')) {\n+  \n+\t\t// 送信された値を変数に代入\n+\t\t$user_name = $_POST['user_name'];\n+\t\t$screen_name = $_POST['screen_name'];\n+\t\t$email = $_POST['email'];\n+\t\t$password = $_POST['password'];\n+\t\t$comment = $_POST['comment'];\n+\t\t\n+\t} else {\n+ \t\tprint \"値が入力されていません\";\n+\t}\n+}\n+```\n+\n+まず、以下の行でPOSTのリクエストが来たかどうかのチェックをします。POSTではない場合は今回は何もしません。\n+\n+> 引用\n+>\n+>```php\n+if ($_SERVER['REQUEST_METHOD'] === 'POST') { ... }\n+```\n+\n+フォームには、 **ユーザ名**、 **ユーザID**、 **メールアドレス**、 **パスワード**、 **一言**、の5つの項目があったので、`$user_name`、`$screen_name`、`$email`、`$password`、`$comment`という変数を用意します。ユーザIDは`$screen_name`としていますので注意して下さい。以下の行で、値されているか、または入力されているかのチェックをしています。\n+\n+> 引用\n+>\n+>```php\n+if ((isset($_POST['user_name']) || $_POST['user_name'] !== '') && ...) { ... }\n+```\n+\n+`$_POST['comment']`だけはNULLを許すので、それ以外について全てチェックします。\n+\n+そして、値の入力がされていたらPOSTで送られてきた値を変数に代入します。その値は`$_POST['']`とすることで取得でき、`''`の中には、name属性が入ります。例えばユーザ名だったら\n+\n+> 引用\n+>\n+> ```php\n+<input type=\"text\" class=\"form-control\" id=\"userName\" name=\"user_name\" placeholder=\"3文字以上15文字以下\" />\n+```\n+\n+上記のようなフォームがあり、この`name=\"user_name\"`の部分が`$_POST['user_name']`のように使われます。以下の部分で値を代入しています。\n+\n+> 引用\n+>\n+> ```php\n+// 送信された値を変数に代入\n+$user_name = $_POST['user_name'];\n+$screen_name = $_POST['screen_name'];\n+$email = $_POST['email'];\n+$password = $_POST['password'];\n+$comment = $_POST['comment'];\n+```\n+\n+値が入力されていない場合は、\"値が入力されていません\"と表示させます。一度<a href=\"http://localhost/ditter/signup.php\" target=\"_blank\">http://localhost/ditter/signup.php</a>にアクセスしてみて確認してみると良いでしょう。\n+\n+\n+## 3. データベースの処理の部分（PHP）\n+\n+最後に、データベースに値を保存します。ここで、データベースの作成から保存までを以下の順に沿ってやっていきます。\n+\n+1. データベースの作成（phpMyAdmin）\n+1. usersテーブルの作成（phpMyAdmin）\n+1. PHPでデータベースに接続する準備（PHP）\n+1. 値の挿入（PHP）\n+\n+### 1. データベースの作成（phpMyAdmin）\n+\n+今回は、`ditter`という名前のデータベースを作成します。<a href=\"http://localhost/phpmyadmin\" target=\"_blank\">http://localhost/phpmyadmin</a>にアクセスして下さい。\n+\n+上のタブのデータベースをクリックし、**データベースを作成する**というところから`ditter`という名前で作成して下さい。テーブルを作成する画面に切り替わればOKです。\n+\n+### 2. usersテーブルの作成（phpMyAdmin）\n+\n+新規登録やログインをするには、ユーザの情報を保存する必要があります。そのために、`users`というテーブルを用意し、情報を保存していきましょう。\n+\n+上部にあるタブから **SQL**をクリックし、以下のSQL文を貼り付け、実行ボタンを押して下さい。\n+\n+```sql\n+CREATE TABLE `users` (\n+`id` INT UNSIGNED NOT NULL AUTO_INCREMENT,\n+`screen_name` VARCHAR(15) NOT NULL UNIQUE,\n+`user_name` NVARCHAR(15) NOT NULL,\n+`email` VARCHAR(255) NOT NULL UNIQUE,\n+`password` VARCHAR(255) NOT NULL,\n+`comment` NVARCHAR(255),\n+`created_at` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,","path":"signup/signup.md","position":218,"original_position":218,"commit_id":"7e3caaeb58512f445954ad4ba9c9957345e321a1","original_commit_id":"7e3caaeb58512f445954ad4ba9c9957345e321a1","user":{"login":"mikoim","id":3958340,"avatar_url":"https://avatars.githubusercontent.com/u/3958340?v=3","gravatar_id":"","url":"https://api.github.com/users/mikoim","html_url":"https://github.com/mikoim","followers_url":"https://api.github.com/users/mikoim/followers","following_url":"https://api.github.com/users/mikoim/following{/other_user}","gists_url":"https://api.github.com/users/mikoim/gists{/gist_id}","starred_url":"https://api.github.com/users/mikoim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikoim/subscriptions","organizations_url":"https://api.github.com/users/mikoim/orgs","repos_url":"https://api.github.com/users/mikoim/repos","events_url":"https://api.github.com/users/mikoim/events{/privacy}","received_events_url":"https://api.github.com/users/mikoim/received_events","type":"User","site_admin":false},"body":"該当バージョンのXAMPPに含まれるMySQLのバージョンが古くて対応していおらず．\r\nDEFAULT CURRENT_TIMESTAMP\r\n\r\nTIMESTAMP型に変更すればいけます．","created_at":"2015-10-08T09:38:37Z","updated_at":"2015-10-08T09:38:37Z","html_url":"https://github.com/dit-rohm/textbook/pull/78#discussion_r41494235","pull_request_url":"https://api.github.com/repos/dit-rohm/textbook/pulls/78","_links":{"self":{"href":"https://api.github.com/repos/dit-rohm/textbook/pulls/comments/41494235"},"html":{"href":"https://github.com/dit-rohm/textbook/pull/78#discussion_r41494235"},"pull_request":{"href":"https://api.github.com/repos/dit-rohm/textbook/pulls/78"}}},"pull_request":{"url":"https://api.github.com/repos/dit-rohm/textbook/pulls/78","id":46992783,"html_url":"https://github.com/dit-rohm/textbook/pull/78","diff_url":"https://github.com/dit-rohm/textbook/pull/78.diff","patch_url":"https://github.com/dit-rohm/textbook/pull/78.patch","issue_url":"https://api.github.com/repos/dit-rohm/textbook/issues/78","number":78,"state":"open","locked":false,"title":"新規登録機能のテキスト","user":{"login":"chikam","id":8417896,"avatar_url":"https://avatars.githubusercontent.com/u/8417896?v=3","gravatar_id":"","url":"https://api.github.com/users/chikam","html_url":"https://github.com/chikam","followers_url":"https://api.github.com/users/chikam/followers","following_url":"https://api.github.com/users/chikam/following{/other_user}","gists_url":"https://api.github.com/users/chikam/gists{/gist_id}","starred_url":"https://api.github.com/users/chikam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chikam/subscriptions","organizations_url":"https://api.github.com/users/chikam/orgs","repos_url":"https://api.github.com/users/chikam/repos","events_url":"https://api.github.com/users/chikam/events{/privacy}","received_events_url":"https://api.github.com/users/chikam/received_events","type":"User","site_admin":false},"body":"あとですること\r\n\r\n* [ ] ディレクトリちゃんと\r\n* [x] コードにファイル名を追加する\r\n* [x] 画像を追加\r\n* [x] リンクを正しいものに\r\n* [x] リンクを新しいタブを開いて表示させる","created_at":"2015-10-07T07:00:48Z","updated_at":"2015-10-08T09:38:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"640a09b46a3b4bec650fdc52065392ddffc7f235","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dit-rohm/textbook/pulls/78/commits","review_comments_url":"https://api.github.com/repos/dit-rohm/textbook/pulls/78/comments","review_comment_url":"https://api.github.com/repos/dit-rohm/textbook/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dit-rohm/textbook/issues/78/comments","statuses_url":"https://api.github.com/repos/dit-rohm/textbook/statuses/7e3caaeb58512f445954ad4ba9c9957345e321a1","head":{"label":"chikam:signup","ref":"signup","sha":"7e3caaeb58512f445954ad4ba9c9957345e321a1","user":{"login":"chikam","id":8417896,"avatar_url":"https://avatars.githubusercontent.com/u/8417896?v=3","gravatar_id":"","url":"https://api.github.com/users/chikam","html_url":"https://github.com/chikam","followers_url":"https://api.github.com/users/chikam/followers","following_url":"https://api.github.com/users/chikam/following{/other_user}","gists_url":"https://api.github.com/users/chikam/gists{/gist_id}","starred_url":"https://api.github.com/users/chikam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chikam/subscriptions","organizations_url":"https://api.github.com/users/chikam/orgs","repos_url":"https://api.github.com/users/chikam/repos","events_url":"https://api.github.com/users/chikam/events{/privacy}","received_events_url":"https://api.github.com/users/chikam/received_events","type":"User","site_admin":false},"repo":{"id":36969722,"name":"textbook","full_name":"chikam/textbook","owner":{"login":"chikam","id":8417896,"avatar_url":"https://avatars.githubusercontent.com/u/8417896?v=3","gravatar_id":"","url":"https://api.github.com/users/chikam","html_url":"https://github.com/chikam","followers_url":"https://api.github.com/users/chikam/followers","following_url":"https://api.github.com/users/chikam/following{/other_user}","gists_url":"https://api.github.com/users/chikam/gists{/gist_id}","starred_url":"https://api.github.com/users/chikam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chikam/subscriptions","organizations_url":"https://api.github.com/users/chikam/orgs","repos_url":"https://api.github.com/users/chikam/repos","events_url":"https://api.github.com/users/chikam/events{/privacy}","received_events_url":"https://api.github.com/users/chikam/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chikam/textbook","description":"Web development tutorials for beginners","fork":true,"url":"https://api.github.com/repos/chikam/textbook","forks_url":"https://api.github.com/repos/chikam/textbook/forks","keys_url":"https://api.github.com/repos/chikam/textbook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chikam/textbook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chikam/textbook/teams","hooks_url":"https://api.github.com/repos/chikam/textbook/hooks","issue_events_url":"https://api.github.com/repos/chikam/textbook/issues/events{/number}","events_url":"https://api.github.com/repos/chikam/textbook/events","assignees_url":"https://api.github.com/repos/chikam/textbook/assignees{/user}","branches_url":"https://api.github.com/repos/chikam/textbook/branches{/branch}","tags_url":"https://api.github.com/repos/chikam/textbook/tags","blobs_url":"https://api.github.com/repos/chikam/textbook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chikam/textbook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chikam/textbook/git/refs{/sha}","trees_url":"https://api.github.com/repos/chikam/textbook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chikam/textbook/statuses/{sha}","languages_url":"https://api.github.com/repos/chikam/textbook/languages","stargazers_url":"https://api.github.com/repos/chikam/textbook/stargazers","contributors_url":"https://api.github.com/repos/chikam/textbook/contributors","subscribers_url":"https://api.github.com/repos/chikam/textbook/subscribers","subscription_url":"https://api.github.com/repos/chikam/textbook/subscription","commits_url":"https://api.github.com/repos/chikam/textbook/commits{/sha}","git_commits_url":"https://api.github.com/repos/chikam/textbook/git/commits{/sha}","comments_url":"https://api.github.com/repos/chikam/textbook/comments{/number}","issue_comment_url":"https://api.github.com/repos/chikam/textbook/issues/comments{/number}","contents_url":"https://api.github.com/repos/chikam/textbook/contents/{+path}","compare_url":"https://api.github.com/repos/chikam/textbook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chikam/textbook/merges","archive_url":"https://api.github.com/repos/chikam/textbook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chikam/textbook/downloads","issues_url":"https://api.github.com/repos/chikam/textbook/issues{/number}","pulls_url":"https://api.github.com/repos/chikam/textbook/pulls{/number}","milestones_url":"https://api.github.com/repos/chikam/textbook/milestones{/number}","notifications_url":"https://api.github.com/repos/chikam/textbook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chikam/textbook/labels{/name}","releases_url":"https://api.github.com/repos/chikam/textbook/releases{/id}","created_at":"2015-06-06T06:15:11Z","updated_at":"2015-06-06T06:15:12Z","pushed_at":"2015-10-07T16:18:05Z","git_url":"git://github.com/chikam/textbook.git","ssh_url":"git@github.com:chikam/textbook.git","clone_url":"https://github.com/chikam/textbook.git","svn_url":"https://github.com/chikam/textbook","homepage":"","size":24324,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dit-rohm:master","ref":"master","sha":"ba59d1412b78772c4f58fdba666000451f435151","user":{"login":"dit-rohm","id":11853796,"avatar_url":"https://avatars.githubusercontent.com/u/11853796?v=3","gravatar_id":"","url":"https://api.github.com/users/dit-rohm","html_url":"https://github.com/dit-rohm","followers_url":"https://api.github.com/users/dit-rohm/followers","following_url":"https://api.github.com/users/dit-rohm/following{/other_user}","gists_url":"https://api.github.com/users/dit-rohm/gists{/gist_id}","starred_url":"https://api.github.com/users/dit-rohm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dit-rohm/subscriptions","organizations_url":"https://api.github.com/users/dit-rohm/orgs","repos_url":"https://api.github.com/users/dit-rohm/repos","events_url":"https://api.github.com/users/dit-rohm/events{/privacy}","received_events_url":"https://api.github.com/users/dit-rohm/received_events","type":"Organization","site_admin":false},"repo":{"id":34437006,"name":"textbook","full_name":"dit-rohm/textbook","owner":{"login":"dit-rohm","id":11853796,"avatar_url":"https://avatars.githubusercontent.com/u/11853796?v=3","gravatar_id":"","url":"https://api.github.com/users/dit-rohm","html_url":"https://github.com/dit-rohm","followers_url":"https://api.github.com/users/dit-rohm/followers","following_url":"https://api.github.com/users/dit-rohm/following{/other_user}","gists_url":"https://api.github.com/users/dit-rohm/gists{/gist_id}","starred_url":"https://api.github.com/users/dit-rohm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dit-rohm/subscriptions","organizations_url":"https://api.github.com/users/dit-rohm/orgs","repos_url":"https://api.github.com/users/dit-rohm/repos","events_url":"https://api.github.com/users/dit-rohm/events{/privacy}","received_events_url":"https://api.github.com/users/dit-rohm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dit-rohm/textbook","description":"Web development tutorials for beginners","fork":false,"url":"https://api.github.com/repos/dit-rohm/textbook","forks_url":"https://api.github.com/repos/dit-rohm/textbook/forks","keys_url":"https://api.github.com/repos/dit-rohm/textbook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dit-rohm/textbook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dit-rohm/textbook/teams","hooks_url":"https://api.github.com/repos/dit-rohm/textbook/hooks","issue_events_url":"https://api.github.com/repos/dit-rohm/textbook/issues/events{/number}","events_url":"https://api.github.com/repos/dit-rohm/textbook/events","assignees_url":"https://api.github.com/repos/dit-rohm/textbook/assignees{/user}","branches_url":"https://api.github.com/repos/dit-rohm/textbook/branches{/branch}","tags_url":"https://api.github.com/repos/dit-rohm/textbook/tags","blobs_url":"https://api.github.com/repos/dit-rohm/textbook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dit-rohm/textbook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dit-rohm/textbook/git/refs{/sha}","trees_url":"https://api.github.com/repos/dit-rohm/textbook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dit-rohm/textbook/statuses/{sha}","languages_url":"https://api.github.com/repos/dit-rohm/textbook/languages","stargazers_url":"https://api.github.com/repos/dit-rohm/textbook/stargazers","contributors_url":"https://api.github.com/repos/dit-rohm/textbook/contributors","subscribers_url":"https://api.github.com/repos/dit-rohm/textbook/subscribers","subscription_url":"https://api.github.com/repos/dit-rohm/textbook/subscription","commits_url":"https://api.github.com/repos/dit-rohm/textbook/commits{/sha}","git_commits_url":"https://api.github.com/repos/dit-rohm/textbook/git/commits{/sha}","comments_url":"https://api.github.com/repos/dit-rohm/textbook/comments{/number}","issue_comment_url":"https://api.github.com/repos/dit-rohm/textbook/issues/comments{/number}","contents_url":"https://api.github.com/repos/dit-rohm/textbook/contents/{+path}","compare_url":"https://api.github.com/repos/dit-rohm/textbook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dit-rohm/textbook/merges","archive_url":"https://api.github.com/repos/dit-rohm/textbook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dit-rohm/textbook/downloads","issues_url":"https://api.github.com/repos/dit-rohm/textbook/issues{/number}","pulls_url":"https://api.github.com/repos/dit-rohm/textbook/pulls{/number}","milestones_url":"https://api.github.com/repos/dit-rohm/textbook/milestones{/number}","notifications_url":"https://api.github.com/repos/dit-rohm/textbook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dit-rohm/textbook/labels{/name}","releases_url":"https://api.github.com/repos/dit-rohm/textbook/releases{/id}","created_at":"2015-04-23T06:03:32Z","updated_at":"2015-10-06T01:30:55Z","pushed_at":"2015-10-08T09:06:25Z","git_url":"git://github.com/dit-rohm/textbook.git","ssh_url":"git@github.com:dit-rohm/textbook.git","clone_url":"https://github.com/dit-rohm/textbook.git","svn_url":"https://github.com/dit-rohm/textbook","homepage":"","size":29447,"stargazers_count":7,"watchers_count":7,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":8,"forks":9,"open_issues":8,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dit-rohm/textbook/pulls/78"},"html":{"href":"https://github.com/dit-rohm/textbook/pull/78"},"issue":{"href":"https://api.github.com/repos/dit-rohm/textbook/issues/78"},"comments":{"href":"https://api.github.com/repos/dit-rohm/textbook/issues/78/comments"},"review_comments":{"href":"https://api.github.com/repos/dit-rohm/textbook/pulls/78/comments"},"review_comment":{"href":"https://api.github.com/repos/dit-rohm/textbook/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dit-rohm/textbook/pulls/78/commits"},"statuses":{"href":"https://api.github.com/repos/dit-rohm/textbook/statuses/7e3caaeb58512f445954ad4ba9c9957345e321a1"}}}}