I'm trying to figure out how to obtain action=edit rights for User:GreenC bot. I've never used the API for writing so not sure how rights works. Is there a place to apply or does it already have the rights since the bot account was approved, in which case it's simply a matter of logging in and obtaining a token? -- GreenC 15:18, 14 June 2016 (UTC)
Any logged in user can use the API to edit (technically you can also edit anonymously, but... don't do that). In the past it was pretty simple and you just logged in with action=login, but now because of the fancy AuthManager stuff it's recommended that you create an OAuth consumer and use action=clientlogin. See mw:API:Login and mw:API:Tokens. Also, Special:ApiSandbox may prove helpful. — Earwigtalk 17:38, 14 June 2016 (UTC)
Slight correction: it's recommended that you create an OAuth consumer (likely owner-only for a bot), or set up a bot password and continue to use action=login if you can't use the more secure OAuth. Bots shouldn't need to use action=clientlogin, that's for interactive clients like mobile apps. Anomie⚔ 19:30, 14 June 2016 (UTC)
Semi-protected edit request on 29 August 2016
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request.