Get project variable
documentedRetrieve a specific project variable by key.
GET /projects/:id/variables/:keyProjectsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://gitlab.com/api/v4/projects/{{$id}}/variables/{{$key}}?filter[environment_scope]={{environment_scope}}" \
-X GET \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "PRIVATE-TOKEN: {{GITLAB_API_KEY}}" \
-H "Accept: application/json"