chore(api): regenerate OpenAPI for the WHOOP measurement types

This commit is contained in:
Marc-André Bombeck committed 2026-06-04 00:50:26 +02:00
1 parent fbd45f3044
commit 86dea3e176
1 file changed
+345
+345
View File
@@ -414,6 +414,14 @@ paths:
- RECOVERY_SCORE
- STRESS_SCORE
- STRAIN_SCORE
- HRV_RMSSD
- DAY_STRAIN
- WORKOUT_STRAIN
- SLEEP_PERFORMANCE
- SLEEP_EFFICIENCY
- SLEEP_CONSISTENCY
- SLEEP_NEED
- ENERGY_EXPENDITURE_KJ
- in: query
name: from
schema:
@@ -562,6 +570,14 @@ paths:
- RECOVERY_SCORE
- STRESS_SCORE
- STRAIN_SCORE
- HRV_RMSSD
- DAY_STRAIN
- WORKOUT_STRAIN
- SLEEP_PERFORMANCE
- SLEEP_EFFICIENCY
- SLEEP_CONSISTENCY
- SLEEP_NEED
- ENERGY_EXPENDITURE_KJ
value:
type: number
measuredAt:
@@ -827,6 +843,7 @@ paths:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
externalId:
type: string
maxLength: 128
@@ -1438,6 +1455,7 @@ paths:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
activeEnergy:
maxItems: 8
type: array
@@ -1449,6 +1467,7 @@ paths:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
walkingRunningDistance:
maxItems: 8
type: array
@@ -1460,6 +1479,7 @@ paths:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
flightsClimbed:
maxItems: 8
type: array
@@ -1471,6 +1491,7 @@ paths:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
sleep:
maxItems: 8
type: array
@@ -1482,6 +1503,7 @@ paths:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
weight:
maxItems: 8
type: array
@@ -1493,6 +1515,7 @@ paths:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
bloodPressure:
maxItems: 8
type: array
@@ -1504,6 +1527,7 @@ paths:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
pulse:
maxItems: 8
type: array
@@ -1515,6 +1539,7 @@ paths:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
bodyFat:
maxItems: 8
type: array
@@ -1526,6 +1551,7 @@ paths:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
bodyTemperature:
maxItems: 8
type: array
@@ -1537,6 +1563,7 @@ paths:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
spo2:
maxItems: 8
type: array
@@ -1548,6 +1575,7 @@ paths:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
hrv:
maxItems: 8
type: array
@@ -1559,6 +1587,7 @@ paths:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
restingHeartRate:
maxItems: 8
type: array
@@ -1570,6 +1599,7 @@ paths:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
vo2Max:
maxItems: 8
type: array
@@ -1581,6 +1611,43 @@ paths:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
skinTemperature:
maxItems: 8
type: array
items:
type: string
enum:
- MANUAL
- WITHINGS
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
respiratoryRate:
maxItems: 8
type: array
items:
type: string
enum:
- MANUAL
- WITHINGS
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
recovery:
maxItems: 8
type: array
items:
type: string
enum:
- MANUAL
- WITHINGS
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
metricPriority:
type: object
properties:
@@ -1595,6 +1662,7 @@ paths:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
activeEnergy:
maxItems: 8
type: array
@@ -1606,6 +1674,7 @@ paths:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
walkingRunningDistance:
maxItems: 8
type: array
@@ -1617,6 +1686,7 @@ paths:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
flightsClimbed:
maxItems: 8
type: array
@@ -1628,6 +1698,7 @@ paths:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
sleep:
maxItems: 8
type: array
@@ -1639,6 +1710,7 @@ paths:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
weight:
maxItems: 8
type: array
@@ -1650,6 +1722,7 @@ paths:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
bloodPressure:
maxItems: 8
type: array
@@ -1661,6 +1734,7 @@ paths:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
pulse:
maxItems: 8
type: array
@@ -1672,6 +1746,7 @@ paths:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
bodyFat:
maxItems: 8
type: array
@@ -1683,6 +1758,7 @@ paths:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
bodyTemperature:
maxItems: 8
type: array
@@ -1694,6 +1770,7 @@ paths:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
spo2:
maxItems: 8
type: array
@@ -1705,6 +1782,7 @@ paths:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
hrv:
maxItems: 8
type: array
@@ -1716,6 +1794,7 @@ paths:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
restingHeartRate:
maxItems: 8
type: array
@@ -1727,6 +1806,7 @@ paths:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
vo2Max:
maxItems: 8
type: array
@@ -1738,6 +1818,43 @@ paths:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
skinTemperature:
maxItems: 8
type: array
items:
type: string
enum:
- MANUAL
- WITHINGS
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
respiratoryRate:
maxItems: 8
type: array
items:
type: string
enum:
- MANUAL
- WITHINGS
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
recovery:
maxItems: 8
type: array
items:
type: string
enum:
- MANUAL
- WITHINGS
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
deviceTypePriority:
type: object
properties:
@@ -2164,6 +2281,14 @@ paths:
- RECOVERY_SCORE
- STRESS_SCORE
- STRAIN_SCORE
- HRV_RMSSD
- DAY_STRAIN
- WORKOUT_STRAIN
- SLEEP_PERFORMANCE
- SLEEP_EFFICIENCY
- SLEEP_CONSISTENCY
- SLEEP_NEED
- ENERGY_EXPENDITURE_KJ
description: "The measurement type to read (single metric — no fan-out). Closed enum: an unknown type 422s."
required: true
description: "The measurement type to read (single metric — no fan-out). Closed enum: an unknown type 422s."
@@ -4008,6 +4133,14 @@ components:
- RECOVERY_SCORE
- STRESS_SCORE
- STRAIN_SCORE
- HRV_RMSSD
- DAY_STRAIN
- WORKOUT_STRAIN
- SLEEP_PERFORMANCE
- SLEEP_EFFICIENCY
- SLEEP_CONSISTENCY
- SLEEP_NEED
- ENERGY_EXPENDITURE_KJ
value:
type: number
unit:
@@ -4024,6 +4157,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
notes:
anyOf:
- type: string
@@ -4314,6 +4448,14 @@ components:
- RECOVERY_SCORE
- STRESS_SCORE
- STRAIN_SCORE
- HRV_RMSSD
- DAY_STRAIN
- WORKOUT_STRAIN
- SLEEP_PERFORMANCE
- SLEEP_EFFICIENCY
- SLEEP_CONSISTENCY
- SLEEP_NEED
- ENERGY_EXPENDITURE_KJ
value:
type: number
unit:
@@ -4330,6 +4472,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
notes:
anyOf:
- type: string
@@ -4548,6 +4691,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
externalId:
anyOf:
- type: string
@@ -4651,6 +4795,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
externalId:
anyOf:
- type: string
@@ -5913,6 +6058,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
activeEnergy:
maxItems: 8
type: array
@@ -5924,6 +6070,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
walkingRunningDistance:
maxItems: 8
type: array
@@ -5935,6 +6082,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
flightsClimbed:
maxItems: 8
type: array
@@ -5946,6 +6094,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
sleep:
maxItems: 8
type: array
@@ -5957,6 +6106,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
weight:
maxItems: 8
type: array
@@ -5968,6 +6118,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
bloodPressure:
maxItems: 8
type: array
@@ -5979,6 +6130,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
pulse:
maxItems: 8
type: array
@@ -5990,6 +6142,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
bodyFat:
maxItems: 8
type: array
@@ -6001,6 +6154,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
bodyTemperature:
maxItems: 8
type: array
@@ -6012,6 +6166,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
spo2:
maxItems: 8
type: array
@@ -6023,6 +6178,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
hrv:
maxItems: 8
type: array
@@ -6034,6 +6190,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
restingHeartRate:
maxItems: 8
type: array
@@ -6045,6 +6202,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
vo2Max:
maxItems: 8
type: array
@@ -6056,6 +6214,43 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
skinTemperature:
maxItems: 8
type: array
items:
type: string
enum:
- MANUAL
- WITHINGS
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
respiratoryRate:
maxItems: 8
type: array
items:
type: string
enum:
- MANUAL
- WITHINGS
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
recovery:
maxItems: 8
type: array
items:
type: string
enum:
- MANUAL
- WITHINGS
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
metricPriority:
type: object
properties:
@@ -6070,6 +6265,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
activeEnergy:
maxItems: 8
type: array
@@ -6081,6 +6277,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
walkingRunningDistance:
maxItems: 8
type: array
@@ -6092,6 +6289,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
flightsClimbed:
maxItems: 8
type: array
@@ -6103,6 +6301,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
sleep:
maxItems: 8
type: array
@@ -6114,6 +6313,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
weight:
maxItems: 8
type: array
@@ -6125,6 +6325,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
bloodPressure:
maxItems: 8
type: array
@@ -6136,6 +6337,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
pulse:
maxItems: 8
type: array
@@ -6147,6 +6349,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
bodyFat:
maxItems: 8
type: array
@@ -6158,6 +6361,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
bodyTemperature:
maxItems: 8
type: array
@@ -6169,6 +6373,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
spo2:
maxItems: 8
type: array
@@ -6180,6 +6385,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
hrv:
maxItems: 8
type: array
@@ -6191,6 +6397,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
restingHeartRate:
maxItems: 8
type: array
@@ -6202,6 +6409,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
vo2Max:
maxItems: 8
type: array
@@ -6213,6 +6421,43 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
skinTemperature:
maxItems: 8
type: array
items:
type: string
enum:
- MANUAL
- WITHINGS
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
respiratoryRate:
maxItems: 8
type: array
items:
type: string
enum:
- MANUAL
- WITHINGS
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
recovery:
maxItems: 8
type: array
items:
type: string
enum:
- MANUAL
- WITHINGS
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
additionalProperties: false
deviceTypePriority:
type: object
@@ -6273,6 +6518,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
activeEnergy:
maxItems: 8
type: array
@@ -6284,6 +6530,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
walkingRunningDistance:
maxItems: 8
type: array
@@ -6295,6 +6542,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
flightsClimbed:
maxItems: 8
type: array
@@ -6306,6 +6554,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
sleep:
maxItems: 8
type: array
@@ -6317,6 +6566,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
weight:
maxItems: 8
type: array
@@ -6328,6 +6578,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
bloodPressure:
maxItems: 8
type: array
@@ -6339,6 +6590,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
pulse:
maxItems: 8
type: array
@@ -6350,6 +6602,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
bodyFat:
maxItems: 8
type: array
@@ -6361,6 +6614,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
bodyTemperature:
maxItems: 8
type: array
@@ -6372,6 +6626,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
spo2:
maxItems: 8
type: array
@@ -6383,6 +6638,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
hrv:
maxItems: 8
type: array
@@ -6394,6 +6650,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
restingHeartRate:
maxItems: 8
type: array
@@ -6405,6 +6662,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
vo2Max:
maxItems: 8
type: array
@@ -6416,6 +6674,43 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
skinTemperature:
maxItems: 8
type: array
items:
type: string
enum:
- MANUAL
- WITHINGS
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
respiratoryRate:
maxItems: 8
type: array
items:
type: string
enum:
- MANUAL
- WITHINGS
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
recovery:
maxItems: 8
type: array
items:
type: string
enum:
- MANUAL
- WITHINGS
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
metricPriority:
type: object
properties:
@@ -6430,6 +6725,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
activeEnergy:
maxItems: 8
type: array
@@ -6441,6 +6737,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
walkingRunningDistance:
maxItems: 8
type: array
@@ -6452,6 +6749,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
flightsClimbed:
maxItems: 8
type: array
@@ -6463,6 +6761,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
sleep:
maxItems: 8
type: array
@@ -6474,6 +6773,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
weight:
maxItems: 8
type: array
@@ -6485,6 +6785,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
bloodPressure:
maxItems: 8
type: array
@@ -6496,6 +6797,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
pulse:
maxItems: 8
type: array
@@ -6507,6 +6809,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
bodyFat:
maxItems: 8
type: array
@@ -6518,6 +6821,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
bodyTemperature:
maxItems: 8
type: array
@@ -6529,6 +6833,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
spo2:
maxItems: 8
type: array
@@ -6540,6 +6845,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
hrv:
maxItems: 8
type: array
@@ -6551,6 +6857,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
restingHeartRate:
maxItems: 8
type: array
@@ -6562,6 +6869,7 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
vo2Max:
maxItems: 8
type: array
@@ -6573,6 +6881,43 @@ components:
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
skinTemperature:
maxItems: 8
type: array
items:
type: string
enum:
- MANUAL
- WITHINGS
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
respiratoryRate:
maxItems: 8
type: array
items:
type: string
enum:
- MANUAL
- WITHINGS
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
recovery:
maxItems: 8
type: array
items:
type: string
enum:
- MANUAL
- WITHINGS
- IMPORT
- APPLE_HEALTH
- COMPUTED
- WHOOP
additionalProperties: false
deviceTypePriority:
type: object