action lgtm_get_metric { label: "Get the computed values of the specified metric" description: "LGTM administrators can download usage data using this endpoint. The response includes up to 1000 values for the specified metric and reports the date-time that each value was calculated. There is normally one value per day.\n" provider: lgtm method: GET path: "/system/metrics/{metric-id}" encoding: json input: { type: "object" properties: { "metric-id": { type: "string" } } required: ["metric-id"] additionalProperties: false } output: { type: "object" properties: { measurements: { type: "array" description: "A time series of values taken by the metric at different timestamps." items: { type: "object" properties: { timestamp: { type: "string" format: "date-time" description: "The date and time when this metric was computed." } value: { type: "number" description: "The value of this metric at the timestamp reported." } } } } "metric-id": { type: "string" description: "The identifier by which this metric is referenced in the API." } } } }