Skip to content
This repository was archived by the owner on Nov 29, 2023. It is now read-only.

Commit 4caccbf

Browse files
committed
Add Code Snippets to Spec Files
1 parent e5ebe07 commit 4caccbf

File tree

3 files changed

+330
-468
lines changed

3 files changed

+330
-468
lines changed

site/specs/global.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1232,6 +1232,16 @@ paths:
12321232
description: >-
12331233
Indicating if you want the numbers returned in your results to
12341234
consecutive only, or not. (true/false)
1235+
- name: digits
1236+
in: query
1237+
description: >-
1238+
You can search a specific phone number in the Bandwidth inventory
1239+
with a specific pattern e.g. 123.
1240+
schema:
1241+
type: string
1242+
minLength: 2
1243+
maxLength: 10
1244+
example: 123
12351245
responses:
12361246
'200':
12371247
description: successful operation

site/specs/messaging.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1794,6 +1794,11 @@ components:
17941794
example: custom tag
17951795
priority:
17961796
$ref: '#/components/schemas/priorityEnum'
1797+
expiration:
1798+
type: string
1799+
format: date-time
1800+
description: The expiration date-time set by the user.
1801+
example: '2021-02-01T11:29:18-05:00'
17971802
messageRequest:
17981803
title: MessageRequest
17991804
type: object
@@ -1852,10 +1857,12 @@ components:
18521857
$ref: '#/components/schemas/priorityEnum'
18531858
expiration:
18541859
type: string
1860+
format: date-time
18551861
description: >-
18561862
A string with the date/time value that the message will
18571863
automatically expire by. This must be a valid RFC-3339 value, e.g.,
1858-
2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00.
1864+
2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00. Must be a
1865+
date-time in the future.
18591866
example: '2021-02-01T11:29:18-05:00'
18601867
inboundMessageCallback:
18611868
description: Inbound Message Callback

0 commit comments

Comments
 (0)