- your server must respond in JSON with utf-8 encoding
- your server must be accessible from the machine from which you intent to use the uploader
- your server should be responding in http status codes
To ping logs you need to implementa a REST response that would react to either GET, DELETE, PUT or POST method requests.
You need to implement this JSON response structure:
{
"msg": (string),
}
Where "msg" is used as a text response from the server and will be displayed on the main window of PlenBotLogUploader and is a string.
For POST and PUT methods, the fields are encoded as application/x-www-form-urlencoded (/ping/)
For GET and DELETE methods, the fields are encoded within the url request (/ping/?bossId=...)
These are the fields being sent:
{
"permalink": (string),
"bossId": (string),
"success": (string),
"arcVersion": (string),
}
- "permalink" contains a direct link to a processed log on dps.report as a string
- "bossId" contains the encounter (boss) id as a string
- "success" contains "1" if the encounter was a success, "0" otherwise as a string
- "arcVersion" contains the arcdps version used to create the original log as a string