func (ir *imageRouter) getImagesHistory(ctx context.Context, w http.ResponseWriter, r *http.Request, vars map[string]string) error {
    history, err := ir.backend.ImageHistory(ctx, vars["name"])
    if err != nil {
        return err
    }