Error Logs
Log a client-side app error (no auth required)
post/api/errors/log
Request
- Base URLhttps://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
- URLhttps://api.rewritelifestyle.ai/api/errors/log
- Authnone declared
Request body
Example request
{
"errorMessage": "Cannot read property of undefined",
"userId": 42,
"errorCode": "API_FAILURE",
"action": "food_log.submit",
"screen": "FoodLogScreen",
"platform": "ios",
"appVersion": "2.1.0",
"stackTrace": "Error: ...\n at foo.js:12",
"metadata": {
"device": "iPhone 14",
"osVersion": "17.2"
}
}Changes
No recorded changes to this operation across all 34 revisions of this API.