{"action":"created","issue":{"url":"https://api.github.com/repos/macbre/nodemw/issues/69","labels_url":"https://api.github.com/repos/macbre/nodemw/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/macbre/nodemw/issues/69/comments","events_url":"https://api.github.com/repos/macbre/nodemw/issues/69/events","html_url":"https://github.com/macbre/nodemw/pull/69","id":95297571,"number":69,"title":"add function: getPagesInNamespace","user":{"login":"kyv","id":1021264,"avatar_url":"https://avatars.githubusercontent.com/u/1021264?v=3","gravatar_id":"","url":"https://api.github.com/users/kyv","html_url":"https://github.com/kyv","followers_url":"https://api.github.com/users/kyv/followers","following_url":"https://api.github.com/users/kyv/following{/other_user}","gists_url":"https://api.github.com/users/kyv/gists{/gist_id}","starred_url":"https://api.github.com/users/kyv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyv/subscriptions","organizations_url":"https://api.github.com/users/kyv/orgs","repos_url":"https://api.github.com/users/kyv/repos","events_url":"https://api.github.com/users/kyv/events{/privacy}","received_events_url":"https://api.github.com/users/kyv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-15T21:45:34Z","updated_at":"2015-07-16T18:37:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/macbre/nodemw/pulls/69","html_url":"https://github.com/macbre/nodemw/pull/69","diff_url":"https://github.com/macbre/nodemw/pull/69.diff","patch_url":"https://github.com/macbre/nodemw/pull/69.patch"},"body":"Add a function to easily pull the pages from a given namespace. Example of use: \r\n\r\n    client.getPagesInNamespace(502, function(err, pages) {\r\n        console.log('All pages: %d', pages.length);\r\n        console.log(JSON.stringify(pages.slice(0, 50)));\r\n\r\n        // get all revisions of a single article\r\n        var pageId = parseInt(pages[0].pageid, 10);\r\n\r\n        client.getArticleRevisions(pageId, function(err, revisions) {\r\n            console.log(JSON.stringify(revisions));\r\n        });\r\n    });\r\n"},"comment":{"url":"https://api.github.com/repos/macbre/nodemw/issues/comments/122045058","html_url":"https://github.com/macbre/nodemw/pull/69#issuecomment-122045058","issue_url":"https://api.github.com/repos/macbre/nodemw/issues/69","id":122045058,"user":{"login":"macbre","id":1929317,"avatar_url":"https://avatars.githubusercontent.com/u/1929317?v=3","gravatar_id":"","url":"https://api.github.com/users/macbre","html_url":"https://github.com/macbre","followers_url":"https://api.github.com/users/macbre/followers","following_url":"https://api.github.com/users/macbre/following{/other_user}","gists_url":"https://api.github.com/users/macbre/gists{/gist_id}","starred_url":"https://api.github.com/users/macbre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macbre/subscriptions","organizations_url":"https://api.github.com/users/macbre/orgs","repos_url":"https://api.github.com/users/macbre/repos","events_url":"https://api.github.com/users/macbre/events{/privacy}","received_events_url":"https://api.github.com/users/macbre/received_events","type":"User","site_admin":false},"created_at":"2015-07-16T18:37:42Z","updated_at":"2015-07-16T18:37:42Z","body":"Thanks for the PR! Inline comments left."}}