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:
Martyn Inglis
2017-06-09 10:34:02 +01:00
parent 03c6e74c46
commit 7dccf796dd
4 changed files with 196 additions and 14 deletions

View 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}
}
}