Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Bandwidth.Standard.sln
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{0549B4D2-AA34-4364-B222-071E3996A3CD}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{BB69D1F9-DD5B-4C98-A9DA-F49165DCD0DA}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard.Test", "src\Bandwidth.Standard.Test\Bandwidth.Standard.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
EndProject
Expand All @@ -12,10 +12,10 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{0549B4D2-AA34-4364-B222-071E3996A3CD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0549B4D2-AA34-4364-B222-071E3996A3CD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0549B4D2-AA34-4364-B222-071E3996A3CD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0549B4D2-AA34-4364-B222-071E3996A3CD}.Release|Any CPU.Build.0 = Release|Any CPU
{BB69D1F9-DD5B-4C98-A9DA-F49165DCD0DA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BB69D1F9-DD5B-4C98-A9DA-F49165DCD0DA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BB69D1F9-DD5B-4C98-A9DA-F49165DCD0DA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BB69D1F9-DD5B-4C98-A9DA-F49165DCD0DA}.Release|Any CPU.Build.0 = Release|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand Down
52 changes: 43 additions & 9 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,10 @@ paths:
url: https://messaging.bandwidth.com/api/v2
/users/{accountId}/messages:
get:
description: Returns a list of messages based on query parameters.
description: |
Returns a list of messages based on query parameters.

**Rate Limit:** This endpoint is rate limited to 3500 requests per 5 minutes per Source IP address. Exceeding the limit returns HTTP 429 with a `Retry-After` header.
operationId: listMessages
parameters:
- description: Your Bandwidth Account ID.
Expand Down Expand Up @@ -699,6 +702,12 @@ paths:
schema:
$ref: '#/components/schemas/messagingRequestError'
description: Not Found
"405":
content:
application/json:
schema:
$ref: '#/components/schemas/messagingRequestError'
description: Method Not Allowed
"415":
content:
application/json:
Expand All @@ -708,9 +717,21 @@ paths:
"429":
content:
application/json:
example:
type: rate_limit_exceeded
description: Rate limit exceeded. Wait for Retry-After time before
sending another request.
schema:
$ref: '#/components/schemas/messagingRequestError'
description: Too Many Requests
headers:
Retry-After:
description: The number of seconds to wait before retrying the request.
explode: false
schema:
example: 300
type: integer
style: simple
"500":
content:
application/json:
Expand Down Expand Up @@ -7409,6 +7430,24 @@ components:
schema:
$ref: '#/components/schemas/multiChannelError'
description: Internal Server Error
listMessagesTooManyRequestsError:
content:
application/json:
example:
type: rate_limit_exceeded
description: Rate limit exceeded. Wait for Retry-After time before sending
another request.
schema:
$ref: '#/components/schemas/messagingRequestError'
description: Too Many Requests
headers:
Retry-After:
description: The number of seconds to wait before retrying the request.
explode: false
schema:
example: 300
type: integer
style: simple
createCallResponse:
content:
application/json:
Expand Down Expand Up @@ -8735,7 +8774,9 @@ components:
rbmMessageMedia:
properties:
media:
$ref: '#/components/schemas/rbmMessageContentFile'
items:
$ref: '#/components/schemas/rbmMessageContentFile'
type: array
suggestions:
description: An array of suggested actions for the recipient.
items:
Expand Down Expand Up @@ -13623,13 +13664,11 @@ components:
description: Unique identifier (UUID) generated by Bandwidth to assist in tracking
the verification status of a toll-free number - included in all webhook payloads.
example: acde070d-8c4c-4f0d-9d8a-162843c10333
format: uuid
type: string
internalTicketNumberForWebhook:
description: Unique identifier (UUID) generated by Bandwidth to assist in tracking
the verification status of a toll-free number.
example: acde070d-8c4c-4f0d-9d8a-162843c10333
format: uuid
type: string
businessContactPhoneNumber:
description: Contact telephone number
Expand Down Expand Up @@ -13929,7 +13968,6 @@ components:
description: Unique identifier (UUID) generated by Bandwidth to assist in
tracking the verification status of a toll-free number.
example: acde070d-8c4c-4f0d-9d8a-162843c10333
format: uuid
type: string
type: object
verificationDenialWebhook:
Expand Down Expand Up @@ -13965,7 +14003,6 @@ components:
description: Unique identifier (UUID) generated by Bandwidth to assist in
tracking the verification status of a toll-free number.
example: acde070d-8c4c-4f0d-9d8a-162843c10333
format: uuid
type: string
phoneNumber:
description: Toll-free telephone number in E.164 format.
Expand Down Expand Up @@ -14015,7 +14052,6 @@ components:
description: Unique identifier (UUID) generated by Bandwidth to assist in
tracking the verification status of a toll-free number.
example: acde070d-8c4c-4f0d-9d8a-162843c10333
format: uuid
type: string
type: object
blockedWebhook:
Expand All @@ -14038,7 +14074,6 @@ components:
description: Unique identifier (UUID) generated by Bandwidth to assist in
tracking the verification status of a toll-free number.
example: acde070d-8c4c-4f0d-9d8a-162843c10333
format: uuid
type: string
blocked:
description: Whether a Toll-Free Verification is blocked. This attribute
Expand Down Expand Up @@ -14522,7 +14557,6 @@ components:
tracking the verification status of a toll-free number - included in all
webhook payloads.
example: acde070d-8c4c-4f0d-9d8a-162843c10333
format: uuid
type: string
declineReasonDescription:
description: Explanation for why a verification request was declined.
Expand Down
33 changes: 28 additions & 5 deletions bandwidth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,13 @@ paths:
/users/{accountId}/messages:
get:
summary: List Messages
description: Returns a list of messages based on query parameters.
description: >
Returns a list of messages based on query parameters.


**Rate Limit:** This endpoint is rate limited to 3500 requests per 5
minutes per Source IP address. Exceeding the limit returns HTTP 429 with
a `Retry-After` header.
operationId: listMessages
tags:
- Messages
Expand Down Expand Up @@ -207,10 +213,12 @@ paths:
$ref: '#/components/responses/messagingForbiddenError'
'404':
$ref: '#/components/responses/messagingNotFoundError'
'405':
$ref: '#/components/responses/messagingMethodNotAllowedError'
'415':
$ref: '#/components/responses/messagingInvalidMediaTypeError'
'429':
$ref: '#/components/responses/messagingTooManyRequestsError'
$ref: '#/components/responses/listMessagesTooManyRequestsError'
'500':
$ref: '#/components/responses/messagingInternalServerError'
post:
Expand Down Expand Up @@ -2257,7 +2265,9 @@ components:
type: object
properties:
media:
$ref: '#/components/schemas/rbmMessageContentFile'
type: array
items:
$ref: '#/components/schemas/rbmMessageContentFile'
suggestions:
$ref: '#/components/schemas/multiChannelFullActions'
required:
Expand Down Expand Up @@ -5875,15 +5885,13 @@ components:
type: object
internalTicketNumber:
type: string
format: uuid
description: >-
Unique identifier (UUID) generated by Bandwidth to assist in tracking
the verification status of a toll-free number - included in all webhook
payloads.
example: acde070d-8c4c-4f0d-9d8a-162843c10333
internalTicketNumberForWebhook:
type: string
format: uuid
description: >-
Unique identifier (UUID) generated by Bandwidth to assist in tracking
the verification status of a toll-free number.
Expand Down Expand Up @@ -6752,6 +6760,21 @@ components:
- type: internal-server-error
description: Internal server error. No further information available
source: {}
listMessagesTooManyRequestsError:
description: Too Many Requests
headers:
Retry-After:
description: The number of seconds to wait before retrying the request.
schema:
type: integer
example: 300
content:
application/json:
schema:
$ref: "#/components/schemas/messagingRequestError"
example:
type: rate_limit_exceeded
description: Rate limit exceeded. Wait for Retry-After time before sending another request.
createCallResponse:
description: Created
headers:
Expand Down
2 changes: 1 addition & 1 deletion docs/BlockedWebhook.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Name | Type | Description | Notes
**AccountId** | **string** | User's account ID. | [optional]
**PhoneNumber** | **string** | Toll-free telephone number in E.164 format. | [optional]
**Status** | **TfvCallbackStatusEnum** | | [optional]
**InternalTicketNumber** | **Guid** | Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number. | [optional]
**InternalTicketNumber** | **string** | Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number. | [optional]
**Blocked** | **bool** | Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. | [optional]
**BlockedReason** | **string** | The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. | [optional]

Expand Down
2 changes: 1 addition & 1 deletion docs/FailureWebhook.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Name | Type | Description | Notes
**ErrorCode** | **string** | An error code indicating what error was encountered. This code can be interpreted as an HTTP status code in regards to the error that was encountered. | [optional]
**ErrorMessage** | **string** | A description of the error that was encountered. | [optional]
**Errors** | **List<string>** | Details of the errors that were encountered when processing the request. | [optional]
**InternalTicketNumber** | **Guid** | Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number. | [optional]
**InternalTicketNumber** | **string** | Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number. | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

5 changes: 3 additions & 2 deletions docs/MessagesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ catch (ApiException e)

List Messages

Returns a list of messages based on query parameters.
Returns a list of messages based on query parameters. **Rate Limit:** This endpoint is rate limited to 3500 requests per 5 minutes per Source IP address. Exceeding the limit returns HTTP 429 with a `Retry-After` header.

### Example
```csharp
Expand Down Expand Up @@ -267,8 +267,9 @@ catch (ApiException e)
| **401** | Unauthorized | - |
| **403** | Forbidden | - |
| **404** | Not Found | - |
| **405** | Method Not Allowed | - |
| **415** | Unsupported Media Type | - |
| **429** | Too Many Requests | - |
| **429** | Too Many Requests | * Retry-After - The number of seconds to wait before retrying the request. <br> |
| **500** | Internal Server Error | - |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
Expand Down
2 changes: 1 addition & 1 deletion docs/MultiChannelChannelListRBMObjectAllOfContent.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Text** | **string** | The text associated with the message. Must be 3270 characters or less |
**Suggestions** | [**List&lt;MultiChannelAction&gt;**](MultiChannelAction.md) | An array of suggested actions for the recipient. | [optional]
**Media** | [**RbmMessageContentFile**](RbmMessageContentFile.md) | |
**Media** | [**List&lt;RbmMessageContentFile&gt;**](RbmMessageContentFile.md) | |
**Orientation** | **StandaloneCardOrientationEnum** | |
**ThumbnailImageAlignment** | **ThumbnailAlignmentEnum** | |
**CardContent** | [**RbmCardContent**](RbmCardContent.md) | |
Expand Down
2 changes: 1 addition & 1 deletion docs/RbmMessageMedia.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Media** | [**RbmMessageContentFile**](RbmMessageContentFile.md) | |
**Media** | [**List&lt;RbmMessageContentFile&gt;**](RbmMessageContentFile.md) | |
**Suggestions** | [**List&lt;MultiChannelAction&gt;**](MultiChannelAction.md) | An array of suggested actions for the recipient. | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
2 changes: 1 addition & 1 deletion docs/TfvStatus.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**PhoneNumber** | **string** | Toll-free telephone number in E.164 format. | [optional]
**Status** | **TfvStatusEnum** | | [optional]
**InternalTicketNumber** | **Guid** | Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number - included in all webhook payloads. | [optional]
**InternalTicketNumber** | **string** | Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number - included in all webhook payloads. | [optional]
**DeclineReasonDescription** | **string** | Explanation for why a verification request was declined. | [optional]
**ResubmitAllowed** | **bool** | Whether a Toll-Free Verification request qualifies for resubmission via PUT. | [optional]
**CreatedDateTime** | **DateTime** | Date and time the verification request was created. | [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/VerificationDenialWebhook.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name | Type | Description | Notes
**AdditionalDenialReasons** | [**List&lt;AdditionalDenialReason&gt;**](AdditionalDenialReason.md) | An optional list of denial reasons in addition to declineReasonDescription when multiple reasons apply. | [optional]
**DeclineReasonDescription** | **string** | Explanation for why a verification request was declined. | [optional]
**DenialStatusCode** | **int** | Reason code for denial. | [optional]
**InternalTicketNumber** | **Guid** | Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number. | [optional]
**InternalTicketNumber** | **string** | Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number. | [optional]
**PhoneNumber** | **string** | Toll-free telephone number in E.164 format. | [optional]
**ResubmitAllowed** | **bool** | Whether a Toll-Free Verification request qualifies for resubmission via PUT. | [optional]
**Status** | **string** | | [optional] [default to "UNVERIFIED"]
Expand Down
2 changes: 1 addition & 1 deletion docs/VerificationWebhook.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Name | Type | Description | Notes
**AccountId** | **string** | User&#39;s account ID. | [optional]
**PhoneNumber** | **string** | Toll-free telephone number in E.164 format. | [optional]
**Status** | **TfvCallbackStatusEnum** | | [optional]
**InternalTicketNumber** | **Guid** | Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number. | [optional]
**InternalTicketNumber** | **string** | Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number. | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Loading
Loading