I have created a restapi via Drupal 8's Views. But the json file doesn't contain the pagination info. Wondering how this can be done in Drupal 8. I can't possibly load 10k of articles in one single json, so I need the pagination to help to load part by part. Please advise.

json structure that contains pagination info.
ref: https://knpuniversity.com/screencast/rest-ep2/pagination