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

Commit

Permalink
bwdb-14682 (#913)
Browse files Browse the repository at this point in the history
* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files
  • Loading branch information
DX-Bandwidth authored Jan 19, 2023
1 parent e261123 commit bb62369
Showing 1 changed file with 21 additions and 123 deletions.
144 changes: 21 additions & 123 deletions site/specs/numbers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,24 +144,6 @@ components:
minLength: 1
type: string
type: object
AbstractOriginationSmsTnHistory:
properties:
NPANXXDetailList:
items:
properties:
TerminationHost:
properties:
Count:
type: integer
NPANXX:
type: string
Tier:
type: integer
type: object
title: NPANXXDetail
type: object
type: array
type: object
AccessRestriction:
properties:
RestrictedAccessTypes:
Expand Down Expand Up @@ -280,11 +262,6 @@ components:
Name:
type: string
type: object
AccountProductResponse:
properties:
Product:
$ref: '#/components/schemas/AccountProduct'
type: object
AccountProducts:
properties:
Product:
Expand Down Expand Up @@ -7306,12 +7283,6 @@ components:
$ref: '#/components/schemas/OriginationRoutePayload'
type: array
type: object
OriginationTnHistory:
properties:
Origination:
allOf:
- $ref: '#/components/schemas/AbstractOriginationSmsTnHistory'
type: object
PaginationLinks:
properties:
first:
Expand Down Expand Up @@ -8038,19 +8009,6 @@ components:
HttpVoiceV2AppId:
type: string
type: object
ProductTnHistoryResponse:
properties:
ProductTNDetailsResponse:
$ref: '#/components/schemas/ProductTnReportWrapper'
type: object
ProductTnReportWrapper:
properties:
ProductTNDetails:
oneOf:
- $ref: '#/components/schemas/OriginationTnHistory'
- $ref: '#/components/schemas/SmsTnHistory'
- $ref: '#/components/schemas/TollfreeTnHistory'
type: object
ProductVoiceProtocol:
enum:
- HTTP
Expand Down Expand Up @@ -9770,12 +9728,6 @@ components:
type: integer
title: HttpSettings
type: object
SmsTnHistory:
properties:
Sms:
allOf:
- $ref: '#/components/schemas/AbstractOriginationSmsTnHistory'
type: object
StateSearchAndOrder:
allOf:
- $ref: '#/components/schemas/orderMetadata'
Expand Down Expand Up @@ -11496,14 +11448,6 @@ components:
type: object
xml:
name: TollFreeWildCharSearchAndOrderType
TollfreeTnHistory:
properties:
Tollfree:
properties:
Count:
type: integer
type: object
type: object
Tpas:
items:
$ref: '#/components/schemas/Tpa'
Expand Down Expand Up @@ -20848,7 +20792,7 @@ paths:
schema:
$ref: '#/components/schemas/SiteHostsResponse'
description: <p>A successful result that contains the response data</p>
summary: List hosts
summary: List hosts on account
tags:
- Account
/accounts/{accountId}/importTnChecker:
Expand Down Expand Up @@ -27989,7 +27933,7 @@ paths:
schema:
$ref: '#/components/schemas/AccountProductsResponse'
description: ''
summary: List account products
summary: List products on account
tags:
- Account
/accounts/{accountId}/products/e911/settings:
Expand Down Expand Up @@ -28033,7 +27977,7 @@ paths:
schema:
$ref: '#/components/schemas/E911SettingsResponse'
description: ''
summary: Retrieve e911 product settings on account
summary: Retrieve e911 product settings
tags:
- Account
/accounts/{accountId}/products/edgemanagement/settings:
Expand Down Expand Up @@ -28086,7 +28030,7 @@ paths:
schema:
$ref: '#/components/schemas/EdgeManagementSettingsResponse'
description: ''
summary: Retrieve edgemanagement product settings on account
summary: Retrieve edgemanagement product settings
tags:
- Account
/accounts/{accountId}/products/edgemanagement/settings/sipauthentication:
Expand Down Expand Up @@ -28152,7 +28096,7 @@ paths:
schema:
$ref: '#/components/schemas/SipAuthenticationResponse'
description: ''
summary: Retrieve sipauthentication settings on account
summary: Retrieve edgemanagement product sipauthentication feature settings of
tags:
- Account
/accounts/{accountId}/products/messaging/a2pCampaigns:
Expand Down Expand Up @@ -28185,7 +28129,7 @@ paths:
schema:
$ref: '#/components/schemas/MessagingA2pCampaignsResponse'
description: ''
summary: Retrieve a2pCampaigns settings on account
summary: Retrieve messaging a2pCampaigns settings
tags:
- Account
/accounts/{accountId}/products/messaging/features/http:
Expand All @@ -28210,7 +28154,7 @@ paths:
schema:
$ref: '#/components/schemas/AccountHttpFeatureResponse'
description: ''
summary: Retrieve messaging http feature settings on account
summary: Retrieve messaging product http feature settings
tags:
- Account
/accounts/{accountId}/products/messaging/features/mms:
Expand Down Expand Up @@ -28255,7 +28199,7 @@ paths:
schema:
$ref: '#/components/schemas/AccountMmsFeatureResponse'
description: ''
summary: Retrieve messaging mms feature settings on account
summary: Retrieve messaging product mms feature settings
tags:
- Account
/accounts/{accountId}/products/messaging/features/mms/mm4settings:
Expand Down Expand Up @@ -28293,7 +28237,7 @@ paths:
schema:
$ref: '#/components/schemas/MmsFeatureMm4AdminSettingsResponse'
description: ''
summary: Retrieve messaging mms feature mm4 settings on account
summary: Retrieve messaging product mms feature mm4 settings
tags:
- Account
/accounts/{accountId}/products/messaging/features/mms/settings:
Expand All @@ -28320,7 +28264,7 @@ paths:
schema:
$ref: '#/components/schemas/AccountMmsFeatureSettingsResponse'
description: ''
summary: Retrieve messaging mms feature settings on account
summary: Retrieve messaging product mms feature settings
tags:
- Account
/accounts/{accountId}/products/messaging/features/sms:
Expand Down Expand Up @@ -28370,7 +28314,7 @@ paths:
schema:
$ref: '#/components/schemas/AccountSmsFeatureResponse'
description: ''
summary: Retrieve messaging sms feature settings on account
summary: Retrieve messaging product sms feature settings
tags:
- Account
/accounts/{accountId}/products/messaging/routes:
Expand Down Expand Up @@ -28424,7 +28368,7 @@ paths:
schema:
$ref: '#/components/schemas/AccountMessagingRoutesResponse'
description: ''
summary: Retrieve messaging routes on account
summary: Retrieve messaging routes
tags:
- Account
/accounts/{accountId}/products/messaging/settings:
Expand Down Expand Up @@ -28462,12 +28406,12 @@ paths:
schema:
$ref: '#/components/schemas/MessagingSettingsResponse'
description: ''
summary: Retrieve messaging settings on account
summary: Retrieve messaging product settings
tags:
- Account
/accounts/{accountId}/products/termination/settings:
get:
description: Retrieve existing termination settings on account.
description: Retrieve termination product settings on account.
operationId: GetAccountTerminationProductSettings
parameters:
- $ref: '#/components/parameters/AccountIdPathParam'
Expand Down Expand Up @@ -28506,7 +28450,7 @@ paths:
schema:
$ref: '#/components/schemas/TerminationSettingsResponse'
description: ''
summary: Retrieve termination settings on account
summary: Retrieve termination settings
tags:
- Account
/accounts/{accountId}/products/tollfree/settings:
Expand Down Expand Up @@ -28539,7 +28483,7 @@ paths:
schema:
$ref: '#/components/schemas/TollFreeSettingsResponse'
description: ''
summary: Retrieve tollfree settings on account
summary: Retrieve tollfree product settings
tags:
- Account
/accounts/{accountId}/products/uctrunking/features/hosted/settings:
Expand Down Expand Up @@ -28578,7 +28522,7 @@ paths:
</ResponseStatus>
</UcTrunkingCloudSettingsResponse>
description: Not Found - if UcTrunking product has not been configured on account
summary: Retrieve uctrunking hosted feature settings on account
summary: Retrieve uctrunking product hosted feature settings
tags:
- Account
post:
Expand Down Expand Up @@ -28643,7 +28587,7 @@ paths:
</ResponseStatus>
</UcTrunkingCloudSettingsResponse>
description: Not Found - if UcTrunking product has not been configured on account
summary: Create uctrunking hosted feature settings on account
summary: Add uctrunking product hosted feature settings
tags:
- Account
put:
Expand Down Expand Up @@ -28708,7 +28652,7 @@ paths:
</ResponseStatus>
</UcTrunkingCloudSettingsResponse>
description: Not Found - if UcTrunking product has not been configured on account
summary: Update uctrunking hosted feature settings on account
summary: Update uctrunking product hosted feature settings
tags:
- Account
/accounts/{accountId}/products/uctrunking/settings:
Expand Down Expand Up @@ -28751,53 +28695,7 @@ paths:
schema:
$ref: '#/components/schemas/UcTrunkingSettingsResponse'
description: ''
summary: Retrieve uctrunking settings on account
tags:
- Account
/accounts/{accountId}/products/{productName}:
get:
description: Discover whether product is currently enabled on the account
operationId: GetAccountProduct
parameters:
- $ref: '#/components/parameters/AccountIdPathParam'
- in: path
name: productName
required: true
schema:
type: string
responses:
'200':
content:
application/xml:
schema:
$ref: '#/components/schemas/AccountProductResponse'
description: ''
summary: Check product on account
tags:
- Account
/accounts/{accountId}/products/{productName}/tntotals:
get:
description: Get Product Tn Totals
operationId: GetProductTnTotals
parameters:
- $ref: '#/components/parameters/AccountIdPathParam'
- in: path
name: productName
required: true
schema:
enum:
- Origination
- Messaging
- TollFree
type: string
responses:
'200':
content:
application/xml:
schema:
$ref: '#/components/schemas/ProductTnHistoryResponse'
description: Information was successfully retrieved
summary: Get Product Tn Totals
summary: Retrieve uctrunking product settings
tags:
- Account
/accounts/{accountId}/realms:
Expand Down Expand Up @@ -37554,7 +37452,7 @@ paths:
$ref: '#/components/schemas/ResponseStatus'
type: object
description: The account ID given does not have UC Trunking associated with it
summary: Get Total Number of Seats for Account
summary: Retrieve the total number of seats on account
tags:
- Account
/accounts/{accountId}/{orderType}/{orderId}/adminparameters:
Expand Down

0 comments on commit bb62369

Please sign in to comment.