Allow size of pages in V2 api to be configurable

This commit is contained in:
Joseph Schorr 2018-02-01 12:57:04 -05:00
parent 1b065c27e0
commit eae9175950
3 changed files with 8 additions and 1 deletions

View file

@ -383,6 +383,10 @@ CONFIG_SCHEMA = {
'description': 'The types of avatars to display, either generated inline (local) or Gravatar (gravatar)',
'enum': ['local', 'gravatar'],
},
'V2_PAGINATION_SIZE': {
'type': 'number',
'description': 'The number of results returned per page in V2 registry APIs',
},
# Time machine and tag expiration settings.
'FEATURE_CHANGE_TAG_EXPIRATION': {