I know Kubernetes has rest API to automate deploy docker image on it. and i know how to use it by Gitlab runner. I wonder if portainer has this feature to call a rest API and deploy my image on it ? I mean how to use recreate container or create container like in portainer ui as a pi service ? Is there any better way to do this?