antonnoble_2014
Contributor
Contributor

vROPs 6.2 does not display recent tasks when using the /api/tasks endpoint

I've opened an SR with VMware support about this, but I'm just seeing if others might have experienced the same issue. Basically, any of the tasks you can see in Recent Tasks, are not available for querying when using the /api/tasks endpoint.... This seems broken, because if I execute an action using the /api/actions endpoint, the response provided is a corresponding Task ID to the action I just executed. I thusly, should be able to feed that ID to the /api/tasks/{taskId} endpoint and it should return some information about the task. In this case no only does it not provide any response with useful data, if I use /api/tasks to get a list of all tasks...nothing is listed.

0 Kudos
1 Reply
MichaelRyom
Hot Shot
Hot Shot

Havent played with this part of the API before, but the bug seems to be real, at least I have the same issue in my environment

Blogging at https://MichaelRyom.dk
0 Kudos