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 27, 2023
1 parent 70fa44a commit c845585
Showing 1 changed file with 0 additions and 302 deletions.
302 changes: 0 additions & 302 deletions site/specs/numbers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -911,190 +911,18 @@ components:
shortCodeGetAllShortCodesByAccountResponse:
content:
application/json:
examples:
example:
value:
data:
- accountId: '9903137'
applyMigrationFee: true
applySetupFee: true
carrierStatuses:
- carrierId: att
status: INACTIVE
- carrierId: tmobile
status: INACTIVE
- carrierId: verizon
status: INACTIVE
country: USA
createdDateTime: '2023-02-01T19:22:48.268Z'
customerManagedLease: false
moapId: '681500'
modifiedDateTime: '2023-02-01T19:22:48.268Z'
notes: Some comments here Could be a lot
orderedDate: '2021-06-27'
shortCode: '12345'
sipPeerId: '537793'
siteId: '13524'
status: INACTIVE
type: RANDOM
version: 0
- accountId: '9903137'
applyMigrationFee: true
applySetupFee: true
carrierStatuses:
- carrierId: att
status: INACTIVE
- carrierId: tmobile
status: INACTIVE
- carrierId: verizon
status: INACTIVE
country: USA
createdDateTime: '2023-02-01T19:23:34.655Z'
customerManagedLease: false
moapId: '681500'
modifiedDateTime: '2023-02-01T19:23:34.655Z'
notes: Some comments here Could be a lot
orderedDate: '2021-06-27'
shortCode: '321123'
sipPeerId: '537793'
siteId: '13524'
status: INACTIVE
type: RANDOM
version: 0
- accountId: '9903137'
applyMigrationFee: true
applySetupFee: true
carrierStatuses:
- carrierId: att
status: INACTIVE
- carrierId: tmobile
status: INACTIVE
- carrierId: verizon
status: INACTIVE
country: USA
createdDateTime: '2023-02-01T20:50:34.552Z'
customerManagedLease: false
leaseEndsDate: '2024-06-27'
leaseStartsDate: '2021-06-27'
moapId: '681500'
modifiedDateTime: '2023-02-01T20:50:34.552Z'
notes: Some comments here Could be a lot
orderedDate: '2021-06-27'
shortCode: '45312'
sipPeerId: '537793'
siteId: '13524'
status: INACTIVE
type: RANDOM
version: 0
page:
pageNumber: 0
pageSize: 3
totalElements: 31
totalPages: 11
schema:
$ref: '#/components/schemas/shortCodeApiPage'
description: Successful response with a paginated list of short codes.
shortCodeGetShortCodeByAccountIdCountryAndShortCodeResponse:
content:
application/json:
examples:
example:
value:
accountId: '1003520'
applyMigrationFee: true
applySetupFee: true
carrierStatuses:
- carrierId: att
status: INACTIVE
- carrierId: tmobile
status: INACTIVE
- carrierId: verizon
status: INACTIVE
country: USA
createdDateTime: '2023-01-31T20:05:16.261Z'
customerManagedLease: false
moapId: '681500'
modifiedDateTime: '2023-02-09T19:53:18.824Z'
notes: update checl
orderedDate: '2021-06-27'
shortCode: '12113'
sipPeerId: '537793'
siteId: '13524'
status: INACTIVE
type: RANDOM
version: 9
schema:
$ref: '#/components/schemas/shortCode'
description: The short code details have been successfully retrieved and displayed.
shortCodeGetShortCodeHistoryAccountIdCountryAndShortCodeResponse:
content:
application/json:
examples:
example:
value:
data:
- accountId: '1003520'
applyMigrationFee: true
applySetupFee: true
billed: false
carrierStatuses:
- activatedDate: '2021-10-15'
carrierId: att
status: ACTIVE
- carrierId: tmobile
status: PENDING
- carrierId: verizon
status: INACTIVE
country: USA
createdDateTime: '2023-01-31T20:05:16.261Z'
customerManagedLease: false
leaseEndsDate: '2022-12-28'
leaseStartsDate: '2022-06-27'
moapId: '657096'
modifiedDateTime: '2023-01-31T20:05:16.261Z'
notes: Some comments here Could be a lot
operation: CREATED
orderedDate: '2021-06-27'
published: false
shortCode: '12113'
sipPeerId: '526744'
siteId: '9064'
status: ACTIVE
type: RANDOM
user: systemUser
version: 3
- accountId: '1003520'
applyMigrationFee: true
applySetupFee: true
billed: false
carrierStatuses:
- carrierId: att
status: INACTIVE
- carrierId: tmobile
status: INACTIVE
- carrierId: verizon
status: INACTIVE
country: USA
createdDateTime: '2023-01-31T20:05:16.261Z'
customerManagedLease: false
moapId: '681500'
modifiedDateTime: '2023-02-09T19:16:21.801Z'
notes: Some comments here Could be a lot
operation: UPDATED
orderedDate: '2021-06-27'
published: false
shortCode: '12113'
sipPeerId: '537793'
siteId: '13524'
status: INACTIVE
type: RANDOM
user: systemUser
version: 4
page:
pageNumber: 1
pageSize: 2
totalElements: 9
totalPages: 5
schema:
$ref: '#/components/schemas/shortCodeHistoryApiPage'
description: >-
Expand Down Expand Up @@ -13239,78 +13067,6 @@ components:
numbers.
properties:
data:
example:
- accountId: '9903137'
applyMigrationFee: true
applySetupFee: true
carrierStatuses:
- carrierId: att
status: INACTIVE
- carrierId: tmobile
status: INACTIVE
- carrierId: verizon
status: INACTIVE
country: USA
createdDateTime: '2023-02-01T19:22:48.268Z'
customerManagedLease: false
moapId: '681500'
modifiedDateTime: '2023-02-01T19:22:48.268Z'
notes: Some comments here Could be a lot
orderedDate: '2021-06-27'
shortCode: '12345'
sipPeerId: '537793'
siteId: '13524'
status: INACTIVE
type: RANDOM
version: 0
- accountId: '9903137'
applyMigrationFee: true
applySetupFee: true
carrierStatuses:
- carrierId: att
status: INACTIVE
- carrierId: tmobile
status: INACTIVE
- carrierId: verizon
status: INACTIVE
country: USA
createdDateTime: '2023-02-01T19:23:34.655Z'
customerManagedLease: false
moapId: '681500'
modifiedDateTime: '2023-02-01T19:23:34.655Z'
notes: Some comments here Could be a lot
orderedDate: '2021-06-27'
shortCode: '321123'
sipPeerId: '537793'
siteId: '13524'
status: INACTIVE
type: RANDOM
version: 0
- accountId: '9903137'
applyMigrationFee: true
applySetupFee: true
carrierStatuses:
- carrierId: att
status: INACTIVE
- carrierId: tmobile
status: INACTIVE
- carrierId: verizon
status: INACTIVE
country: USA
createdDateTime: '2023-02-01T20:50:34.552Z'
customerManagedLease: false
leaseEndsDate: '2024-06-27'
leaseStartsDate: '2021-06-27'
moapId: '681500'
modifiedDateTime: '2023-02-01T20:50:34.552Z'
notes: Some comments here Could be a lot
orderedDate: '2021-06-27'
shortCode: '45312'
sipPeerId: '537793'
siteId: '13524'
status: INACTIVE
type: RANDOM
version: 0
items:
$ref: '#/components/schemas/shortCode'
type: array
Expand Down Expand Up @@ -13593,64 +13349,6 @@ components:
history.
properties:
data:
example:
- accountId: '1003520'
applyMigrationFee: true
applySetupFee: true
billed: false
carrierStatuses:
- activatedDate: '2021-10-15'
carrierId: att
status: ACTIVE
- carrierId: tmobile
status: PENDING
- carrierId: verizon
status: INACTIVE
country: USA
createdDateTime: '2023-01-31T20:05:16.261Z'
customerManagedLease: false
leaseEndsDate: '2022-12-28'
leaseStartsDate: '2022-06-27'
moapId: '657096'
modifiedDateTime: '2023-01-31T20:05:16.261Z'
notes: Some comments here Could be a lot
operation: CREATED
orderedDate: '2021-06-27'
published: false
shortCode: '12113'
sipPeerId: '526744'
siteId: '9064'
status: ACTIVE
type: RANDOM
user: systemUser
version: 3
- accountId: '1003520'
applyMigrationFee: true
applySetupFee: true
billed: false
carrierStatuses:
- carrierId: att
status: INACTIVE
- carrierId: tmobile
status: INACTIVE
- carrierId: verizon
status: INACTIVE
country: USA
createdDateTime: '2023-01-31T20:05:16.261Z'
customerManagedLease: false
moapId: '681500'
modifiedDateTime: '2023-02-09T19:16:21.801Z'
notes: Some comments here Could be a lot
operation: UPDATED
orderedDate: '2021-06-27'
published: false
shortCode: '12113'
sipPeerId: '537793'
siteId: '13524'
status: INACTIVE
type: RANDOM
user: systemUser
version: 4
items:
$ref: '#/components/schemas/shortCodeHistory'
type: array
Expand Down

0 comments on commit c845585

Please sign in to comment.