Class TimeseriesClient


  • public class TimeseriesClient
    extends java.lang.Object
    • Constructor Detail

      • TimeseriesClient

        public TimeseriesClient​(ClientOptions clientOptions)
    • Method Detail

      • withRawResponse

        public RawTimeseriesClient withRawResponse()
        Get responses with HTTP metadata like headers
      • lastSeenV1

        public java.util.Optional<TiveDataPoint1> lastSeenV1​(TimeseriesLastSeenV1Request request)
        Returns the most recent Tive data point for a shipment. Scoped to the caller's organization. | authz: min_org_role=operator | () -> (TiveDataPoint1 | None)
      • lastSeenV1

        public java.util.Optional<TiveDataPoint1> lastSeenV1​(TimeseriesLastSeenV1Request request,
                                                             RequestOptions requestOptions)
        Returns the most recent Tive data point for a shipment. Scoped to the caller's organization. | authz: min_org_role=operator | () -> (TiveDataPoint1 | None)
      • dataPointsV1

        public TiveTimeseriesRes dataPointsV1​(TimeseriesDataPointsV1Request request)
        Returns raw Tive data points for a shipment within the given time range. Scoped to the caller's organization. | authz: min_org_role=operator | () -> (TiveTimeseriesRes)
      • syncV1

        public TiveTimeseriesSyncRes syncV1​(TimeseriesSyncV1Request request)
        Fetches new Tive tracker data points from the Tive API for a shipment and stores them in our timeseries collection. Uses a high-water-mark strategy with overlap dedup to prevent duplicate inserts. | authz: min_org_role=operator | () -> (TiveTimeseriesSyncRes)
      • syncV1

        public TiveTimeseriesSyncRes syncV1​(TimeseriesSyncV1Request request,
                                            RequestOptions requestOptions)
        Fetches new Tive tracker data points from the Tive API for a shipment and stores them in our timeseries collection. Uses a high-water-mark strategy with overlap dedup to prevent duplicate inserts. | authz: min_org_role=operator | () -> (TiveTimeseriesSyncRes)