Every deviation of a date range as a CSV file
curl --request GET \ --url https://api.whatsbuilt.fi/v1/projects/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/deviations.csv \ --header 'Authorization: Bearer <token>'The same CSV file as the app’s export, one row per deviation; project admins only. A project writes at most 20 of these files an hour, from the app and /v1 together. A range too large to build within 20 seconds answers 400 VALIDATION_ERROR with the reason TIME_LIMIT in details and writes no file: page through getDeviationReport with by=deviation instead.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”First day, YYYY-MM-DD in Finnish time; 29 days before to by default
Last day, YYYY-MM-DD in Finnish time; today by default
Responses
Section titled “Responses”CSV file
VALIDATION_ERROR for a malformed id or parameter
The error body of every /v1 answer of 400 or more.
object
A sentence for people; it may change
Part of the contract
What the code names, where it names something
The X-Request-Id of the call
Example generated
{ "error": "example", "code": "example", "details": "example", "request_id": "example"}Missing, malformed, expired or revoked token
The error body of every /v1 answer of 400 or more.
object
A sentence for people; it may change
Part of the contract
What the code names, where it names something
The X-Request-Id of the call
Example generated
{ "error": "example", "code": "example", "details": "example", "request_id": "example"}As above, and INSUFFICIENT_PROJECT_ROLE when the integration is not a project admin
The error body of every /v1 answer of 400 or more.
object
A sentence for people; it may change
Part of the contract
What the code names, where it names something
The X-Request-Id of the call
Example generated
{ "error": "example", "code": "example", "details": "example", "request_id": "example"}RATE_LIMITED; wait for Retry-After seconds
The error body of every /v1 answer of 400 or more.
object
A sentence for people; it may change
Part of the contract
What the code names, where it names something
The X-Request-Id of the call
Example generated
{ "error": "example", "code": "example", "details": "example", "request_id": "example"}