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

SWI-6057 Update SDK Based on Recent Spec Changes #223

Merged
merged 1 commit into from
Sep 3, 2024
Merged
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
46 changes: 27 additions & 19 deletions bandwidth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ paths:
$ref: '#/components/requestBodies/updateCallRequest'
responses:
'200':
description: Call was successfully modified.
$ref: '#/components/responses/updateCallResponse'
'400':
$ref: '#/components/responses/voiceBadRequestError'
'401':
Expand Down Expand Up @@ -777,7 +777,7 @@ paths:
$ref: '#/components/requestBodies/updateCallRecordingRequest'
responses:
'200':
description: Recording state was successfully modified.
$ref: '#/components/responses/updateRecordingResponse'
'400':
$ref: '#/components/responses/voiceBadRequestError'
'401':
Expand Down Expand Up @@ -1324,7 +1324,7 @@ paths:
'403':
$ref: '#/components/responses/tnLookupForbiddenError'
'404':
description: Not Found
$ref: '#/components/responses/tnLookupNotFoundError'
'429':
$ref: '#/components/responses/tnLookupTooManyRequestsError'
'500':
Expand Down Expand Up @@ -2919,6 +2919,7 @@ components:
$ref: '#/components/schemas/conferenceId'
memberUrl:
type: string
format: uri
description: >-
A URL that may be used to retrieve information about or update

Expand Down Expand Up @@ -4276,6 +4277,7 @@ components:
example: my-recording-name
callUrl:
type: string
format: uri
description: The URL of the call associated with the event.
example: >-
https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
Expand Down Expand Up @@ -4735,7 +4737,7 @@ components:
schema:
$ref: '#/components/schemas/messagingRequestError'
createCallResponse:
description: Call Successfully Created
description: Created
headers:
Location:
description: The URL for further interactions with this call
Expand All @@ -4749,41 +4751,45 @@ components:
createCall Response:
$ref: '#/components/examples/createCallResponseExample'
getCallStateResponse:
description: Call found
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/callState'
updateCallResponse:
description: OK
listCallsResponse:
description: Calls retrieved successfully
description: OK
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/callState'
getStatisticsResponse:
description: Statistics Found
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/accountStatistics'
updateRecordingResponse:
description: OK
listCallRecordingsResponse:
description: Recordings retrieved successfully
description: OK
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/callRecordingMetadata'
getCallRecordingResponse:
description: Recording found
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/callRecordingMetadata'
downloadRecordingMediaResponse:
description: Media found
description: OK
content:
audio/vnd.wave:
schema:
Expand All @@ -4794,27 +4800,27 @@ components:
type: string
format: binary
getRecordingTranscriptionResponse:
description: Transcription found.
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/recordingTranscriptions'
listTranscriptionsResponse:
description: Transcription found.
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/callTranscriptionMetadataList'
getCallTranscriptionResponse:
description: Transcription found.
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/callTranscriptionResponse'
deleteCallTranscriptionResponse:
description: Transcription data was deleted.
description: No Content
listConferencesResponse:
description: Conferences retrieved successfully
description: OK
content:
application/json:
schema:
Expand All @@ -4825,27 +4831,27 @@ components:
listConferences Response:
$ref: '#/components/examples/listConferencesResponseExample'
getConferenceResponse:
description: Conferences retrieved successfully
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/conference'
getConferenceMemberResponse:
description: Conference member found
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/conferenceMember'
listConferenceRecordingsResponse:
description: Conference recordings retrieved successfully
description: OK
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/conferenceRecordingMetadata'
getConferenceRecordingResponse:
description: Conference recording found
description: OK
content:
application/json:
schema:
Expand Down Expand Up @@ -5068,6 +5074,8 @@ components:
summary: Example Unsupported Media Type Error
value:
message: Content-Type must be application/json.
tnLookupNotFoundError:
description: Not Found
tnLookupTooManyRequestsError:
description: Too Many Requests
content:
Expand Down
8 changes: 4 additions & 4 deletions docs/CallsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Name | Type | Description | Notes

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**201** | Call Successfully Created | * Location - The URL for further interactions with this call <br> |
**201** | Created | * Location - The URL for further interactions with this call <br> |
**400** | Bad Request | - |
**401** | Unauthorized | - |
**403** | Forbidden | - |
Expand Down Expand Up @@ -178,7 +178,7 @@ Name | Type | Description | Notes

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Call found | - |
**200** | OK | - |
**400** | Bad Request | - |
**401** | Unauthorized | - |
**403** | Forbidden | - |
Expand Down Expand Up @@ -279,7 +279,7 @@ Name | Type | Description | Notes

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Calls retrieved successfully | - |
**200** | OK | - |
**400** | Bad Request | - |
**401** | Unauthorized | - |
**403** | Forbidden | - |
Expand Down Expand Up @@ -368,7 +368,7 @@ void (empty response body)

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Call was successfully modified. | - |
**200** | OK | - |
**400** | Bad Request | - |
**401** | Unauthorized | - |
**403** | Forbidden | - |
Expand Down
12 changes: 6 additions & 6 deletions docs/ConferencesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Name | Type | Description | Notes

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Media found | - |
**200** | OK | - |
**400** | Bad Request | - |
**401** | Unauthorized | - |
**403** | Forbidden | - |
Expand Down Expand Up @@ -182,7 +182,7 @@ Name | Type | Description | Notes

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Conferences retrieved successfully | - |
**200** | OK | - |
**400** | Bad Request | - |
**401** | Unauthorized | - |
**403** | Forbidden | - |
Expand Down Expand Up @@ -273,7 +273,7 @@ Name | Type | Description | Notes

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Conference member found | - |
**200** | OK | - |
**400** | Bad Request | - |
**401** | Unauthorized | - |
**403** | Forbidden | - |
Expand Down Expand Up @@ -364,7 +364,7 @@ Name | Type | Description | Notes

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Conference recording found | - |
**200** | OK | - |
**400** | Bad Request | - |
**401** | Unauthorized | - |
**403** | Forbidden | - |
Expand Down Expand Up @@ -453,7 +453,7 @@ Name | Type | Description | Notes

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Conference recordings retrieved successfully | - |
**200** | OK | - |
**400** | Bad Request | - |
**401** | Unauthorized | - |
**403** | Forbidden | - |
Expand Down Expand Up @@ -550,7 +550,7 @@ Name | Type | Description | Notes

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Conferences retrieved successfully | - |
**200** | OK | - |
**400** | Bad Request | - |
**401** | Unauthorized | - |
**403** | Forbidden | - |
Expand Down
12 changes: 6 additions & 6 deletions docs/RecordingsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ Name | Type | Description | Notes

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Media found | - |
**200** | OK | - |
**400** | Bad Request | - |
**401** | Unauthorized | - |
**403** | Forbidden | - |
Expand Down Expand Up @@ -449,7 +449,7 @@ Name | Type | Description | Notes

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Recording found | - |
**200** | OK | - |
**400** | Bad Request | - |
**401** | Unauthorized | - |
**403** | Forbidden | - |
Expand Down Expand Up @@ -540,7 +540,7 @@ Name | Type | Description | Notes

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Transcription found. | - |
**200** | OK | - |
**400** | Bad Request | - |
**401** | Unauthorized | - |
**403** | Forbidden | - |
Expand Down Expand Up @@ -635,7 +635,7 @@ Name | Type | Description | Notes

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Recordings retrieved successfully | - |
**200** | OK | - |
**400** | Bad Request | - |
**401** | Unauthorized | - |
**403** | Forbidden | - |
Expand Down Expand Up @@ -724,7 +724,7 @@ Name | Type | Description | Notes

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Recordings retrieved successfully | - |
**200** | OK | - |
**400** | Bad Request | - |
**401** | Unauthorized | - |
**403** | Forbidden | - |
Expand Down Expand Up @@ -904,7 +904,7 @@ void (empty response body)

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Recording state was successfully modified. | - |
**200** | OK | - |
**400** | Bad Request | - |
**401** | Unauthorized | - |
**403** | Forbidden | - |
Expand Down
2 changes: 1 addition & 1 deletion docs/StatisticsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Name | Type | Description | Notes

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Statistics Found | - |
**200** | OK | - |
**400** | Bad Request | - |
**401** | Unauthorized | - |
**403** | Forbidden | - |
Expand Down
6 changes: 3 additions & 3 deletions docs/TranscriptionsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ void (empty response body)

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Transcription data was deleted. | - |
**200** | No Content | - |
**400** | Bad Request | - |
**401** | Unauthorized | - |
**403** | Forbidden | - |
Expand Down Expand Up @@ -176,7 +176,7 @@ Name | Type | Description | Notes

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Transcription found. | - |
**200** | OK | - |
**400** | Bad Request | - |
**401** | Unauthorized | - |
**403** | Forbidden | - |
Expand Down Expand Up @@ -265,7 +265,7 @@ Name | Type | Description | Notes

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Transcription found. | - |
**200** | OK | - |
**400** | Bad Request | - |
**401** | Unauthorized | - |
**403** | Forbidden | - |
Expand Down