API Support for container functions came with T4880.
I tried to retrieve existing images aka show container images via the API (https://vyos-host/container-image)
unfortunately only the header is returned while the show command on the console works correct.
(Also the output is not json format)
vyos@vyos:~$ curl -k --location --request POST 'https://127.0.0.1/container-image' --form data='{"op": "show"}' --form key='test' --header "Accept: application/json" {"success": true, "data": "REPOSITORY TAG IMAGE ID CREATED SIZE\ndocker.io/pschiffe/pdns-recursor latest 2d51170c95fe 6 months ago 259 MB\n", "error": null} vyos@vyos:~$ show container image REPOSITORY TAG IMAGE ID CREATED SIZE docker.io/pschiffe/pdns-recursor latest 2d51170c95fe 6 months ago 259 MB
/Markus