Add Crash Report

URL:

POST http://api.aurelon.com/api/v2/log/crashreport

Request Headers:

Content-Type : multipart/form-data
MisKey : see Authentication
HardwareHash : see Authentication
SerialNumber : see Authentication
ApplicationVersion : see Authentication
ApplicationName : Name of the application (e.g. RIP)
OS : macOS or Windows (currently 0 or 1)

Request Body:

Form data 1 (CallStack): required

  • Name: any
  • Content-Type: text/plain

Form data 2 (Xml): optional

  • Name: any
  • Content-Type: application/xml

Form data 3 (dump): optional

  • Name: any
  • Content-Type: application/octet-stream

Response:

Content type of the response is in JSON format but this can be changed by the request client using accept request headers (ex. for XML format accept: application/xml)

Success:

200 OK : “Crash report successfully added”

Error:

  • 401 Unauthorized : {“Message”:””HardwareHash” header required; “SerialNumber” header required; “ApplicationVersion” header required”}
  • 401 Unauthorized : {“Message”: “”HardwareHash” header is invalid”}
  • 500 Internal Server Error : {“Message”:”Internal Server Error”}