Octopus.Client implements IGet on IVariableSetRepository, which implements getting both a single resource by ID, as well as a list of resources.
However, the API does not seem to actually support getting multiple variable sets at once. The client generates a URL like the following, which returns a 404:
The API documentation doesn’t indicate that it’s possible to get multiple variable sets at the same time (compare https://github.com/OctopusDeploy/OctopusDeploy-Api/wiki/VariableSets to https://github.com/OctopusDeploy/OctopusDeploy-Api/wiki/LibraryVariableSets).
- Is there any way to get multiple variable sets at once, so I don’t have to make multiple API calls?
- If there is no way to do so currently, is that a bug or a design choice?