As of writing this, a new error format has been adopted following this format:
{
"data": {},
"errors": [
{
"status": 404,
"code": "cy://cyrest-core/404",
"message": "Network 52 does not exist",
"link": "file:/somedirectory/CytoscapeConfiguration/3/framework-cytoscape.log"
}
],
}
The link field in an error element simply points to the URI of the framework log file.
A potential improvement is making the link point to a resource to expose the log file, with filters that could correspond to specific errors or error classes:
GET /v1/log?marker=error1234
As of writing this, a new error format has been adopted following this format:
{
"data": {},
"errors": [
{
"status": 404,
"code": "cy://cyrest-core/404",
"message": "Network 52 does not exist",
"link": "file:/somedirectory/CytoscapeConfiguration/3/framework-cytoscape.log"
}
],
}
The link field in an error element simply points to the URI of the framework log file.
A potential improvement is making the link point to a resource to expose the log file, with filters that could correspond to specific errors or error classes:
GET /v1/log?marker=error1234