Implement the bundles-containing API endpoint.

parseBool would be a slightly more conventional name for this.
Perhaps follow the wording from strconv.ParseBool?

// parseBool returns the boolean value represented by the string.
// It accepts "1" or "0". Any other value returns an error.