Class TripResource


  • @Path("/metric/realtime/trip")
    public class TripResource
    extends MetricResource
    • Constructor Detail

      • TripResource

        public TripResource()
    • Method Detail

      • getTotalRecords

        @Path("{agencyId}/total")
        @GET
        @Produces("application/json")
        public javax.ws.rs.core.Response getTotalRecords​(@PathParam("agencyId")
                                                         String agencyId,
                                                         @QueryParam("feedId")
                                                         String feedId)
      • getMatchedTripCount

        @Path("{agencyId}/matched")
        @GET
        @Produces("application/json")
        public javax.ws.rs.core.Response getMatchedTripCount​(@PathParam("agencyId")
                                                             String agencyId,
                                                             @QueryParam("feedId")
                                                             String feedId)
      • getUnmatchedTrips

        @Path("{agencyId}/unmatched")
        @GET
        @Produces("application/json")
        public javax.ws.rs.core.Response getUnmatchedTrips​(@PathParam("agencyId")
                                                           String agencyId,
                                                           @QueryParam("feedId")
                                                           String feedId)
      • getCancelledTrips

        @Path("{agencyId}/cancelled")
        @GET
        @Produces("application/json")
        public javax.ws.rs.core.Response getCancelledTrips​(@PathParam("agencyId")
                                                           String agencyId,
                                                           @QueryParam("feedId")
                                                           String feedId)
      • getAddedTrips

        @Path("{agencyId}/added")
        @GET
        @Produces("application/json")
        public javax.ws.rs.core.Response getAddedTrips​(@PathParam("agencyId")
                                                       String agencyId,
                                                       @QueryParam("feedId")
                                                       String feedId)
      • getUnmatchedTripIds

        @Path("{agencyId}/unmatched-ids")
        @GET
        @Produces("application/json")
        public javax.ws.rs.core.Response getUnmatchedTripIds​(@PathParam("agencyId")
                                                             String agencyId,
                                                             @QueryParam("feedId")
                                                             String feedId)
      • getCancelledTripIds

        @Path("{agencyId}/cancelled-ids")
        @GET
        @Produces("application/json")
        public javax.ws.rs.core.Response getCancelledTripIds​(@PathParam("agencyId")
                                                             String agencyId,
                                                             @QueryParam("feedId")
                                                             String feedId)
      • getAddedTripIds

        @Path("{agencyId}/added-ids")
        @GET
        @Produces("application/json")
        public javax.ws.rs.core.Response getAddedTripIds​(@PathParam("agencyId")
                                                         String agencyId,
                                                         @QueryParam("feedId")
                                                         String feedId)
      • getScheduleRealtimeTripsDelta

        @Path("{agencyId}/schedule-realtime-delta")
        @GET
        @Produces("application/json")
        public javax.ws.rs.core.Response getScheduleRealtimeTripsDelta​(@PathParam("agencyId")
                                                                       String agencyId,
                                                                       @QueryParam("feedId")
                                                                       String feedId,
                                                                       @QueryParam("routeId")
                                                                       String routeId)
      • getBusesInServicePercent

        @Path("{agencyId}/buses-in-service-percent")
        @GET
        @Produces("application/json")
        public javax.ws.rs.core.Response getBusesInServicePercent​(@PathParam("agencyId")
                                                                  String agencyId,
                                                                  @QueryParam("feedId")
                                                                  String feedId,
                                                                  @QueryParam("routeId")
                                                                  String routeId)