ConfigurationΒΆ

You have access to 5 configration keys:

  • PAGE_SIZE: the number of items in a page (default is 30)
  • MAX_PAGE_SIZE: the maximum page size. If you specify a page size greater than this value you will receive 400 Bad Request response.
  • MAX_INCLUDE_DEPTH: the maximum length of an include through schema relationships
  • ALLOW_DISABLE_PAGINATION: if you want to disallow to disable pagination you can set this configuration key to False
  • CATCH_EXCEPTIONS: if you want flask_rest_jsonapi to catch all exceptions and return as JsonApiException (default is True)