from rest_framework.pagination import PageNumberPagination


class BluebottlePagination(PageNumberPagination):
    page_size = 10

from rest_framework.pagination import PageNumberPagination


class BluebottlePagination(PageNumberPagination):
    page_size = 10
    page_size_query_param = 'page_size'

Make it possible to send a page_size parameter to all paged endpoints.
Make it possible to send a page_size parameter to all paged endpoints.

BB-9512 #resolve

  from rest_framework.pagination import PageNumberPagination
  
  
  class BluebottlePagination(PageNumberPagination):
      page_size = 10
+     page_size_query_param = 'page_size'
  
Make it possible to send a page_size parameter to all paged endpoints.
## Code Before:
from rest_framework.pagination import PageNumberPagination


class BluebottlePagination(PageNumberPagination):
    page_size = 10

## Instruction:
Make it possible to send a page_size parameter to all paged endpoints.
## Code After:
from rest_framework.pagination import PageNumberPagination


class BluebottlePagination(PageNumberPagination):
    page_size = 10
    page_size_query_param = 'page_size'
