Paginated GET response with total records, total pages, current_page_size, current_page_number fields

Looking to simulate an enterprise api that returns not only an array of json of objects but the following properties to handle standard pagination : total records, total pages, current_page_size, current page number. I found this link (Paginated Mock APIs using Mockaroo | by Venkateswarlu Vajrala | Medium) but it does not result in a standard rest api approach to pagination.