Resolve "API Getter for individual pipeline schedule variables"

What does this MR do and why?

Add getter API for individual pipeline schedule variables

References

Screenshots or screen recordings

Before After

How to set up and validate locally

  1. Send a POST request to create schedule variable
curl --request POST \                                                                                                                                                                                          
  --header "PRIVATE-TOKEN: glpat-token" \
  --url "http://gdk.test:3000/api/v4/projects/gitlab-org%2Fgitlab-test/pipeline_schedules/14/variables" \
  --form "key=NEW_VARIABLE" \
  --form "value=new value"
  1. Send GET request API to get schedule variable
curl --request GET \                                                                                                                                                                                          
  --header "PRIVATE-TOKEN: glpat-token" \
  --url "http://gdk.test:3000/api/v4/projects/gitlab-org%2Fgitlab-test/pipeline_schedules/14/variables/NEW_VARIABLE"

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #386005 (closed)

Edited by long nguyen huy

Merge request reports

Loading