get_inbound_sms queries from the admin should also allow alphanumerics.

Refactored the call to make the POST and the GET versions of the method
much more distinct.
This commit is contained in:
Leo Hemsted
2017-11-23 16:46:39 +00:00
parent f3d129b0d8
commit 3daf039fbe
3 changed files with 89 additions and 96 deletions

View File

@@ -3,7 +3,7 @@ get_inbound_sms_for_service_schema = {
"description": "schema for parameters allowed when searching for to field=",
"type": "object",
"properties": {
"phone_number": {"type": "string", "format": "phone_number"},
"phone_number": {"type": "string"},
"limit": {"type": ["integer", "null"], "minimum": 1}
}
}