{"action":"created","issue":{"url":"https://api.github.com/repos/NodeBB/nodebb-plugin-write-api/issues/36","labels_url":"https://api.github.com/repos/NodeBB/nodebb-plugin-write-api/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/NodeBB/nodebb-plugin-write-api/issues/36/comments","events_url":"https://api.github.com/repos/NodeBB/nodebb-plugin-write-api/issues/36/events","html_url":"https://github.com/NodeBB/nodebb-plugin-write-api/pull/36","id":107140526,"number":36,"title":"Extend nodebb-plugin-write-api to allow updates to the picture+uploadedpicture and settings","user":{"login":"davidvuong","id":1312550,"avatar_url":"https://avatars.githubusercontent.com/u/1312550?v=3","gravatar_id":"","url":"https://api.github.com/users/davidvuong","html_url":"https://github.com/davidvuong","followers_url":"https://api.github.com/users/davidvuong/followers","following_url":"https://api.github.com/users/davidvuong/following{/other_user}","gists_url":"https://api.github.com/users/davidvuong/gists{/gist_id}","starred_url":"https://api.github.com/users/davidvuong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidvuong/subscriptions","organizations_url":"https://api.github.com/users/davidvuong/orgs","repos_url":"https://api.github.com/users/davidvuong/repos","events_url":"https://api.github.com/users/davidvuong/events{/privacy}","received_events_url":"https://api.github.com/users/davidvuong/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-18T06:18:07Z","updated_at":"2015-09-24T02:19:39Z","closed_at":"2015-09-24T02:19:39Z","pull_request":{"url":"https://api.github.com/repos/NodeBB/nodebb-plugin-write-api/pulls/36","html_url":"https://github.com/NodeBB/nodebb-plugin-write-api/pull/36","diff_url":"https://github.com/NodeBB/nodebb-plugin-write-api/pull/36.diff","patch_url":"https://github.com/NodeBB/nodebb-plugin-write-api/pull/36.patch"},"body":"Not sure if you guys want this exposed via the API but I needed this in an application I'm writing and thought this might be useful to the rest of the NodeBB community :smile: \r\n\r\nFeel free to close this PR if you think this isn't needed.\r\n\r\n1. The `filter:user.updateProfile` hook was directly copied from (https://github.com/CoderDojo/nodebb-plugin-write-api/commit/55bcddf82ba12bb92a37a53065ed7613729f5627)\r\n2. Sorry for the formatting changes in `plugin.json`. WebStorm decided it wanted json files to be consistent. I can revert those changes if you need me to.\r\n\r\nWhat I've mostly done is just just added a new endpoint (`/api/v1/user/:id/settings`) and then updated the docs in the README.md file."},"comment":{"url":"https://api.github.com/repos/NodeBB/nodebb-plugin-write-api/issues/comments/142783873","html_url":"https://github.com/NodeBB/nodebb-plugin-write-api/pull/36#issuecomment-142783873","issue_url":"https://api.github.com/repos/NodeBB/nodebb-plugin-write-api/issues/36","id":142783873,"user":{"login":"davidvuong","id":1312550,"avatar_url":"https://avatars.githubusercontent.com/u/1312550?v=3","gravatar_id":"","url":"https://api.github.com/users/davidvuong","html_url":"https://github.com/davidvuong","followers_url":"https://api.github.com/users/davidvuong/followers","following_url":"https://api.github.com/users/davidvuong/following{/other_user}","gists_url":"https://api.github.com/users/davidvuong/gists{/gist_id}","starred_url":"https://api.github.com/users/davidvuong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidvuong/subscriptions","organizations_url":"https://api.github.com/users/davidvuong/orgs","repos_url":"https://api.github.com/users/davidvuong/repos","events_url":"https://api.github.com/users/davidvuong/events{/privacy}","received_events_url":"https://api.github.com/users/davidvuong/received_events","type":"User","site_admin":false},"created_at":"2015-09-24T02:19:39Z","updated_at":"2015-09-24T02:19:39Z","body":"Doesn't seem like this will be merged in. I'm going to close this PR and continue to work off my fork."}}