mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-05-09 17:56:27 +02:00
Add strategy for more efficient pagination in API listing of entries by using before_id and after_id wheres instead of pagination if possible
This commit is contained in:
parent
04b0f1267a
commit
0e11bcda17
10 changed files with 156 additions and 28 deletions
|
@ -214,6 +214,8 @@
|
|||
'get_entries' => [
|
||||
'/api/list/{entry_type}/',
|
||||
'/api/list/{entry_type}/{page}/',
|
||||
'/api/list/{entry_type}/after/{after_id}/',
|
||||
'/api/list/{entry_type}/before/{before_id}/',
|
||||
],
|
||||
'get_usage' => '/api/usage/',
|
||||
'get_sms_status_stats' => '/api/stats/sms-status/',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue