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

Commit

Permalink
Add Code Snippets to Spec Files
Browse files Browse the repository at this point in the history
  • Loading branch information
DX-Bandwidth committed Mar 28, 2023
1 parent e5ebe07 commit 4caccbf
Show file tree
Hide file tree
Showing 3 changed files with 330 additions and 468 deletions.
10 changes: 10 additions & 0 deletions site/specs/global.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1232,6 +1232,16 @@ paths:
description: >-
Indicating if you want the numbers returned in your results to
consecutive only, or not. (true/false)
- name: digits
in: query
description: >-
You can search a specific phone number in the Bandwidth inventory
with a specific pattern e.g. 123.
schema:
type: string
minLength: 2
maxLength: 10
example: 123
responses:
'200':
description: successful operation
Expand Down
9 changes: 8 additions & 1 deletion site/specs/messaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1794,6 +1794,11 @@ components:
example: custom tag
priority:
$ref: '#/components/schemas/priorityEnum'
expiration:
type: string
format: date-time
description: The expiration date-time set by the user.
example: '2021-02-01T11:29:18-05:00'
messageRequest:
title: MessageRequest
type: object
Expand Down Expand Up @@ -1852,10 +1857,12 @@ components:
$ref: '#/components/schemas/priorityEnum'
expiration:
type: string
format: date-time
description: >-
A string with the date/time value that the message will
automatically expire by. This must be a valid RFC-3339 value, e.g.,
2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00.
2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00. Must be a
date-time in the future.
example: '2021-02-01T11:29:18-05:00'
inboundMessageCallback:
description: Inbound Message Callback
Expand Down
Loading

0 comments on commit 4caccbf

Please sign in to comment.