Skip to content

WIP: Implement API endpoint to get all builds in an environment

What does this MR do?

It implements a new API endpoint, GET /projects/:id/environments/:environment_id/builds, which allows the retrieval of all builds belonging to a certain environment

Are there points in the code the reviewer needs to double check?

All of it, essentially, since I have no previous experience w/ Grape and no clue if I did the right thing, especially when checking permissions.

Why was this MR needed?

The motivation for this MR is described in #25084 (moved)

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

#25084 (moved)

Merge request reports