{"action":"created","issue":{"url":"https://api.github.com/repos/WP-API/WP-API/issues/1533","labels_url":"https://api.github.com/repos/WP-API/WP-API/issues/1533/labels{/name}","comments_url":"https://api.github.com/repos/WP-API/WP-API/issues/1533/comments","events_url":"https://api.github.com/repos/WP-API/WP-API/issues/1533/events","html_url":"https://github.com/WP-API/WP-API/issues/1533","id":105170082,"number":1533,"title":"Backbone api url is incorrect","user":{"login":"andrewahead4","id":9017231,"avatar_url":"https://avatars.githubusercontent.com/u/9017231?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewahead4","html_url":"https://github.com/andrewahead4","followers_url":"https://api.github.com/users/andrewahead4/followers","following_url":"https://api.github.com/users/andrewahead4/following{/other_user}","gists_url":"https://api.github.com/users/andrewahead4/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewahead4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewahead4/subscriptions","organizations_url":"https://api.github.com/users/andrewahead4/orgs","repos_url":"https://api.github.com/users/andrewahead4/repos","events_url":"https://api.github.com/users/andrewahead4/events{/privacy}","received_events_url":"https://api.github.com/users/andrewahead4/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/WP-API/WP-API/labels/Bug","name":"Bug","color":"e11d21"}],"state":"closed","locked":false,"assignee":{"login":"rmccue","id":21655,"avatar_url":"https://avatars.githubusercontent.com/u/21655?v=3","gravatar_id":"","url":"https://api.github.com/users/rmccue","html_url":"https://github.com/rmccue","followers_url":"https://api.github.com/users/rmccue/followers","following_url":"https://api.github.com/users/rmccue/following{/other_user}","gists_url":"https://api.github.com/users/rmccue/gists{/gist_id}","starred_url":"https://api.github.com/users/rmccue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmccue/subscriptions","organizations_url":"https://api.github.com/users/rmccue/orgs","repos_url":"https://api.github.com/users/rmccue/repos","events_url":"https://api.github.com/users/rmccue/events{/privacy}","received_events_url":"https://api.github.com/users/rmccue/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/WP-API/WP-API/milestones/18","html_url":"https://github.com/WP-API/WP-API/milestones/2.0%20Beta%206","labels_url":"https://api.github.com/repos/WP-API/WP-API/milestones/18/labels","id":1257214,"number":18,"title":"2.0 Beta 6","description":"","creator":{"login":"rmccue","id":21655,"avatar_url":"https://avatars.githubusercontent.com/u/21655?v=3","gravatar_id":"","url":"https://api.github.com/users/rmccue","html_url":"https://github.com/rmccue","followers_url":"https://api.github.com/users/rmccue/followers","following_url":"https://api.github.com/users/rmccue/following{/other_user}","gists_url":"https://api.github.com/users/rmccue/gists{/gist_id}","starred_url":"https://api.github.com/users/rmccue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmccue/subscriptions","organizations_url":"https://api.github.com/users/rmccue/orgs","repos_url":"https://api.github.com/users/rmccue/repos","events_url":"https://api.github.com/users/rmccue/events{/privacy}","received_events_url":"https://api.github.com/users/rmccue/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":47,"state":"open","created_at":"2015-08-17T00:26:52Z","updated_at":"2015-11-02T05:58:33Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-09-07T08:19:46Z","updated_at":"2015-11-02T05:58:33Z","closed_at":"2015-11-02T05:58:33Z","body":"I had a fresh install of WP and the API to test out the backbone helper script.\r\n\r\nMaking a call to the backbone script in wp-api results in a broken url for collections and I presume models also.\r\n\r\n```\r\nposts = new wp.api.collections.Posts();\r\n\r\nconsole.log( posts.url );\r\n```\r\nresults in seeing *\".../wp-json//posts\"* i.e. the *wp/v2* is missing.\r\n\r\nI have tracked this down to extras.php line 34 where the wp_localize_script sets up the WP_API_Settings and hacked it for my personal development"},"comment":{"url":"https://api.github.com/repos/WP-API/WP-API/issues/comments/152921902","html_url":"https://github.com/WP-API/WP-API/issues/1533#issuecomment-152921902","issue_url":"https://api.github.com/repos/WP-API/WP-API/issues/1533","id":152921902,"user":{"login":"rmccue","id":21655,"avatar_url":"https://avatars.githubusercontent.com/u/21655?v=3","gravatar_id":"","url":"https://api.github.com/users/rmccue","html_url":"https://github.com/rmccue","followers_url":"https://api.github.com/users/rmccue/followers","following_url":"https://api.github.com/users/rmccue/following{/other_user}","gists_url":"https://api.github.com/users/rmccue/gists{/gist_id}","starred_url":"https://api.github.com/users/rmccue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmccue/subscriptions","organizations_url":"https://api.github.com/users/rmccue/orgs","repos_url":"https://api.github.com/users/rmccue/repos","events_url":"https://api.github.com/users/rmccue/events{/privacy}","received_events_url":"https://api.github.com/users/rmccue/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T05:58:33Z","updated_at":"2015-11-02T05:58:33Z","body":"Fixed in #1709, thanks!"}}