[ARCHIVED] how to get total page of students list,teacher list,users list???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2020
08:49 AM
Dear Pro,
if I use API to show json array every lists below:
https://lsts.instructure.com/api/v1/accounts/1/users?per_page=100&page=1&role_filter_id=4&sort=usern... --> list of teachers having 106 rows, if run this link just show 100 account of teachers. If want to show more then I must type page=2 such as:
how to do for know in teachers account having how much total rows = total page => I set pagination on php to click [1] [2] [3]......[n]
please tell me, thank pro!
====================================================
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.