Postgre / API and Mass Push Config Output Search
Posted: Tue Apr 30, 2024 3:01 pm
Hello, first time caller, long term listener.
I've got a Unimus implementation that I've been trying to get results from the API for mass push configs, but am having issues getting data out.
I can run my mass config push in the Unimus UI without problem, and see output in the output groupings, so I know the actual function is working.
When I follow the instructions Tomas provided here: viewtopic.php?t=1531 to try to get output from the API, I grab the job uuid, and API query against /api/v3/jobs/push/{uuid}/result, but when I do so, either from a REST api call, or even from the SwaggerUI I receive 404 errors:
{
"errorCode": "ENTITY_NOT_FOUND",
"details": [
"Push preset not found"
]
}
I've confirmed against postgre in the push_preset table, the name/UUID matches what I see in the /api/v3/jobs/tasks/status query.
Also, when I dig through postgre, I can't seem to find the actual data output either, I've dug through the various push tables without luck. It looks like push_output_group should be where I'm looking, but that only shows output OID.
Help? I just want to see my device-level output from a mass-config-push via either sql or (more ideally) API query.
I've got a Unimus implementation that I've been trying to get results from the API for mass push configs, but am having issues getting data out.
I can run my mass config push in the Unimus UI without problem, and see output in the output groupings, so I know the actual function is working.
When I follow the instructions Tomas provided here: viewtopic.php?t=1531 to try to get output from the API, I grab the job uuid, and API query against /api/v3/jobs/push/{uuid}/result, but when I do so, either from a REST api call, or even from the SwaggerUI I receive 404 errors:
{
"errorCode": "ENTITY_NOT_FOUND",
"details": [
"Push preset not found"
]
}
I've confirmed against postgre in the push_preset table, the name/UUID matches what I see in the /api/v3/jobs/tasks/status query.
Also, when I dig through postgre, I can't seem to find the actual data output either, I've dug through the various push tables without luck. It looks like push_output_group should be where I'm looking, but that only shows output OID.
Help? I just want to see my device-level output from a mass-config-push via either sql or (more ideally) API query.