code: func (c *SpaceTrackerQueriesController) List(ctx *app.ListSpaceTrackerQueriesContext) error {
  	var trackerQueries []remoteworkitem.TrackerQuery
  	err := application.Transactional(c.db, func(appl application.Application) error {
  		err := appl.Spaces().CheckExists(ctx, ctx.SpaceID)
  		if err != nil {
  			return err
  		}
  		trackerQueries, err = appl.TrackerQueries().List(ctx, ctx.SpaceID)
  		return err
  	})
  	if err != nil {
  		return jsonapi.JSONErrorResponse(ctx, err)
  	}
  	return ctx.ConditionalEntities(trackerQueries, c.config.GetCacheControlTrackerQueries, func() error {
  		res := &app.TrackerQueryList{}
  		res.Data = ConvertTrackerQueriesToApp(c.db, ctx.Request, trackerQueries)
  		return ctx.OK(res)
  	})
  }
docs: // List runs the list action.