Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GA version of the phone number Swagger file #12446

Merged
merged 75 commits into from
Mar 29, 2021
Merged
Show file tree
Hide file tree
Changes from 60 commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
56f81d3
GA version of the phone number Swagger file
whisper6284 Jan 15, 2021
661027f
Fix Release example
whisper6284 Jan 15, 2021
0e3239f
Prettier fix
whisper6284 Jan 15, 2021
ef2f571
Fix ReadMe
whisper6284 Jan 15, 2021
868b06d
More fixes on examples
whisper6284 Jan 15, 2021
53da2ca
Fix more validation errors
whisper6284 Jan 15, 2021
13cf09e
Change DELETE LROresponse to 204
whisper6284 Jan 15, 2021
e35bc33
Add delete long running operation def and example file
whisper6284 Jan 15, 2021
60ba596
Fix example file name
whisper6284 Jan 15, 2021
d18466d
Prettier fix
whisper6284 Jan 15, 2021
b57fc98
Add purchase date
whisper6284 Jan 15, 2021
14a55ae
Try to fix invalid JSON file
whisper6284 Jan 15, 2021
ccf93aa
.
whisper6284 Jan 15, 2021
a4ab223
.
whisper6284 Jan 15, 2021
a8580f0
.
whisper6284 Jan 15, 2021
c4af5c7
Update Swagger to be stable, and with all comments addressed.
whisper6284 Jan 22, 2021
2b1e2a9
Run prettier
whisper6284 Jan 22, 2021
8b432be
Fix file name
whisper6284 Jan 22, 2021
191c5f9
Add GetOperation
whisper6284 Jan 22, 2021
c3b5d43
Fix validation errors
whisper6284 Jan 22, 2021
83953b0
Fix another example file
whisper6284 Jan 22, 2021
0579a05
.
whisper6284 Jan 22, 2021
e43cbe0
Some clean ups
whisper6284 Jan 22, 2021
c659b0c
Change capabilities update to PATCH 200
whisper6284 Jan 25, 2021
3cfccb0
.
whisper6284 Jan 25, 2021
2c444d1
.
whisper6284 Jan 25, 2021
15ee33e
Fix produces / consumes for purchase
whisper6284 Jan 26, 2021
0cd55e6
.
whisper6284 Jan 26, 2021
9158d4a
.
whisper6284 Jan 27, 2021
516c4cc
Use the CommunicationError object in common.json
whisper6284 Jan 27, 2021
f4221d3
Add produces application/json on DELETE methods
whisper6284 Jan 27, 2021
21b4154
Make AcquiredPhoneNumbers and properties in PhoneNumberOperation requ…
whisper6284 Jan 28, 2021
7b4b23b
Update latest Swagger
whisper6284 Feb 1, 2021
37b0824
Remove reocrd controller
whisper6284 Feb 1, 2021
1ef9b10
Address latest Swagger comments
whisper6284 Feb 3, 2021
6c14dc7
Add LRO description fixes
whisper6284 Feb 3, 2021
b61f429
PRettier fix
whisper6284 Feb 3, 2021
ad157b7
Rename directory name and fix examples
whisper6284 Feb 8, 2021
760fd96
.
whisper6284 Feb 8, 2021
8d209ae
.
whisper6284 Feb 8, 2021
6d9467d
Merge branch 'master' into dev/adtang/TNMSwaggerGAVersion
whisper6284 Feb 9, 2021
f20d92b
Update CommunicationError version
whisper6284 Feb 9, 2021
6213acd
Remove configure number API and its example
whisper6284 Feb 10, 2021
7ec1ba3
Prettier + make earch expiry and phone number cost required
whisper6284 Feb 10, 2021
a557d5d
.
whisper6284 Feb 10, 2021
77ef422
.
whisper6284 Feb 10, 2021
75846dc
Add LRO properties
whisper6284 Feb 10, 2021
6c792a2
Fix more examples
whisper6284 Feb 10, 2021
666b2ec
Remove callback URI and application id
whisper6284 Feb 11, 2021
e23190a
Add LROresponse back to release
whisper6284 Feb 11, 2021
967da53
Change capabilities update and release responses to 202. Also fix exa…
whisper6284 Feb 12, 2021
5d57aed
Test Pavel's change to take out produce statement
whisper6284 Feb 19, 2021
0f28cba
Revert Pavel's changes plus fix examples
whisper6284 Feb 19, 2021
42e1c8f
Test with empty produces statement
whisper6284 Feb 22, 2021
a9fcfeb
.
whisper6284 Feb 22, 2021
2d196da
.
whisper6284 Feb 23, 2021
a61765f
.
whisper6284 Feb 23, 2021
ab0e943
.
whisper6284 Feb 23, 2021
a4d1e15
Rename PhoneNumberCapabilityValue to PhoneNumberCapabilityType
whisper6284 Feb 24, 2021
1ef769a
Rename Acquired to Purchase
whisper6284 Mar 10, 2021
fc52977
Add suppression to README
whisper6284 Mar 26, 2021
1abb397
.
whisper6284 Mar 26, 2021
550d920
.
whisper6284 Mar 26, 2021
0455e70
.
whisper6284 Mar 26, 2021
9b6eb09
.
whisper6284 Mar 26, 2021
20a1215
.
whisper6284 Mar 26, 2021
6977fcd
.
whisper6284 Mar 26, 2021
8f2ef34
Fix merge conflict
whisper6284 Mar 26, 2021
8f432d9
.
whisper6284 Mar 26, 2021
557142e
.
whisper6284 Mar 26, 2021
7800741
Try adding phone numbers as its own package
whisper6284 Mar 26, 2021
217305a
.
whisper6284 Mar 26, 2021
2b24c67
.
whisper6284 Mar 26, 2021
f7c5650
.
whisper6284 Mar 26, 2021
22e6714
.
whisper6284 Mar 29, 2021
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"parameters": {
"api-version": "2021-03-07",
"endpoint": "https://resourcename.communication.azure.com/",
"operationId": "search_my-operation-id"
},
"responses": {
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parameters": {
"api-version": "2021-03-07",
"endpoint": "https://resourcename.communication.azure.com/",
"operationId": "search-my-operation-id"
},
"responses": {
"200": {
"headers": {
"Location": "/availablePhoneNumbers/searchResults/378ddf60-81be-452a-ba4f-613198ea6c28"
},
"body": {
"status": "succeeded",
"resourceLocation": "",
"createdDateTime": "2020-11-19T16:31:49.048Z",
"id": "search-my-operation-id",
"operationType": "search",
"lastActionDateTime": "2020-11-19T22:31:49.048Z"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"parameters": {
"api-version": "2021-03-07",
"endpoint": "https://resourcename.communication.azure.com/",
"phoneNumber": "+11234567890"
},
"responses": {
"200": {
"headers": {},
"body": {
"id": "11234567890",
"phoneNumber": "+11234567890",
"countryCode": "US",
"assignmentType": "user",
"phoneNumberType": "geographic",
"capabilities": {
"calling": "inbound+outbound",
"sms": "inbound"
},
"purchaseDate": "2020-11-19T16:31:49.048Z",
"cost": {
"amount": 0.8,
"currencyCode": "USD",
"billingFrequency": "monthly"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"parameters": {
"api-version": "2021-03-07",
"searchId": "378ddf60-81be-452a-ba4f-613198ea6c28",
"endpoint": "https://resourcename.communication.azure.com/"
},
"responses": {
"200": {
"headers": {},
"body": {
"searchId": "378ddf60-81be-452a-ba4f-613198ea6c28",
"phoneNumbers": [
"+18001212121"
],
"phoneNumberType": "tollFree",
"assignmentType": "application",
"capabilities": {
"sms": "inbound+outbound",
"calling": "none"
},
"cost": {
"amount": 1.2,
"currencyCode": "USD",
"billingFrequency": "monthly"
},
"searchExpiresBy": "2020-11-19T16:31:49.048Z"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"parameters": {
"api-version": "2021-03-07",
"endpoint": "https://resourcename.communication.azure.com/",
"phoneNumber": "+11234567890"
},
"responses": {
"200": {
"headers": {},
"body": {
"phoneNumbers": [
{
"id": "11234567890",
"phoneNumber": "+11234567890",
"countryCode": "US",
"assignmentType": "user",
"phoneNumberType": "geographic",
"capabilities": {
"calling": "inbound+outbound",
"sms": "inbound"
},
"purchaseDate": "2020-11-19T16:31:49.048Z",
"cost": {
"amount": 0.8,
"currencyCode": "USD",
"billingFrequency": "monthly"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"parameters": {
"api-version": "2021-03-07",
"endpoint": "https://resourcename.communication.azure.com/",
"body": {
"searchId": "378ddf60-81be-452a-ba4f-613198ea6c28"
}
},
"responses": {
"202": {
"headers": {
"Operation-Location": "/phoneNumbers/operations/purchase_378ddf60-81be-452a-ba4f-613198ea6c28",
"operation-id": "purchase_378ddf60-81be-452a-ba4f-613198ea6c28",
"purchase-id": "378ddf60-81be-452a-ba4f-613198ea6c28"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"parameters": {
"api-version": "2021-03-07",
"phoneNumber": "+11234567890",
"endpoint": "https://resourcename.communication.azure.com/"
},
"responses": {
"202": {
"headers": {
"Operation-Location": "/phoneNumbers/operations/release_378ddf60-81be-452a-ba4f-613198ea6c28",
"operation-id": "release_378ddf60-81be-452a-ba4f-613198ea6c28",
"release-id": "378ddf60-81be-452a-ba4f-613198ea6c28"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"parameters": {
"api-version": "2021-03-07",
"body": {
"phoneNumberType": "tollFree",
"assignmentType": "application",
"capabilities": {
"sms": "inbound+outbound",
"calling": "none"
},
"areaCode": "425",
"quantity": 1
},
"countryCode": "US",
"endpoint": "https://resourcename.communication.azure.com/"
},
"responses": {
"202": {
"headers": {
"Operation-Location": "/phoneNumbers/operations/search_378ddf60-81be-452a-ba4f-613198ea6c28",
"Location": "/availablePhoneNumbers/searchResults/378ddf60-81be-452a-ba4f-613198ea6c28",
"operation-id": "search_378ddf60-81be-452a-ba4f-613198ea6c28",
"search-id": "378ddf60-81be-452a-ba4f-613198ea6c28"
},
"body": {
"searchId": "378ddf60-81be-452a-ba4f-613198ea6c28",
"phoneNumbers": [
"+18001212121"
],
"phoneNumberType": "tollFree",
"assignmentType": "application",
"capabilities": {
"sms": "inbound+outbound",
"calling": "none"
},
"cost": {
"amount": 1.2,
"currencyCode": "USD",
"billingFrequency": "monthly"
},
"searchExpiresBy": "2020-11-19T16:31:49.048Z"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"parameters": {
"api-version": "2021-03-07",
"endpoint": "https://resourcename.communication.azure.com/",
"phoneNumber": "+14792000102",
"body": {
"calling": "inbound+outbound",
"sms": "none"
}
},
"responses": {
"202": {
"headers": {
"Operation-Location": "/phoneNumbers/operations/capabilities_378ddf60-81be-452a-ba4f-613198ea6c28",
"Location": "/phoneNumbers/%2b14792000102",
"operation-id": "capabilities_378ddf60-81be-452a-ba4f-613198ea6c28",
"capabilities-id": "378ddf60-81be-452a-ba4f-613198ea6c28"
},
"body": {
"id": "14792000102",
"phoneNumber": "+14792000102",
"countryCode": "US",
"assignmentType": "person",
"phoneNumberType": "geographic",
"capabilities": {
"calling": "inbound+outbound",
"sms": "none"
},
"purchaseDate": "2020-11-19T16:31:49.048Z",
"cost": {
"amount": 0.8,
"currencyCode": "USD",
"billingFrequency": "monthly"
}
}
}
}
}
Loading