mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-09 10:59:50 -04:00
Adds a POST version of get inbound messages by phone number. Allows us to POST the search so the phone number is hidden
This commit is contained in:
9
app/inbound_sms/inbound_sms_schemas.py
Normal file
9
app/inbound_sms/inbound_sms_schemas.py
Normal file
@@ -0,0 +1,9 @@
|
||||
get_inbound_sms_for_service_schema = {
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"description": "schema for parameters allowed when searching for to field=",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"phone_number": {"type": "string", "format": "phone_number"},
|
||||
"limit": {"type": ["integer", "null"], "minimum": 1}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user