mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-31 15:15:38 -05:00
Update schema to allow include_jobs on get_notis
This commit is contained in:
@@ -74,6 +74,7 @@ get_notifications_request = {
|
||||
"enum": TEMPLATE_TYPES
|
||||
}
|
||||
},
|
||||
"include_jobs": {"enum": ["true", "True"]},
|
||||
"older_than": uuid
|
||||
},
|
||||
"additionalProperties": False,
|
||||
@@ -88,7 +89,7 @@ get_notifications_response = {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"ref": get_notification_response
|
||||
"$ref": "#/definitions/notification"
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
@@ -106,7 +107,11 @@ get_notifications_response = {
|
||||
}
|
||||
},
|
||||
"additionalProperties": False,
|
||||
"required": ["notifications", "links"]
|
||||
"required": ["notifications", "links"],
|
||||
"definitions": {
|
||||
"notification": get_notification_response
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
post_sms_request = {
|
||||
|
||||
Reference in New Issue
Block a user