It's supposed to identify the application, so set it to the name of your program, version number, etc.
You can find some examples used by browsers here: http://user-agents.my-addr.com/user_agent_request/user_agent_examples-and-user_agent_types.php
As you can see, it's not supposed to identify the users themselves.

On 08/12/12 23:16, William Donahue wrote:
I want to use the api entry point for a windows 8 rt app I am developing. The application is not a bot, as the requests originate from the users of the app. The also do not originate from a browser, but rather in c# code on the device. The guidelines for api usage indicate that I should send a User Agent, but I’m not sure what I should send in this case. If I have many users of my app, then it may look like I am abusing the api. But it’s the users of my app that are initiating the requests, not a bot.
 
So what should I use as the User Agent in this case? I could use the action=raw parameter of the normal url, but I would prefer using the api as it has more options.
 
Sent from Windows Mail
 


_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api