GitLab API icon

GitLab API

Gitlab

Actions1062

Environments → getApiV4ProjectsIdEnvironments

AI-generated

Summary

List environments for a GitLab project by sending a GET request to /api/v4/projects/{id}/environments.

Inputs

None.

Output shape

JSON array of environment objects, per GitLab API response for GET /api/v4/projects/{id}/environments.

Return value is the API response body; the endpoint returns a list of environments for the project.

Links

Discussion