{"action":"created","comment":{"url":"https://api.github.com/repos/Open-Diary/BP-REST/pulls/comments/95801632","pull_request_review_id":16367629,"id":95801632,"diff_hunk":"@@ -0,0 +1,402 @@\n+<?php\n+defined( 'ABSPATH' ) || exit;\n+\n+/**\n+ * Activity endpoints.\n+ *\n+ * @since 0.1.0\n+ */\n+class BP_REST_Members_Controller extends WP_REST_Controller {\n+\n+\t/**\n+\t * Constructor.\n+\t *\n+\t * @since 0.1.0\n+\t */\n+\tpublic function __construct() {\n+\t\t$this->namespace = 'buddypress/v1';\n+\t\t$this->rest_base = buddypress()->members->id;\n+\t}\n+\n+\t/**\n+\t * Register the plugin routes.\n+\t *\n+\t * @since 0.1.0\n+\t */\n+\tpublic function register_routes() {\n+\t\tregister_rest_route( $this->namespace, '/' . $this->rest_base, array(\n+\t\t\tarray(\n+\t\t\t\t'methods'             => WP_REST_Server::READABLE,\n+\t\t\t\t'callback'            => array( $this, 'get_items' ),\n+\t\t\t\t'permission_callback' => array( $this, 'get_items_permissions_check' ),\n+\t\t\t\t'args'                => $this->get_collection_params(),\n+\t\t\t),\n+\t\t\t'schema' => array( $this, 'get_public_item_schema' ),\n+\t\t) );\n+\n+\t\tregister_rest_route( $this->namespace, '/' . $this->rest_base . '/(?P<id>[\\d]+)', array(\n+\t\t\tarray(\n+\t\t\t\t'methods'             => WP_REST_Server::READABLE,\n+\t\t\t\t'callback'            => array( $this, 'get_item' ),\n+\t\t\t\t'permission_callback' => array( $this, 'get_item_permissions_check' ),\n+\t\t\t\t'args'                => array(\n+\t\t\t\t\t'context' => $this->get_context_param( array( 'default' => 'view' ) ),\n+\t\t\t\t),\n+\t\t\t),\n+\t\t\t'schema' => array( $this, 'get_public_item_schema' ),\n+\t\t) );\n+\t}\n+\n+\t/**\n+\t * Get the plugin schema, conforming to JSON Schema.\n+\t *\n+\t * @since 0.1.0\n+\t *\n+\t * @return array\n+\t */\n+\tpublic function get_item_schema() {\n+\t\t$schema = array(\n+\t\t\t'$schema'    => 'http://json-schema.org/draft-04/schema#',\n+\t\t\t'title'      => 'activity',\n+\t\t\t'type'       => 'object',\n+\n+\t\t\t'properties' => array(\n+\t\t\t\t'user_id' => array(\n+\t\t\t\t\t'context'     => array( 'view', 'edit' ),\n+\t\t\t\t\t'description' => __( 'A unique integer ID for the user.', 'buddypress' ),\n+\t\t\t\t\t'readonly'    => true,\n+\t\t\t\t\t'type'        => 'integer',\n+\t\t\t\t),\n+\n+\t\t\t\t'user_name' => array(\n+\t\t\t\t\t'context'     => array( 'view', 'edit' ),\n+\t\t\t\t\t'description' => __( 'The name of the user', 'buddypress' ),\n+\t\t\t\t\t'type'        => 'string',\n+\t\t\t\t),\n+\n+\t\t\t\t'user_name' => array(\n+\t\t\t\t\t'context'     => array( 'view', 'edit' ),\n+\t\t\t\t\t'description' => __( 'The sanitized name of the user', 'buddypress' ),\n+\t\t\t\t\t'type'        => 'string',\n+\t\t\t\t),\n+\n+\t\t\t\t'user_avatar' => array(\n+\t\t\t\t\t'context'     => array( 'view', 'edit' ),\n+\t\t\t\t\t'description' => __( 'Avatar of the user', 'buddypress' ),\n+\t\t\t\t\t'type'        => 'string',\n+\t\t\t\t),\n+\n+\t\t\t\t'user_permalink' => array(\n+\t\t\t\t\t'context'     => array( 'view', 'edit' ),\n+\t\t\t\t\t'description' => __( 'User profile page link', 'buddypress' ),\n+\t\t\t\t\t'type'        => 'string',\n+\t\t\t\t),\n+\n+\n+\t\t\t\t'diary_title' => array(\n+\t\t\t\t\t'context'     => array( 'view', 'edit' ),\n+\t\t\t\t\t'description' => __( \"Name of the user's diary\", 'buddypress' ),\n+\t\t\t\t\t'type'        => 'string',\n+\t\t\t\t),\n+\n+\t\t\t\t'total_friend_count' => array(\n+\t\t\t\t\t'context'     => array( 'view', 'edit' ),\n+\t\t\t\t\t'description' => __( 'Number of friends the user has', 'buddypress' ),\n+\t\t\t\t\t'type'        => 'int',\n+\t\t\t\t)\n+\t\t\t)\n+\t\t);\n+\n+\t\treturn $schema;\n+\t}\n+\n+\t/**\n+\t * Get the query params for collections of plugins.\n+\t *\n+\t * @since 0.1.0\n+\t *\n+\t * @return array\n+\t */\n+\tpublic function get_collection_params() {\n+\t\t$params                       = parent::get_collection_params();\n+\t\t$params['context']['default'] = 'view';\n+\n+\t\t$params['include'] = array(\n+\t\t\t'description'       => __( 'Ensure result set includes specific user IDs.', 'buddypress' ),\n+\t\t\t'type'              => 'array',\n+\t\t\t'default'           => array(),\n+\t\t\t'sanitize_callback' => 'wp_parse_id_list',\n+\t\t);\n+\n+\t\t$params['exclude'] = array(\n+\t\t\t'description'       => __( 'Ensure result set excludes specific IDs.', 'buddypress' ),\n+\t\t\t'type'              => 'array',\n+\t\t\t'default'           => array(),\n+\t\t\t'sanitize_callback' => 'wp_parse_id_list',\n+\t\t);\n+\n+\t\t$params['per_page'] = array(\n+\t\t\t'description'       => __( 'Maximum number of results returned per result set.', 'buddypress' ),\n+\t\t\t'default'           => 20,\n+\t\t\t'type'              => 'integer',\n+\t\t\t'sanitize_callback' => 'absint',\n+\t\t\t'validate_callback' => 'rest_validate_request_arg',\n+\t\t);\n+\n+\t\t$params['page'] = array(\n+\t\t\t'description'       => __( 'Offset the result set by a specific number of pages of results.', 'buddypress' ),\n+\t\t\t'default'           => 1,\n+\t\t\t'type'              => 'integer',\n+\t\t\t'sanitize_callback' => 'absint',\n+\t\t\t'validate_callback' => 'rest_validate_request_arg',\n+\t\t);\n+\n+\t\t$params['type'] = array(\n+\t\t\t'description'       => __( 'Limit result set to items with a specific activity type.', 'buddypress' ),\n+\t\t\t'type'              => 'string',\n+\t\t\t'enum'              => ['active', 'newest', 'popular', 'online', 'alphabetical', 'random'],\n+\t\t\t'default'           => 'alphabetical',\n+\t\t\t'validate_callback' => 'rest_validate_request_arg',\n+\t\t);\n+\n+\t\t$params['search'] = array(\n+\t\t\t'description'       => __( 'Limit result set to items that match this search query.', 'buddypress' ),\n+\t\t\t'default'           => null,\n+\t\t\t'type'              => 'string',\n+\t\t\t'sanitize_callback' => 'sanitize_text_field',\n+\t\t\t'validate_callback' => 'rest_validate_request_arg',\n+\t\t);\n+\n+\t\t$params['meta_key'] = array(\n+\t\t\t'description'       => __( 'Limit result set to items that match this metadata.', 'buddypress' ),\n+\t\t\t'default'           => null,\n+\t\t\t'type'              => 'string',\n+\t\t\t'sanitize_callback' => 'sanitize_text_field',\n+\t\t\t'validate_callback' => 'rest_validate_request_arg',\n+\t\t);\n+\n+\t\t$params['meta_value'] = array(\n+\t\t\t'description'       => __( 'Limit result set to items that match this search query.', 'buddypress' ),\n+\t\t\t'default'           => null,\n+\t\t\t'type'              => 'string',\n+\t\t\t'sanitize_callback' => 'sanitize_text_field',\n+\t\t\t'validate_callback' => 'rest_validate_request_arg',\n+\t\t);\n+\n+\t\t$params['user_id'] = array(\n+\t\t\t'description'       => __( 'Ensure result set includes specific user IDs.', 'buddypress' ),\n+\t\t\t'type'              => 'array',\n+\t\t\t'default'           => array(),\n+\t\t\t'sanitize_callback' => 'wp_parse_id_list',\n+\t\t);\n+\n+\t\t$params['populate_extras'] = array(\n+\t\t\t'description'       => __( 'Fetch extra meta for each user such as their full name, if they are a friend of the logged in user, their last activity time.', 'buddypress' ),\n+\t\t\t'default'           => true,\n+\t\t\t'type'              => 'boolean',\n+\t\t\t'sanitize_callback' => 'sanitize_text_field',\n+\t\t\t'validate_callback' => 'rest_validate_request_arg',\n+\t\t);\n+\n+\t\treturn $params;\n+\t}\n+\n+\tpublic function prepare_item_for_response( $activity, $request, $is_raw = false ) {\n+\t\t$data = array(\n+\t\t\t'author'                => $activity->user_id,\n+\t\t\t'component'             => $activity->component,\n+\t\t\t'content'               => $activity->content,\n+\t\t\t'date'                  => $this->prepare_date_response( $activity->date_recorded ),\n+\t\t\t'id'                    => $activity->id,\n+\t\t\t'link'                  => $activity->primary_link,\n+\t\t\t'parent'                => $activity->type === 'activity_comment' ? $activity->item_id : 0,\n+\t\t\t'prime_association'     => $activity->item_id,\n+\t\t\t'secondary_association' => $activity->secondary_item_id,\n+\t\t\t'status'                => $activity->is_spam ? 'spam' : 'published',\n+\t\t\t'title'                 => $activity->action,\n+\t\t\t'type'                  => $activity->type,\n+\t\t);\n+\n+\t\t$context = ! empty( $request['context'] ) ? $request['context'] : 'view';\n+\t\t$data    = $this->add_additional_fields_to_object( $data, $request );\n+\t\t$data    = $this->filter_response_by_context( $data, $context );","path":"includes/bp-members/classes/class-bp-members-endpoints.php","position":222,"original_position":222,"commit_id":"1a54616b90b1ce0b744b14eaefecd8fa6356c8c2","original_commit_id":"1a54616b90b1ce0b744b14eaefecd8fa6356c8c2","user":{"login":"peteclark3","id":3371640,"avatar_url":"https://avatars.githubusercontent.com/u/3371640?v=3","gravatar_id":"","url":"https://api.github.com/users/peteclark3","html_url":"https://github.com/peteclark3","followers_url":"https://api.github.com/users/peteclark3/followers","following_url":"https://api.github.com/users/peteclark3/following{/other_user}","gists_url":"https://api.github.com/users/peteclark3/gists{/gist_id}","starred_url":"https://api.github.com/users/peteclark3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peteclark3/subscriptions","organizations_url":"https://api.github.com/users/peteclark3/orgs","repos_url":"https://api.github.com/users/peteclark3/repos","events_url":"https://api.github.com/users/peteclark3/events{/privacy}","received_events_url":"https://api.github.com/users/peteclark3/received_events","type":"User","site_admin":false},"body":"Deleted func (wasn't ultimately used)","created_at":"2017-01-12T14:27:51Z","updated_at":"2017-01-12T14:27:51Z","html_url":"https://github.com/Open-Diary/BP-REST/pull/1#discussion_r95801632","pull_request_url":"https://api.github.com/repos/Open-Diary/BP-REST/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/Open-Diary/BP-REST/pulls/comments/95801632"},"html":{"href":"https://github.com/Open-Diary/BP-REST/pull/1#discussion_r95801632"},"pull_request":{"href":"https://api.github.com/repos/Open-Diary/BP-REST/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/Open-Diary/BP-REST/pulls/1","id":101142270,"html_url":"https://github.com/Open-Diary/BP-REST/pull/1","diff_url":"https://github.com/Open-Diary/BP-REST/pull/1.diff","patch_url":"https://github.com/Open-Diary/BP-REST/pull/1.patch","issue_url":"https://api.github.com/repos/Open-Diary/BP-REST/issues/1","number":1,"state":"closed","locked":false,"title":"#160 retrieve member profile api","user":{"login":"peteclark3","id":3371640,"avatar_url":"https://avatars.githubusercontent.com/u/3371640?v=3","gravatar_id":"","url":"https://api.github.com/users/peteclark3","html_url":"https://github.com/peteclark3","followers_url":"https://api.github.com/users/peteclark3/followers","following_url":"https://api.github.com/users/peteclark3/following{/other_user}","gists_url":"https://api.github.com/users/peteclark3/gists{/gist_id}","starred_url":"https://api.github.com/users/peteclark3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peteclark3/subscriptions","organizations_url":"https://api.github.com/users/peteclark3/orgs","repos_url":"https://api.github.com/users/peteclark3/repos","events_url":"https://api.github.com/users/peteclark3/events{/privacy}","received_events_url":"https://api.github.com/users/peteclark3/received_events","type":"User","site_admin":false},"body":"Updated schema for API: http://local.opendiary.com/wp-json/buddypress/v1\r\nNew calls:\r\nSingle Member: http://local.opendiary.com/wp-json/buddypress/v1/members/{userid}\r\nMember list: http://local.opendiary.com/wp-json/buddypress/v1/members?{many query options, see schema above}","created_at":"2017-01-11T20:39:44Z","updated_at":"2017-01-12T14:27:51Z","closed_at":"2017-01-11T20:54:58Z","merged_at":"2017-01-11T20:54:57Z","merge_commit_sha":"a6c2feccc764aaf7390ed2747e635b4374d19485","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Open-Diary/BP-REST/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Open-Diary/BP-REST/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Open-Diary/BP-REST/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Open-Diary/BP-REST/issues/1/comments","statuses_url":"https://api.github.com/repos/Open-Diary/BP-REST/statuses/1a54616b90b1ce0b744b14eaefecd8fa6356c8c2","head":{"label":"Open-Diary:bp_member_profile_api","ref":"bp_member_profile_api","sha":"1a54616b90b1ce0b744b14eaefecd8fa6356c8c2","user":{"login":"Open-Diary","id":23664927,"avatar_url":"https://avatars.githubusercontent.com/u/23664927?v=3","gravatar_id":"","url":"https://api.github.com/users/Open-Diary","html_url":"https://github.com/Open-Diary","followers_url":"https://api.github.com/users/Open-Diary/followers","following_url":"https://api.github.com/users/Open-Diary/following{/other_user}","gists_url":"https://api.github.com/users/Open-Diary/gists{/gist_id}","starred_url":"https://api.github.com/users/Open-Diary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Open-Diary/subscriptions","organizations_url":"https://api.github.com/users/Open-Diary/orgs","repos_url":"https://api.github.com/users/Open-Diary/repos","events_url":"https://api.github.com/users/Open-Diary/events{/privacy}","received_events_url":"https://api.github.com/users/Open-Diary/received_events","type":"Organization","site_admin":false},"repo":{"id":78652552,"name":"BP-REST","full_name":"Open-Diary/BP-REST","owner":{"login":"Open-Diary","id":23664927,"avatar_url":"https://avatars.githubusercontent.com/u/23664927?v=3","gravatar_id":"","url":"https://api.github.com/users/Open-Diary","html_url":"https://github.com/Open-Diary","followers_url":"https://api.github.com/users/Open-Diary/followers","following_url":"https://api.github.com/users/Open-Diary/following{/other_user}","gists_url":"https://api.github.com/users/Open-Diary/gists{/gist_id}","starred_url":"https://api.github.com/users/Open-Diary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Open-Diary/subscriptions","organizations_url":"https://api.github.com/users/Open-Diary/orgs","repos_url":"https://api.github.com/users/Open-Diary/repos","events_url":"https://api.github.com/users/Open-Diary/events{/privacy}","received_events_url":"https://api.github.com/users/Open-Diary/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Open-Diary/BP-REST","description":"A RESTful API, for BuddyPress","fork":true,"url":"https://api.github.com/repos/Open-Diary/BP-REST","forks_url":"https://api.github.com/repos/Open-Diary/BP-REST/forks","keys_url":"https://api.github.com/repos/Open-Diary/BP-REST/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Open-Diary/BP-REST/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Open-Diary/BP-REST/teams","hooks_url":"https://api.github.com/repos/Open-Diary/BP-REST/hooks","issue_events_url":"https://api.github.com/repos/Open-Diary/BP-REST/issues/events{/number}","events_url":"https://api.github.com/repos/Open-Diary/BP-REST/events","assignees_url":"https://api.github.com/repos/Open-Diary/BP-REST/assignees{/user}","branches_url":"https://api.github.com/repos/Open-Diary/BP-REST/branches{/branch}","tags_url":"https://api.github.com/repos/Open-Diary/BP-REST/tags","blobs_url":"https://api.github.com/repos/Open-Diary/BP-REST/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Open-Diary/BP-REST/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Open-Diary/BP-REST/git/refs{/sha}","trees_url":"https://api.github.com/repos/Open-Diary/BP-REST/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Open-Diary/BP-REST/statuses/{sha}","languages_url":"https://api.github.com/repos/Open-Diary/BP-REST/languages","stargazers_url":"https://api.github.com/repos/Open-Diary/BP-REST/stargazers","contributors_url":"https://api.github.com/repos/Open-Diary/BP-REST/contributors","subscribers_url":"https://api.github.com/repos/Open-Diary/BP-REST/subscribers","subscription_url":"https://api.github.com/repos/Open-Diary/BP-REST/subscription","commits_url":"https://api.github.com/repos/Open-Diary/BP-REST/commits{/sha}","git_commits_url":"https://api.github.com/repos/Open-Diary/BP-REST/git/commits{/sha}","comments_url":"https://api.github.com/repos/Open-Diary/BP-REST/comments{/number}","issue_comment_url":"https://api.github.com/repos/Open-Diary/BP-REST/issues/comments{/number}","contents_url":"https://api.github.com/repos/Open-Diary/BP-REST/contents/{+path}","compare_url":"https://api.github.com/repos/Open-Diary/BP-REST/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Open-Diary/BP-REST/merges","archive_url":"https://api.github.com/repos/Open-Diary/BP-REST/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Open-Diary/BP-REST/downloads","issues_url":"https://api.github.com/repos/Open-Diary/BP-REST/issues{/number}","pulls_url":"https://api.github.com/repos/Open-Diary/BP-REST/pulls{/number}","milestones_url":"https://api.github.com/repos/Open-Diary/BP-REST/milestones{/number}","notifications_url":"https://api.github.com/repos/Open-Diary/BP-REST/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Open-Diary/BP-REST/labels{/name}","releases_url":"https://api.github.com/repos/Open-Diary/BP-REST/releases{/id}","deployments_url":"https://api.github.com/repos/Open-Diary/BP-REST/deployments","created_at":"2017-01-11T15:33:56Z","updated_at":"2017-01-11T15:33:58Z","pushed_at":"2017-01-12T14:18:38Z","git_url":"git://github.com/Open-Diary/BP-REST.git","ssh_url":"git@github.com:Open-Diary/BP-REST.git","clone_url":"https://github.com/Open-Diary/BP-REST.git","svn_url":"https://github.com/Open-Diary/BP-REST","homepage":null,"size":44,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Open-Diary:master","ref":"master","sha":"0ee3de4df79005dc48d55b01df36c331f8180c20","user":{"login":"Open-Diary","id":23664927,"avatar_url":"https://avatars.githubusercontent.com/u/23664927?v=3","gravatar_id":"","url":"https://api.github.com/users/Open-Diary","html_url":"https://github.com/Open-Diary","followers_url":"https://api.github.com/users/Open-Diary/followers","following_url":"https://api.github.com/users/Open-Diary/following{/other_user}","gists_url":"https://api.github.com/users/Open-Diary/gists{/gist_id}","starred_url":"https://api.github.com/users/Open-Diary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Open-Diary/subscriptions","organizations_url":"https://api.github.com/users/Open-Diary/orgs","repos_url":"https://api.github.com/users/Open-Diary/repos","events_url":"https://api.github.com/users/Open-Diary/events{/privacy}","received_events_url":"https://api.github.com/users/Open-Diary/received_events","type":"Organization","site_admin":false},"repo":{"id":78652552,"name":"BP-REST","full_name":"Open-Diary/BP-REST","owner":{"login":"Open-Diary","id":23664927,"avatar_url":"https://avatars.githubusercontent.com/u/23664927?v=3","gravatar_id":"","url":"https://api.github.com/users/Open-Diary","html_url":"https://github.com/Open-Diary","followers_url":"https://api.github.com/users/Open-Diary/followers","following_url":"https://api.github.com/users/Open-Diary/following{/other_user}","gists_url":"https://api.github.com/users/Open-Diary/gists{/gist_id}","starred_url":"https://api.github.com/users/Open-Diary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Open-Diary/subscriptions","organizations_url":"https://api.github.com/users/Open-Diary/orgs","repos_url":"https://api.github.com/users/Open-Diary/repos","events_url":"https://api.github.com/users/Open-Diary/events{/privacy}","received_events_url":"https://api.github.com/users/Open-Diary/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Open-Diary/BP-REST","description":"A RESTful API, for BuddyPress","fork":true,"url":"https://api.github.com/repos/Open-Diary/BP-REST","forks_url":"https://api.github.com/repos/Open-Diary/BP-REST/forks","keys_url":"https://api.github.com/repos/Open-Diary/BP-REST/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Open-Diary/BP-REST/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Open-Diary/BP-REST/teams","hooks_url":"https://api.github.com/repos/Open-Diary/BP-REST/hooks","issue_events_url":"https://api.github.com/repos/Open-Diary/BP-REST/issues/events{/number}","events_url":"https://api.github.com/repos/Open-Diary/BP-REST/events","assignees_url":"https://api.github.com/repos/Open-Diary/BP-REST/assignees{/user}","branches_url":"https://api.github.com/repos/Open-Diary/BP-REST/branches{/branch}","tags_url":"https://api.github.com/repos/Open-Diary/BP-REST/tags","blobs_url":"https://api.github.com/repos/Open-Diary/BP-REST/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Open-Diary/BP-REST/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Open-Diary/BP-REST/git/refs{/sha}","trees_url":"https://api.github.com/repos/Open-Diary/BP-REST/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Open-Diary/BP-REST/statuses/{sha}","languages_url":"https://api.github.com/repos/Open-Diary/BP-REST/languages","stargazers_url":"https://api.github.com/repos/Open-Diary/BP-REST/stargazers","contributors_url":"https://api.github.com/repos/Open-Diary/BP-REST/contributors","subscribers_url":"https://api.github.com/repos/Open-Diary/BP-REST/subscribers","subscription_url":"https://api.github.com/repos/Open-Diary/BP-REST/subscription","commits_url":"https://api.github.com/repos/Open-Diary/BP-REST/commits{/sha}","git_commits_url":"https://api.github.com/repos/Open-Diary/BP-REST/git/commits{/sha}","comments_url":"https://api.github.com/repos/Open-Diary/BP-REST/comments{/number}","issue_comment_url":"https://api.github.com/repos/Open-Diary/BP-REST/issues/comments{/number}","contents_url":"https://api.github.com/repos/Open-Diary/BP-REST/contents/{+path}","compare_url":"https://api.github.com/repos/Open-Diary/BP-REST/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Open-Diary/BP-REST/merges","archive_url":"https://api.github.com/repos/Open-Diary/BP-REST/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Open-Diary/BP-REST/downloads","issues_url":"https://api.github.com/repos/Open-Diary/BP-REST/issues{/number}","pulls_url":"https://api.github.com/repos/Open-Diary/BP-REST/pulls{/number}","milestones_url":"https://api.github.com/repos/Open-Diary/BP-REST/milestones{/number}","notifications_url":"https://api.github.com/repos/Open-Diary/BP-REST/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Open-Diary/BP-REST/labels{/name}","releases_url":"https://api.github.com/repos/Open-Diary/BP-REST/releases{/id}","deployments_url":"https://api.github.com/repos/Open-Diary/BP-REST/deployments","created_at":"2017-01-11T15:33:56Z","updated_at":"2017-01-11T15:33:58Z","pushed_at":"2017-01-12T14:18:38Z","git_url":"git://github.com/Open-Diary/BP-REST.git","ssh_url":"git@github.com:Open-Diary/BP-REST.git","clone_url":"https://github.com/Open-Diary/BP-REST.git","svn_url":"https://github.com/Open-Diary/BP-REST","homepage":null,"size":44,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Open-Diary/BP-REST/pulls/1"},"html":{"href":"https://github.com/Open-Diary/BP-REST/pull/1"},"issue":{"href":"https://api.github.com/repos/Open-Diary/BP-REST/issues/1"},"comments":{"href":"https://api.github.com/repos/Open-Diary/BP-REST/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Open-Diary/BP-REST/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Open-Diary/BP-REST/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Open-Diary/BP-REST/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Open-Diary/BP-REST/statuses/1a54616b90b1ce0b744b14eaefecd8fa6356c8c2"}}}}
{"actor":{"display_login":"peteclark3"}}