OBJECT

Site

link GraphQL Schema definition

  • type Site {
  • aggregateMetrics: [AggregateMeasurement!]!
  • createdAt: ISO8601DateTime!
  • # hasCompletedSnapshots is deprecated. Please use hasRecentlyCompletedSnapshots
  • # instead
  • hasCompletedSnapshots: Boolean!
  • hasRecentlyCompletedSnapshots: Boolean!
  • location: Location!
  • # Arguments
  • # measurement: The type of metric to retrieve metrics for
  • metric(measurement: MetricTag): Metric!
  • # Arguments
  • # uuid: The UUID of the metric budget to retrieve
  • metricBudget(uuid: String): MetricBudget
  • # Arguments
  • # first: Returns the first _n_ elements from the list.
  • # after: Returns the elements in the list that come after the
  • # specified cursor.
  • # last: Returns the last _n_ elements from the list.
  • # before: Returns the elements in the list that come before the
  • # specified cursor.
  • # metric: The type of metric to retrieve metrics for
  • metricBudgets(
  • first: Int,
  • after: String,
  • last: Int,
  • before: String,
  • metric: MetricTag
  • ): MetricBudgetConnection!
  • # Arguments
  • # measurement: The type of metric to retrieve metrics for
  • # page: The UUID of the page to retrieve metrics for
  • metricsHistory(measurement: MetricTag!, page: String): [MetricHistory!]!
  • # Arguments
  • # measurement: The type of metric to retrieve metrics for
  • # page: The UUID of the page to retrieve metrics for
  • metricsTimeseries(measurement: MetricTag!, page: String): MetricTimeseriesSet!
  • name: String!
  • organisation: Organisation!
  • # Arguments
  • # slug: The slug of the page to retrieve
  • # uuid: the UUID of the page to retrieve
  • page(slug: String, uuid: String): Page
  • pages: [Page!]!
  • # Arguments
  • # mobile: Retrieve mobile images (default: false)
  • previewImages(mobile: Boolean): [PreviewImage!]!
  • scheduleAnchor: Int
  • scheduleInterval: ScheduleInterval!
  • slug: String!
  • # Arguments
  • # id: The ID of the snapshot to retrieve
  • snapshot(id: Int!): Snapshot
  • snapshots: [Snapshot!]!
  • # Arguments
  • # uuid: [Not documented]
  • testProfile(uuid: String!): TestProfile
  • testProfiles: [TestProfile!]!
  • # Arguments
  • # duration_in_days: The duration to retrieve measurements for
  • # (valid options: 7 or 30)
  • # metrics: The metrics to retrieve measurements for
  • timeseries(duration_in_days: Int, metrics: [MetricTag!]): TimeseriesSet!
  • updatedAt: ISO8601DateTime!
  • viewableMetrics: [String!]!
  • }