title: How to rollout restart deployment through the API?
body: <p>Kubernetes 1.15 introduced the command</p>
  
  <pre><code>kubectl rollout restart deployment my-deployment
  </code></pre>
  
  <p>Which would be the endpoint to call through the API?
  For example if I want to scale a deployment I can call</p>
  
  <pre><code>PATCH /apis/apps/v1/namespaces/my-namespace/deployments/my-deployment/scale
  </code></pre>