API issue with dockerStartCmd in POST /pods

Hi, I am using the API to spin up pods and I ran into an issue. In the POST /pods endpoint to create a pod, there's the “dockerStartCmd” field that takes in an array of strings. However, when you pass in an array of strings, the start command gets saved as an object with the key “cmd” and a value of an array of strings. Meanwhile, the correct type of the start command value in the dashboard is a single string. So there are actually three different types being used here and they're all incompatible with one another. It seems there is simply no way to properly create a pod with a custom docker start command. Is this an error in the API or am I missing something?
Was this page helpful?