The new uploading mechanism is now in place.
You need to provide the UserAgent Property with Application/Script Name and full version number, e.g. "ADU 220.127.116.11"
Before uploading large files or just for availability ping you can use the check functionality by just calling this URL:
An example of the output:
<message>Server is currently undergoing maintenance.</message>
Uploads must be sent with Method "PUT" to a specific URL. Target Server is "Carius" on Port 82.
battleresult, dossier, replay, ats
eu, na, ru, net, asia, kr, vn, cn
A Token is a string which is used to authenticate uploads to vBAddict. It is similar to a Password.
As long as you don't have your personal Token created, all uploads by Active Dossier Uploader or WotNumbers are still working.
Once you create your personal Token, your profile switches to a protected one. As a protected profile, uploads are only accepted with the Token. Nobody else is able to upload data to your profile.
You need to provide a textbox in configuration where the user should be able to enter the Token. It's an alphanumeric string with a length of 20 chars. If the user does not have a token yet, provide a - hyphen.
json, xml, debug
debug is xml with additional informations about the upload
Return Codes for response/status:
1 Server is Offline (e.g. maintenance or too much users)
2 Unknown uploading type
3 Unknown server
4 Unknown method / UserAgent
5 Bad Token
6 Cannot process uploaded file (See response/data/file for details)
Return Codes for response/data/file/status
0 File processed with Success
1 Temporary Error, try again later
2 Critical Error (mostly because filesize not in valid range)
To upload a dossier to the Profile "Phalynx" from EU Server and with debug output, this would be the URL:
In this case, the uploaded Dossier and Token were accepted and processed.
On success, you will get some details about the user in response/data/player
- userid: vBAddict User ID
- accountid: WG's Account DBID
- clanid: WG's Clan DBID
- verified: Account has been verified by WG API
- link: Full Link to Users Player Profile