Create measurements
Records measurements for between 1 and 100 animal and day combinations on the study, computing each calculation from the variables supplied. The request is validated as a whole; if any item is invalid, none are created. A study that is not on your team is reported as a validation error rather than as forbidden.
Authentication
AuthorizationBearer
OAuth authentication of the form <token>.
Path parameters
studyId
The unique identifier of the study.
Headers
X-Studies-Api-Version
Request
The measurements to record.
animal_id
The animal measured. Must be on the study.
measured_at
The day the measurements were taken.
calculations
The calculations to record, each listed at most once. At least one variable must be supplied across them.
Response headers
X-RateLimit-Limit
The number of requests permitted in the current rate limit window.
X-RateLimit-Remaining
The number of requests still available in the current rate limit window. When several limits apply, this reflects the per-API-key limit, so a request can be rejected while this value is above zero.
X-RateLimit-Reset
The number of seconds until the current rate limit window resets.
Response
The created measurements.
data
The measurements.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error