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-6061 Update SDK Based on Recent Spec Changes #42

Merged
merged 1 commit into from
Sep 3, 2024
Merged
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