You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/MediaApi.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -97,7 +97,7 @@ void (empty response body)
97
97
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
98
98
99
99
# **get_media**
100
-
> str get_media(account_id, media_id)
100
+
> file_type get_media(account_id, media_id)
101
101
102
102
Get Media
103
103
@@ -156,7 +156,7 @@ Name | Type | Description | Notes
156
156
157
157
### Return type
158
158
159
-
**str**
159
+
**file_type**
160
160
161
161
### Authorization
162
162
@@ -320,7 +320,7 @@ with bandwidth.ApiClient(configuration) as api_client:
320
320
api_instance = media_api.MediaApi(api_client)
321
321
account_id ="9900000"# str | Your Bandwidth Account ID.
322
322
media_id ="14762070468292kw2fuqty55yp2b2/0/bw.png"# str | Media ID to retrieve.
323
-
body ='YQ=='# str |
323
+
body =open('/path/to/file', 'rb') # file_type |
324
324
content_type ="audio/wav"# str | The media type of the entity-body. (optional)
325
325
cache_control ="no-cache"# str | General-header field is used to specify directives that MUST be obeyed by all caching mechanisms along the request/response chain. (optional)
326
326
@@ -347,7 +347,7 @@ Name | Type | Description | Notes
**account_id** | **str**| Your Bandwidth Account ID. |
349
349
**media_id** | **str**| Media ID to retrieve. |
350
-
**body** | **str**| |
350
+
**body** | **file_type**| |
351
351
**content_type** | **str**| The media type of the entity-body. | [optional]
352
352
**cache_control** | **str**| General-header field is used to specify directives that MUST be obeyed by all caching mechanisms along the request/response chain. | [optional]
Copy file name to clipboardExpand all lines: docs/RecordingsApi.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -284,7 +284,7 @@ void (empty response body)
284
284
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
0 commit comments