Swirrl / drafter

A clojure service and a client to it for exposing data management operations to PMD
Other
0 stars 0 forks source link

Add job-id to async job #578

Open RickMoynihan opened 2 years ago

RickMoynihan commented 2 years ago

Async jobs returned by our routes look like this:

{:type "ok",
 :finished-job
 "/v1/status/finished-jobs/74785c5f-8705-4257-87ae-08ce1cf78957",
 :restart-id "65d6c23a-a9c9-4e7f-8ec1-a5bd546b09de"}

It would be good if they also included the :job-id as a separate field, so you can more easily use this with openapi clients.