mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-01 22:51:10 -04:00
Functionality added to download all on activity page. All tests passing.
This commit is contained in:
@@ -21,10 +21,18 @@ class NotificationApiClient(BaseAPIClient):
|
||||
params=params
|
||||
)
|
||||
|
||||
def get_notifications_for_service(self, service_id, job_id=None, template_type=None, status=None, page=None):
|
||||
def get_notifications_for_service(self,
|
||||
service_id,
|
||||
job_id=None,
|
||||
template_type=None,
|
||||
status=None,
|
||||
page=None,
|
||||
page_size=None):
|
||||
params = {}
|
||||
if page is not None:
|
||||
params['page'] = page
|
||||
if page_size is not None:
|
||||
params['page_size'] = page_size
|
||||
if template_type is not None:
|
||||
params['template_type'] = template_type
|
||||
if status is not None:
|
||||
|
||||
Reference in New Issue
Block a user