Thank you, boundsOnly
works perfectly and is enough for me.
FYI request http://intervals.icu/api/v1/activity/i47602392/map?boundsOnly=true&bounds=left
returns
{
"status": 500,
"error": "org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'float[]'; nested exception is java.lang.NumberFormatException: For input string: \"left\""
}
and for http://intervals.icu/api/v1/activity/i47602392/map?boundsOnly=true&bounds=0
{
"status": 422,
"error": "Expected left, top, right, bottom for bounds"
}
Am I doing smth wrong?