Migrated from Redmine #838 | Author: Binjie Luo Status: New | Priority: Immediate, there is BUG! | Created: 2022-01-28
I called get locations endpoint from https://user-api-v2.simplybook.me/admin/locations
There are actually 3 locations returned, but items_count under the meta data is 1, is that expected?
{
“data”: [
{
“id”: 1,
“name”: “WHOOP Labs”,
“description”: “
Hi,
Please note that it contains metadata, but the locations endpoint will return all records.
You can split by pages on your side and cache the result.
Do you mean that no matter what we put on the page and on_page, all records will still be returned? Then just curious what the meta data is for? I am working on getting all entries from the paginated records, if all records are returned for each call, then that will be the all entries.
Do you mean that no matter what we put on the page and on_page, all records will still be returned? Then just curious what the meta data is for? I am working on getting all entries from the paginated records, if all records are returned for each call, then that will be the all entries.
But the get bookings list endpoint is looking fine though. It will only return 3 bookings if the on_page is set to 3.