Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.03 KB

readme.md

File metadata and controls

44 lines (31 loc) · 1.03 KB

api.jneidel.com

Public API for jneidel.com

The public endpoint is: api.jneidel.com.

/errors

Error collection point for all my apps. The apps send anonymous data here once an error occurs. The error data will then be stored in the application specific log file, for later review.

POST /errors/submit

Main route to submit errors.

$ curl http://api.jneidel.com/errors/submit -d '{"id": "4163815d-3851-4c20-8f0e-518cddd0c783", "app": { "name": "lock-me-out-cli", "version": "0.2.5" }, "os": {"type":"Darwin","platform":"darwin"},"error":{"msg": "this","stack":"that"} }' -H "Content-Type: application/json"     

#=> { "success": true }

The route accepts the following data:

{
  id : "string",
  app: {
    name   : "string",
    version: "string",
  },
  os: {
    type    : "string",
    platform: "string",
  },
  error: {
    msg  : "string",
    stack: "string",
  }
}

Legacy endpoints

Browse mangareader-dl routes.