Hi, I’m trying to use the approval deployment feature using the api, how can I get the deployment id in this example?
curl --data "status=approved&comment=Looks good to me" \ --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/projects/1/deployments/1/approval"
what variable should I use?
/projects/:id/deployments/:deployment_id/approval `deployment_id` integer => The ID of the deployment.
how can I get deployment_id ? is it an env variable?