Expose runner managers in runner REST API
Users need the ability to check the runner managers associated with a runner, for instance to delete any that are offline. We could expose this information:
- in
API::Entities::Ci::RunnerDetailsas an array of strings (we don't have many examples of arrays being returned in entities in our API); or - in a new
GET /runners/:id/managersendpoint, which would return an array of theRunnerManagerentity.
I believe 2 is the most idiomatic approach here, so we should go with that. We also already have an (internal) DELETE /runners/:id/managers/:system_id endpoint.
Edited by Pedro Pombeiro