You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use the GET /api/case/task/:id/log but it keeps returning an empty list.
However it works if I use
POST /api/case/task/log/_search
{"query":{"_and":[{"_and":[{"_parent":{"_type":"case_task","_query":{"_id":"AV0_h2WNFclmdEbzNvAZ"}}},{"_not":{"status":"Deleted"}}]}]}}
The text was updated successfully, but these errors were encountered:
I confirm there is an unconsistency with this API and its documentation. After reading some code, it seems that this API uses a GET method, with a JSON body (which is not good).
But basically, for now, if you call it like following:
GET /api/case/task/:id/log has been fixed.
I also add a new API POST /api/case/task/:taskId/log/_search which accepts a "query" in the request body to filter logs of the task.
Problem using API to get logs of tasks
Request Type
Bug
Work Environment
Problem Description
I am trying to use the
GET /api/case/task/:id/log
but it keeps returning an empty list.However it works if I use
The text was updated successfully, but these errors were encountered: