{"action":"created","comment":{"url":"https://api.github.com/repos/aprokopenko/justcustomfields/pulls/comments/46946960","id":46946960,"diff_hunk":"@@ -127,7 +127,182 @@ function initFieldsetsEdit(){\n \t\t\tjcf_ajax(data, 'json');\r\n \t\t}\r\n \t});\r\n+\t\r\n+\t// choose base for visibility rule\r\n+\tjQuery('#rule-based-on').live('change', function() {\r\n+\t\tvar data = {\r\n+\t\t\t'rule': jQuery(this).val(),\r\n+\t\t\t'action': 'jcf_get_rule_options',\r\n+\t\t};\r\n+\t\t\r\n+\t\tvar loader = jQuery(this).find('img.ajax-feedback');\r\n+\t\t\r\n+\t\tjcf_ajax(data, 'html', loader, function(response){\r\n+\t\t\tjQuery('.rules-options').html(response);\r\n+\t\t});\r\n+\t});\r\n+\t\r\n+\t// choose taxonomy terms for visibility rule\r\n+\tjQuery('.taxonomy-options #rule-taxonomy').live('change', function() {\r\n+\t\tvar data = {\r\n+\t\t\t'taxonomy': jQuery(this).val(),\r\n+\t\t\t'action': 'jcf_get_taxonomy_terms',\r\n+\t\t};\r\n+\t\t\r\n+\t\tvar loader = jQuery(this).find('img.ajax-feedback');\r\n+\t\t\r\n+\t\tjcf_ajax(data, 'html', loader, function(response){\r\n+\t\t\tjQuery('.taxonomy-terms-options').html(response);\r\n+\t\t\tvar input = jQuery('#new-term');\r\n+\t\t\tjcf_attach_autocomplete_event( input );\r\n+\t\t});\r\n+\t});\r\n+\t\r\n+\t//parse rule block for saving\r\n+\tjQuery('.save_rule_btn, .update_rule_btn').live('click', function() {\r\n+\t\tvar f_id = jQuery(this).parents('form').find('input[name=fieldset_id]').val();\r\n+\t\tvar rule_id = jQuery(this).data('rule_id');\r\n+\r\n+\t\tvar data = { \r\n+\t\t\t'action': 'jcf_save_visibility_rules',\r\n+\t\t\t'fieldset_id': f_id,\r\n+\t\t\t'rule_id': rule_id,\r\n+\t\t\t'visibility_rules': {}\r\n+\t\t};\r\n+\r\n+\t\tjQuery(this).parent('fieldset').find('input,select').each(function(i, input){\r\n+\t\t\tif(jQuery(input).attr('type') == 'radio'){\r\n+\t\t\t\tif(jQuery(input).is(':checked')){\r\n+\t\t\t\t\tdata.visibility_rules[ jQuery(input).attr('name') ] = jQuery(input).val();\r\n+\t\t\t\t}\r\n+\t\t\t}\r\n+\t\t\telse if(jQuery(input).attr('type') == 'checkbox'){\r\n+\t\t\t\tif(typeof data.visibility_rules[ jQuery(input).attr('name') ] === 'undefined'){\r\n+\t\t\t\t\tdata.visibility_rules[ jQuery(input).attr('name') ] = new Array();\r\n+\t\t\t\t}\r\n+\t\t\t\tif(jQuery(input).is(':checked')){\r\n+\t\t\t\t\tdata.visibility_rules[ jQuery(input).attr('name') ].push(jQuery(this).val());\r\n+\t\t\t\t}\r\n+\t\t\t}\r\n+\t\t\telse{\r\n+\t\t\t\tif(jQuery(input).attr('type') != 'button'){\r\n+\t\t\t\t\tdata.visibility_rules[ jQuery(input).attr('name') ] = jQuery(input).val();\r\n+\t\t\t\t}\r\n+\t\t\t}\r\n+\t\t});\r\n+\t\tvar loader = jQuery(this).find('img.ajax-feedback');\r\n \r\n+\t\tjcf_ajax(data, 'html', loader, function(response){\r\n+\t\t\tjQuery('div.rules').remove();\r\n+\t\t\tjQuery('div#visibility').append(response);\r\n+\t\t\tjQuery('fieldset#fieldset_visibility_rules').remove();\r\n+\t\t});\r\n+\t});\r\n+\t\r\n+    // add form for new visibility rule\r\n+\tjQuery('.add_rule_btn').live('click', function() {\r\n+\t\tvar loader = jQuery(this).find('img.ajax-feedback');\r\n+\t\tvar data = {\r\n+\t\t\t'action': 'jcf_add_visibility_rules_form',\r\n+\t\t\t'add_rule': true\r\n+\t\t}\r\n+\t\tjcf_ajax(data, 'html', loader, function(response){\r\n+\t\t\tjQuery('div#visibility').append(response);\r\n+\t\t\tjQuery('.add_rule_btn').hide();\r\n+\t\t});\r\n+\t});\r\n+\t\r\n+    // delete visibility rule \r\n+\tjQuery('a.remove-rule').live('click', function(){\r\n+\t\tvar rule_id = jQuery(this).data('rule_id');\r\n+\t\tvar loader = jQuery(this).find('img.ajax-feedback');\r\n+\t\tvar f_id = jQuery(this).parents('form').find('input[name=fieldset_id]').val();\r\n+\t\tvar data = {\r\n+\t\t\t'action': 'jcf_delete_visibility_rule',\r\n+\t\t\t'rule_id': rule_id,\r\n+\t\t\t'fieldset_id' : f_id\r\n+\t\t}\r\n+\t\tjcf_ajax(data, 'html', loader, function(response){\r\n+\t\t\tjQuery('div.rules').remove();\r\n+\t\t\tjQuery('div#visibility').append(response);\r\n+\t\t\tjQuery('fieldset#fieldset_visibility_rules').remove();\r\n+\t\t});\r\n+\t});\r\n+\t\r\n+    // edit visibility rule \r\n+\tjQuery('a.edit-rule').live('click', function(){\r\n+\t\tvar rule_id = jQuery(this).data('rule_id');\r\n+\t\tvar loader = jQuery(this).find('img.ajax-feedback');\r\n+\t\tvar f_id = jQuery(this).parents('form').find('input[name=fieldset_id]').val();\r\n+\t\tvar data = {\r\n+\t\t\t'action': 'jcf_add_visibility_rules_form',\r\n+\t\t\t'rule_id': rule_id,\r\n+\t\t\t'fieldset_id' : f_id,\r\n+\t\t\t'edit_rule' : true\r\n+\t\t}\r\n+\t\tjcf_ajax(data, 'html', loader, function(response){\r\n+\t\t\tjQuery('fieldset#fieldset_visibility_rules').remove();\r\n+\t\t\tjQuery('div#visibility').append(response);\r\n+\t\t\tjQuery('.add_rule_btn').hide();\r\n+\t\t});\r\n+\t});\r\n+\t\r\n+    // show/hide visibility options for fieldset\r\n+\tjQuery('a.visibility_toggle').live('click', function(){\r\n+\t\tjQuery('#visibility').toggle();\r\n+\t\tjQuery(this).find('span').toggleClass('dashicons-arrow-down-alt2');\r\n+\t\tjQuery(this).find('span').toggleClass('dashicons-arrow-up-alt2');\r\n+\t});\r\n+\t\r\n+    // cancel form for add or edit visibility rule\r\n+\tjQuery('.cancel_rule_btn').live('click', function(){\r\n+\t\tjQuery(this).parents('fieldset#fieldset_visibility_rules').remove();\r\n+\t\tjQuery('.add_rule_btn').show();\r\n+\t});\r\n+    \r\n+\tvar input = jQuery('#new-term');\r\n+\tjcf_attach_autocomplete_event( input );\r\n+    \r\n+    jQuery('#new-term').live('keyup', function(){\r\n+        var taxonomy = jQuery('.taxonomy-options #rule-taxonomy').val();\r\n+        var data = {\r\n+            action: 'jcf_visibility_autocomplete',\r\n+            taxonomy: taxonomy,\r\n+            term: jQuery(this).val()\r\n+        };\r\n+        var status = false;\r\n+        jQuery.post(ajaxurl, data, function(response){\r\n+            for(var key in response){ \r\n+                if(response[key].label == data.term) {\r\n+                    status = true;\r\n+                    jQuery('#new-term').attr({'data-term_id': response[key].id, 'data-term_label': response[key].label});\r\n+                }\r\n+                break;\r\n+            }\r\n+        });\r\n+        if(!status){\r\n+            jQuery('#new-term').removeAttr('data-term_id data-term_label');\r\n+        }\r\n+    });\r\n+    \r\n+\tjQuery('.termadd').live('click', function(){\r\n+\t\tvar term_id = jQuery('#new-term').attr('data-term_id');\r\n+\t\tvar term_label = jQuery('#new-term').attr('data-term_label');\r\n+        var wrapper_for_terms = jQuery('.taxonomy-terms-options ul.visibility-list-items');\r\n+        if( typeof term_id !== 'undefined' && typeof term_label !== 'undefined' ){\r\n+            jQuery('.taxonomy-terms-options p.visible-notice').remove();\r\n+            var label = '<label>' + term_label + '</label>';\r\n+            var chbox = '<input type=\"checkbox\" checked=\"checked\" name=\"rule_taxonomy_terms\" value=\"' + term_id + '\" />';\r\n+            if(wrapper_for_terms.length < 1){\r\n+                jQuery(this).parent().append('<ul class=\"visibility-list-items\"></ul>');\r\n+            }\r\n+            jQuery('.taxonomy-terms-options ul.visibility-list-items').append('<li>' + chbox + label +'</li>');\r\n+        }\r\n+        else{\r\n+            jQuery('.taxonomy-terms-options').append('<p class=\"visible-notice\">' + jcf_textdomain.no_term  + '</p>');\r\n+        }\r\n+\t\treturn false;\r\n+\t});\r","path":"assets/just_custom_fields.js","position":190,"original_position":190,"commit_id":"96942850504c90e93bb0fa4dee7cc6f2136218d8","original_commit_id":"96942850504c90e93bb0fa4dee7cc6f2136218d8","user":{"login":"aprokopenko","id":1842666,"avatar_url":"https://avatars.githubusercontent.com/u/1842666?v=3","gravatar_id":"","url":"https://api.github.com/users/aprokopenko","html_url":"https://github.com/aprokopenko","followers_url":"https://api.github.com/users/aprokopenko/followers","following_url":"https://api.github.com/users/aprokopenko/following{/other_user}","gists_url":"https://api.github.com/users/aprokopenko/gists{/gist_id}","starred_url":"https://api.github.com/users/aprokopenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aprokopenko/subscriptions","organizations_url":"https://api.github.com/users/aprokopenko/orgs","repos_url":"https://api.github.com/users/aprokopenko/repos","events_url":"https://api.github.com/users/aprokopenko/events{/privacy}","received_events_url":"https://api.github.com/users/aprokopenko/received_events","type":"User","site_admin":false},"body":"отступы гуляют в этом куске. сложно понять из-за этого","created_at":"2015-12-08T12:29:25Z","updated_at":"2015-12-08T12:29:25Z","html_url":"https://github.com/aprokopenko/justcustomfields/pull/55#discussion_r46946960","pull_request_url":"https://api.github.com/repos/aprokopenko/justcustomfields/pulls/55","_links":{"self":{"href":"https://api.github.com/repos/aprokopenko/justcustomfields/pulls/comments/46946960"},"html":{"href":"https://github.com/aprokopenko/justcustomfields/pull/55#discussion_r46946960"},"pull_request":{"href":"https://api.github.com/repos/aprokopenko/justcustomfields/pulls/55"}}},"pull_request":{"url":"https://api.github.com/repos/aprokopenko/justcustomfields/pulls/55","id":52236661,"html_url":"https://github.com/aprokopenko/justcustomfields/pull/55","diff_url":"https://github.com/aprokopenko/justcustomfields/pull/55.diff","patch_url":"https://github.com/aprokopenko/justcustomfields/pull/55.patch","issue_url":"https://api.github.com/repos/aprokopenko/justcustomfields/issues/55","number":55,"state":"open","locked":false,"title":"4488550 fielset visibility settings","user":{"login":"jcssamoylov","id":13030559,"avatar_url":"https://avatars.githubusercontent.com/u/13030559?v=3","gravatar_id":"","url":"https://api.github.com/users/jcssamoylov","html_url":"https://github.com/jcssamoylov","followers_url":"https://api.github.com/users/jcssamoylov/followers","following_url":"https://api.github.com/users/jcssamoylov/following{/other_user}","gists_url":"https://api.github.com/users/jcssamoylov/gists{/gist_id}","starred_url":"https://api.github.com/users/jcssamoylov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcssamoylov/subscriptions","organizations_url":"https://api.github.com/users/jcssamoylov/orgs","repos_url":"https://api.github.com/users/jcssamoylov/repos","events_url":"https://api.github.com/users/jcssamoylov/events{/privacy}","received_events_url":"https://api.github.com/users/jcssamoylov/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-01T09:55:29Z","updated_at":"2015-12-08T12:29:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"22ad105ca580d258289dbd1a0e043aae00a3ac32","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/aprokopenko/justcustomfields/pulls/55/commits","review_comments_url":"https://api.github.com/repos/aprokopenko/justcustomfields/pulls/55/comments","review_comment_url":"https://api.github.com/repos/aprokopenko/justcustomfields/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aprokopenko/justcustomfields/issues/55/comments","statuses_url":"https://api.github.com/repos/aprokopenko/justcustomfields/statuses/96942850504c90e93bb0fa4dee7cc6f2136218d8","head":{"label":"jcssamoylov:4488550_fielset_visibility_settings","ref":"4488550_fielset_visibility_settings","sha":"96942850504c90e93bb0fa4dee7cc6f2136218d8","user":{"login":"jcssamoylov","id":13030559,"avatar_url":"https://avatars.githubusercontent.com/u/13030559?v=3","gravatar_id":"","url":"https://api.github.com/users/jcssamoylov","html_url":"https://github.com/jcssamoylov","followers_url":"https://api.github.com/users/jcssamoylov/followers","following_url":"https://api.github.com/users/jcssamoylov/following{/other_user}","gists_url":"https://api.github.com/users/jcssamoylov/gists{/gist_id}","starred_url":"https://api.github.com/users/jcssamoylov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcssamoylov/subscriptions","organizations_url":"https://api.github.com/users/jcssamoylov/orgs","repos_url":"https://api.github.com/users/jcssamoylov/repos","events_url":"https://api.github.com/users/jcssamoylov/events{/privacy}","received_events_url":"https://api.github.com/users/jcssamoylov/received_events","type":"User","site_admin":false},"repo":{"id":37974571,"name":"justcustomfields","full_name":"jcssamoylov/justcustomfields","owner":{"login":"jcssamoylov","id":13030559,"avatar_url":"https://avatars.githubusercontent.com/u/13030559?v=3","gravatar_id":"","url":"https://api.github.com/users/jcssamoylov","html_url":"https://github.com/jcssamoylov","followers_url":"https://api.github.com/users/jcssamoylov/followers","following_url":"https://api.github.com/users/jcssamoylov/following{/other_user}","gists_url":"https://api.github.com/users/jcssamoylov/gists{/gist_id}","starred_url":"https://api.github.com/users/jcssamoylov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcssamoylov/subscriptions","organizations_url":"https://api.github.com/users/jcssamoylov/orgs","repos_url":"https://api.github.com/users/jcssamoylov/repos","events_url":"https://api.github.com/users/jcssamoylov/events{/privacy}","received_events_url":"https://api.github.com/users/jcssamoylov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jcssamoylov/justcustomfields","description":"wordpress just custom fields dev version","fork":true,"url":"https://api.github.com/repos/jcssamoylov/justcustomfields","forks_url":"https://api.github.com/repos/jcssamoylov/justcustomfields/forks","keys_url":"https://api.github.com/repos/jcssamoylov/justcustomfields/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jcssamoylov/justcustomfields/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jcssamoylov/justcustomfields/teams","hooks_url":"https://api.github.com/repos/jcssamoylov/justcustomfields/hooks","issue_events_url":"https://api.github.com/repos/jcssamoylov/justcustomfields/issues/events{/number}","events_url":"https://api.github.com/repos/jcssamoylov/justcustomfields/events","assignees_url":"https://api.github.com/repos/jcssamoylov/justcustomfields/assignees{/user}","branches_url":"https://api.github.com/repos/jcssamoylov/justcustomfields/branches{/branch}","tags_url":"https://api.github.com/repos/jcssamoylov/justcustomfields/tags","blobs_url":"https://api.github.com/repos/jcssamoylov/justcustomfields/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jcssamoylov/justcustomfields/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jcssamoylov/justcustomfields/git/refs{/sha}","trees_url":"https://api.github.com/repos/jcssamoylov/justcustomfields/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jcssamoylov/justcustomfields/statuses/{sha}","languages_url":"https://api.github.com/repos/jcssamoylov/justcustomfields/languages","stargazers_url":"https://api.github.com/repos/jcssamoylov/justcustomfields/stargazers","contributors_url":"https://api.github.com/repos/jcssamoylov/justcustomfields/contributors","subscribers_url":"https://api.github.com/repos/jcssamoylov/justcustomfields/subscribers","subscription_url":"https://api.github.com/repos/jcssamoylov/justcustomfields/subscription","commits_url":"https://api.github.com/repos/jcssamoylov/justcustomfields/commits{/sha}","git_commits_url":"https://api.github.com/repos/jcssamoylov/justcustomfields/git/commits{/sha}","comments_url":"https://api.github.com/repos/jcssamoylov/justcustomfields/comments{/number}","issue_comment_url":"https://api.github.com/repos/jcssamoylov/justcustomfields/issues/comments{/number}","contents_url":"https://api.github.com/repos/jcssamoylov/justcustomfields/contents/{+path}","compare_url":"https://api.github.com/repos/jcssamoylov/justcustomfields/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jcssamoylov/justcustomfields/merges","archive_url":"https://api.github.com/repos/jcssamoylov/justcustomfields/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jcssamoylov/justcustomfields/downloads","issues_url":"https://api.github.com/repos/jcssamoylov/justcustomfields/issues{/number}","pulls_url":"https://api.github.com/repos/jcssamoylov/justcustomfields/pulls{/number}","milestones_url":"https://api.github.com/repos/jcssamoylov/justcustomfields/milestones{/number}","notifications_url":"https://api.github.com/repos/jcssamoylov/justcustomfields/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jcssamoylov/justcustomfields/labels{/name}","releases_url":"https://api.github.com/repos/jcssamoylov/justcustomfields/releases{/id}","created_at":"2015-06-24T09:14:56Z","updated_at":"2015-06-24T09:14:56Z","pushed_at":"2015-12-07T08:48:56Z","git_url":"git://github.com/jcssamoylov/justcustomfields.git","ssh_url":"git@github.com:jcssamoylov/justcustomfields.git","clone_url":"https://github.com/jcssamoylov/justcustomfields.git","svn_url":"https://github.com/jcssamoylov/justcustomfields","homepage":null,"size":515,"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":"aprokopenko:master","ref":"master","sha":"461fd39ef60c83b9b3611d0530b29d5601ca1e3c","user":{"login":"aprokopenko","id":1842666,"avatar_url":"https://avatars.githubusercontent.com/u/1842666?v=3","gravatar_id":"","url":"https://api.github.com/users/aprokopenko","html_url":"https://github.com/aprokopenko","followers_url":"https://api.github.com/users/aprokopenko/followers","following_url":"https://api.github.com/users/aprokopenko/following{/other_user}","gists_url":"https://api.github.com/users/aprokopenko/gists{/gist_id}","starred_url":"https://api.github.com/users/aprokopenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aprokopenko/subscriptions","organizations_url":"https://api.github.com/users/aprokopenko/orgs","repos_url":"https://api.github.com/users/aprokopenko/repos","events_url":"https://api.github.com/users/aprokopenko/events{/privacy}","received_events_url":"https://api.github.com/users/aprokopenko/received_events","type":"User","site_admin":false},"repo":{"id":4638077,"name":"justcustomfields","full_name":"aprokopenko/justcustomfields","owner":{"login":"aprokopenko","id":1842666,"avatar_url":"https://avatars.githubusercontent.com/u/1842666?v=3","gravatar_id":"","url":"https://api.github.com/users/aprokopenko","html_url":"https://github.com/aprokopenko","followers_url":"https://api.github.com/users/aprokopenko/followers","following_url":"https://api.github.com/users/aprokopenko/following{/other_user}","gists_url":"https://api.github.com/users/aprokopenko/gists{/gist_id}","starred_url":"https://api.github.com/users/aprokopenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aprokopenko/subscriptions","organizations_url":"https://api.github.com/users/aprokopenko/orgs","repos_url":"https://api.github.com/users/aprokopenko/repos","events_url":"https://api.github.com/users/aprokopenko/events{/privacy}","received_events_url":"https://api.github.com/users/aprokopenko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aprokopenko/justcustomfields","description":"wordpress just custom fields dev version","fork":false,"url":"https://api.github.com/repos/aprokopenko/justcustomfields","forks_url":"https://api.github.com/repos/aprokopenko/justcustomfields/forks","keys_url":"https://api.github.com/repos/aprokopenko/justcustomfields/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aprokopenko/justcustomfields/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aprokopenko/justcustomfields/teams","hooks_url":"https://api.github.com/repos/aprokopenko/justcustomfields/hooks","issue_events_url":"https://api.github.com/repos/aprokopenko/justcustomfields/issues/events{/number}","events_url":"https://api.github.com/repos/aprokopenko/justcustomfields/events","assignees_url":"https://api.github.com/repos/aprokopenko/justcustomfields/assignees{/user}","branches_url":"https://api.github.com/repos/aprokopenko/justcustomfields/branches{/branch}","tags_url":"https://api.github.com/repos/aprokopenko/justcustomfields/tags","blobs_url":"https://api.github.com/repos/aprokopenko/justcustomfields/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aprokopenko/justcustomfields/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aprokopenko/justcustomfields/git/refs{/sha}","trees_url":"https://api.github.com/repos/aprokopenko/justcustomfields/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aprokopenko/justcustomfields/statuses/{sha}","languages_url":"https://api.github.com/repos/aprokopenko/justcustomfields/languages","stargazers_url":"https://api.github.com/repos/aprokopenko/justcustomfields/stargazers","contributors_url":"https://api.github.com/repos/aprokopenko/justcustomfields/contributors","subscribers_url":"https://api.github.com/repos/aprokopenko/justcustomfields/subscribers","subscription_url":"https://api.github.com/repos/aprokopenko/justcustomfields/subscription","commits_url":"https://api.github.com/repos/aprokopenko/justcustomfields/commits{/sha}","git_commits_url":"https://api.github.com/repos/aprokopenko/justcustomfields/git/commits{/sha}","comments_url":"https://api.github.com/repos/aprokopenko/justcustomfields/comments{/number}","issue_comment_url":"https://api.github.com/repos/aprokopenko/justcustomfields/issues/comments{/number}","contents_url":"https://api.github.com/repos/aprokopenko/justcustomfields/contents/{+path}","compare_url":"https://api.github.com/repos/aprokopenko/justcustomfields/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aprokopenko/justcustomfields/merges","archive_url":"https://api.github.com/repos/aprokopenko/justcustomfields/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aprokopenko/justcustomfields/downloads","issues_url":"https://api.github.com/repos/aprokopenko/justcustomfields/issues{/number}","pulls_url":"https://api.github.com/repos/aprokopenko/justcustomfields/pulls{/number}","milestones_url":"https://api.github.com/repos/aprokopenko/justcustomfields/milestones{/number}","notifications_url":"https://api.github.com/repos/aprokopenko/justcustomfields/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aprokopenko/justcustomfields/labels{/name}","releases_url":"https://api.github.com/repos/aprokopenko/justcustomfields/releases{/id}","created_at":"2012-06-12T14:04:27Z","updated_at":"2015-01-24T21:53:52Z","pushed_at":"2015-12-08T12:19:49Z","git_url":"git://github.com/aprokopenko/justcustomfields.git","ssh_url":"git@github.com:aprokopenko/justcustomfields.git","clone_url":"https://github.com/aprokopenko/justcustomfields.git","svn_url":"https://github.com/aprokopenko/justcustomfields","homepage":null,"size":529,"stargazers_count":4,"watchers_count":4,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":7,"forks":6,"open_issues":7,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aprokopenko/justcustomfields/pulls/55"},"html":{"href":"https://github.com/aprokopenko/justcustomfields/pull/55"},"issue":{"href":"https://api.github.com/repos/aprokopenko/justcustomfields/issues/55"},"comments":{"href":"https://api.github.com/repos/aprokopenko/justcustomfields/issues/55/comments"},"review_comments":{"href":"https://api.github.com/repos/aprokopenko/justcustomfields/pulls/55/comments"},"review_comment":{"href":"https://api.github.com/repos/aprokopenko/justcustomfields/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aprokopenko/justcustomfields/pulls/55/commits"},"statuses":{"href":"https://api.github.com/repos/aprokopenko/justcustomfields/statuses/96942850504c90e93bb0fa4dee7cc6f2136218d8"}}}}