{"action":"created","issue":{"url":"https://api.github.com/repos/woothemes/woocommerce/issues/10610","repository_url":"https://api.github.com/repos/woothemes/woocommerce","labels_url":"https://api.github.com/repos/woothemes/woocommerce/issues/10610/labels{/name}","comments_url":"https://api.github.com/repos/woothemes/woocommerce/issues/10610/comments","events_url":"https://api.github.com/repos/woothemes/woocommerce/issues/10610/events","html_url":"https://github.com/woothemes/woocommerce/pull/10610","id":144089072,"number":10610,"title":"Settings API","user":{"login":"justinshreve","id":689165,"avatar_url":"https://avatars.githubusercontent.com/u/689165?v=3","gravatar_id":"","url":"https://api.github.com/users/justinshreve","html_url":"https://github.com/justinshreve","followers_url":"https://api.github.com/users/justinshreve/followers","following_url":"https://api.github.com/users/justinshreve/following{/other_user}","gists_url":"https://api.github.com/users/justinshreve/gists{/gist_id}","starred_url":"https://api.github.com/users/justinshreve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinshreve/subscriptions","organizations_url":"https://api.github.com/users/justinshreve/orgs","repos_url":"https://api.github.com/users/justinshreve/repos","events_url":"https://api.github.com/users/justinshreve/events{/privacy}","received_events_url":"https://api.github.com/users/justinshreve/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/woothemes/woocommerce/labels/API","name":"API","color":"207de5"},{"url":"https://api.github.com/repos/woothemes/woocommerce/labels/Needs%20Dev%20Feedback","name":"Needs Dev Feedback","color":"a46497"}],"state":"closed","locked":false,"assignee":{"login":"justinshreve","id":689165,"avatar_url":"https://avatars.githubusercontent.com/u/689165?v=3","gravatar_id":"","url":"https://api.github.com/users/justinshreve","html_url":"https://github.com/justinshreve","followers_url":"https://api.github.com/users/justinshreve/followers","following_url":"https://api.github.com/users/justinshreve/following{/other_user}","gists_url":"https://api.github.com/users/justinshreve/gists{/gist_id}","starred_url":"https://api.github.com/users/justinshreve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinshreve/subscriptions","organizations_url":"https://api.github.com/users/justinshreve/orgs","repos_url":"https://api.github.com/users/justinshreve/repos","events_url":"https://api.github.com/users/justinshreve/events{/privacy}","received_events_url":"https://api.github.com/users/justinshreve/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/woothemes/woocommerce/milestones/53","html_url":"https://github.com/woothemes/woocommerce/milestones/2.7","labels_url":"https://api.github.com/repos/woothemes/woocommerce/milestones/53/labels","id":1537224,"number":53,"title":"2.7","description":"","creator":{"login":"mikejolley","id":90977,"avatar_url":"https://avatars.githubusercontent.com/u/90977?v=3","gravatar_id":"","url":"https://api.github.com/users/mikejolley","html_url":"https://github.com/mikejolley","followers_url":"https://api.github.com/users/mikejolley/followers","following_url":"https://api.github.com/users/mikejolley/following{/other_user}","gists_url":"https://api.github.com/users/mikejolley/gists{/gist_id}","starred_url":"https://api.github.com/users/mikejolley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikejolley/subscriptions","organizations_url":"https://api.github.com/users/mikejolley/orgs","repos_url":"https://api.github.com/users/mikejolley/repos","events_url":"https://api.github.com/users/mikejolley/events{/privacy}","received_events_url":"https://api.github.com/users/mikejolley/received_events","type":"User","site_admin":false},"open_issues":29,"closed_issues":10,"state":"open","created_at":"2016-01-22T23:35:12Z","updated_at":"2016-06-06T17:46:53Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2016-03-28T21:34:44Z","updated_at":"2016-06-06T17:46:53Z","closed_at":"2016-06-06T17:46:53Z","pull_request":{"url":"https://api.github.com/repos/woothemes/woocommerce/pulls/10610","html_url":"https://github.com/woothemes/woocommerce/pull/10610","diff_url":"https://github.com/woothemes/woocommerce/pull/10610.diff","patch_url":"https://github.com/woothemes/woocommerce/pull/10610.patch"},"body":"Here is a \"first pass\" (though I went through a couple iterations on it in my branch) of a new API for settings that allows them to be exposed and updated via the REST API. I'd like feedback on the actual responses structure as well as some code review.\r\n\r\nSome notes:\r\n* A few vendor files for WP-API are included. Since WP-API endpoints are going into 2.6 ( #10435), we could get the vendor files committed and remove these from both PRs.\r\n* Settings registered to wp-admin are exposed through the API using some special code. In future versions I'd like to move away from this and move to all settings being registered the same way. We should probably come up with a plan for that (ex: post docs for 2.7, notices in 2.8, removal in ???).\r\n* I posted a brief doc at https://github.com/woothemes/woocommerce/wiki/2.7:-Settings-API - this can be expanded a bit more to a proper doc or tutorial. I expected possible changes in this PR so I just gave an overview."},"comment":{"url":"https://api.github.com/repos/woothemes/woocommerce/issues/comments/224033691","html_url":"https://github.com/woothemes/woocommerce/pull/10610#issuecomment-224033691","issue_url":"https://api.github.com/repos/woothemes/woocommerce/issues/10610","id":224033691,"user":{"login":"claudiosmweb","id":1264099,"avatar_url":"https://avatars.githubusercontent.com/u/1264099?v=3","gravatar_id":"","url":"https://api.github.com/users/claudiosmweb","html_url":"https://github.com/claudiosmweb","followers_url":"https://api.github.com/users/claudiosmweb/followers","following_url":"https://api.github.com/users/claudiosmweb/following{/other_user}","gists_url":"https://api.github.com/users/claudiosmweb/gists{/gist_id}","starred_url":"https://api.github.com/users/claudiosmweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claudiosmweb/subscriptions","organizations_url":"https://api.github.com/users/claudiosmweb/orgs","repos_url":"https://api.github.com/users/claudiosmweb/repos","events_url":"https://api.github.com/users/claudiosmweb/events{/privacy}","received_events_url":"https://api.github.com/users/claudiosmweb/received_events","type":"User","site_admin":false},"created_at":"2016-06-06T17:46:53Z","updated_at":"2016-06-06T17:46:53Z","body":"Merged into https://github.com/woothemes/woocommerce/tree/settings-api"}}
{"actor":{"display_login":"claudiosmweb"}}