code: @GET
    @Path("/{dataSourceName}/intervals/{interval}/serverview")
    @Produces(MediaType.APPLICATION_JSON)
    @ResourceFilters(DatasourceResourceFilter.class)
    public Response getSegmentDataSourceSpecificInterval(
        @PathParam("dataSourceName") String dataSourceName,
        @PathParam("interval") String interval,
        @QueryParam("partial") final boolean partial
    )
    {
      TimelineLookup<String, SegmentLoadInfo> timeline = serverInventoryView.getTimeline(
          new TableDataSource(dataSourceName)
      );
      final Interval theInterval = Intervals.of(interval.replace('_', '/'));
      if (timeline == null) {
        log.debug("No timeline found for datasource[%s]", dataSourceName);
        return Response.ok(new ArrayList<ImmutableSegmentLoadInfo>()).build();
      }
  
      Iterable<TimelineObjectHolder<String, SegmentLoadInfo>> lookup = timeline.lookupWithIncompletePartitions(theInterval);
      FunctionalIterable<ImmutableSegmentLoadInfo> retval = FunctionalIterable
          .create(lookup).transformCat(
              (TimelineObjectHolder<String, SegmentLoadInfo> input) ->
                  Iterables.transform(
                      input.getObject(),
                      (PartitionChunk<SegmentLoadInfo> chunk) ->
                          chunk.getObject().toImmutableSegmentLoadInfo()
                  )
          );
      return Response.ok(retval).build();
    }
docs: Provides serverView for a datasource and Interval which gives details about servers hosting segments for an interval
  Used by the realtime tasks to fetch a view of the interval they are interested in.