I have added pagination to the Job and Applications GET APIs. Initially, for this I have set default pagination class in settings.py.
In utils app added pagination.py which contains all the functionality of pagination.
Called the function in pagination.py in Job and Applications APIs.
Took page and page_size as query parameters from the user and by taking into consideration the total entries in the dataset/ queryset. If the page goes beyond the total number of pages, then it return as an invalid page number error.