We are creating a dashboard that displays all the jobs run by a user and their statuses. I couldn’t find an API to retrieve the jobs by username. Is there a way to do this?
Thanks!
We are creating a dashboard that displays all the jobs run by a user and their statuses. I couldn’t find an API to retrieve the jobs by username. Is there a way to do this?
Thanks!
This API endpoint provides a ‘createdBy’. Though, if you are trying to capture LCM tasks associated with Instance provisioning, it may not populate (I’m unsure).
https://apidocs.morpheusdata.com/reference/listjobexecutions
Thanks @cbunge, could you help to formulate the phrase and name.
I tried, is this correct syntax?
api/job-executions?name=createdBy&phrase=Dong
I misread, I was hoping if I can filter by createdBy within GET string.
If you’re creating a dashboard with a Morpheus plugin, you could probably just query the database and filter off of what you need. The API does not currently support filtering by createdBy name.