Hello OD community :-),
when perform a API request to sample a table, the amount key value doesn’t seem to affect the response.
For example the following request:
https://internal.onedata.de/api/v1/data/239bbe4d-e349-488a-a2cc-37313438e963/samples?amount=25
returns 15 values.
I’m new to API requests, am I doing something wrong?
Thanks
samples are cached. There is some logic that decides whether to recompute the samples when a request comes in or whether the cached value can be used. Try to delete the existing samples by sending a DELETE request to https://internal.onedata.de/api/v1/data/239bbe4d-e349-488a-a2cc-37313438e963/samples. You’re not risking to lose something by sending that DELETE request because you only delete cached data.
1 Like