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
account_id: Annotated[StrictStr, Field(description="This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** ")],
47
-
media_id: Annotated[StrictStr, Field(description="Media ID to retrieve.")],
47
+
media_id: Annotated[StrictStr, Field(description="The ID of the media file.")],
48
48
_request_timeout: Union[
49
49
None,
50
50
Annotated[StrictFloat, Field(gt=0)],
@@ -64,7 +64,7 @@ def delete_media(
64
64
65
65
:param account_id: This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** (required)
66
66
:type account_id: str
67
-
:param media_id: Media ID to retrieve. (required)
67
+
:param media_id: The ID of the media file. (required)
68
68
:type media_id: str
69
69
:param _request_timeout: timeout setting for this request. If one
70
70
number provided, it will be total request
@@ -123,7 +123,7 @@ def delete_media(
123
123
defdelete_media_with_http_info(
124
124
self,
125
125
account_id: Annotated[StrictStr, Field(description="This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** ")],
126
-
media_id: Annotated[StrictStr, Field(description="Media ID to retrieve.")],
126
+
media_id: Annotated[StrictStr, Field(description="The ID of the media file.")],
:param account_id: This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** (required)
145
145
:type account_id: str
146
-
:param media_id: Media ID to retrieve. (required)
146
+
:param media_id: The ID of the media file. (required)
147
147
:type media_id: str
148
148
:param _request_timeout: timeout setting for this request. If one
account_id: Annotated[StrictStr, Field(description="This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** ")],
205
-
media_id: Annotated[StrictStr, Field(description="Media ID to retrieve.")],
205
+
media_id: Annotated[StrictStr, Field(description="The ID of the media file.")],
:param account_id: This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** (required)
224
224
:type account_id: str
225
-
:param media_id: Media ID to retrieve. (required)
225
+
:param media_id: The ID of the media file. (required)
226
226
:type media_id: str
227
227
:param _request_timeout: timeout setting for this request. If one
228
228
number provided, it will be total request
@@ -348,7 +348,7 @@ def _delete_media_serialize(
348
348
defget_media(
349
349
self,
350
350
account_id: Annotated[StrictStr, Field(description="This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** ")],
351
-
media_id: Annotated[StrictStr, Field(description="Media ID to retrieve.")],
351
+
media_id: Annotated[StrictStr, Field(description="The ID of the media file.")],
352
352
_request_timeout: Union[
353
353
None,
354
354
Annotated[StrictFloat, Field(gt=0)],
@@ -368,7 +368,7 @@ def get_media(
368
368
369
369
:param account_id: This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** (required)
370
370
:type account_id: str
371
-
:param media_id: Media ID to retrieve. (required)
371
+
:param media_id: The ID of the media file. (required)
372
372
:type media_id: str
373
373
:param _request_timeout: timeout setting for this request. If one
374
374
number provided, it will be total request
@@ -427,7 +427,7 @@ def get_media(
427
427
defget_media_with_http_info(
428
428
self,
429
429
account_id: Annotated[StrictStr, Field(description="This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** ")],
430
-
media_id: Annotated[StrictStr, Field(description="Media ID to retrieve.")],
430
+
media_id: Annotated[StrictStr, Field(description="The ID of the media file.")],
431
431
_request_timeout: Union[
432
432
None,
433
433
Annotated[StrictFloat, Field(gt=0)],
@@ -447,7 +447,7 @@ def get_media_with_http_info(
447
447
448
448
:param account_id: This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** (required)
449
449
:type account_id: str
450
-
:param media_id: Media ID to retrieve. (required)
450
+
:param media_id: The ID of the media file. (required)
451
451
:type media_id: str
452
452
:param _request_timeout: timeout setting for this request. If one
453
453
number provided, it will be total request
@@ -506,7 +506,7 @@ def get_media_with_http_info(
506
506
defget_media_without_preload_content(
507
507
self,
508
508
account_id: Annotated[StrictStr, Field(description="This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** ")],
509
-
media_id: Annotated[StrictStr, Field(description="Media ID to retrieve.")],
509
+
media_id: Annotated[StrictStr, Field(description="The ID of the media file.")],
:param account_id: This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** (required)
528
528
:type account_id: str
529
-
:param media_id: Media ID to retrieve. (required)
529
+
:param media_id: The ID of the media file. (required)
530
530
:type media_id: str
531
531
:param _request_timeout: timeout setting for this request. If one
532
532
number provided, it will be total request
@@ -957,7 +957,7 @@ def _list_media_serialize(
957
957
defupload_media(
958
958
self,
959
959
account_id: Annotated[StrictStr, Field(description="This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** ")],
960
-
media_id: Annotated[StrictStr, Field(description="Media ID to retrieve.")],
960
+
media_id: Annotated[StrictStr, Field(description="The ID of the media file.")],
content_type: Annotated[Optional[StrictStr], Field(description="The media type of the entity-body.")] =None,
963
963
cache_control: Annotated[Optional[StrictStr], Field(description="General-header field is used to specify directives that MUST be obeyed by all caching mechanisms along the request/response chain.")] =None,
@@ -980,7 +980,7 @@ def upload_media(
980
980
981
981
:param account_id: This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** (required)
982
982
:type account_id: str
983
-
:param media_id: Media ID to retrieve. (required)
983
+
:param media_id: The ID of the media file. (required)
984
984
:type media_id: str
985
985
:param body: (required)
986
986
:type body: bytearray
@@ -1048,7 +1048,7 @@ def upload_media(
1048
1048
defupload_media_with_http_info(
1049
1049
self,
1050
1050
account_id: Annotated[StrictStr, Field(description="This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** ")],
1051
-
media_id: Annotated[StrictStr, Field(description="Media ID to retrieve.")],
1051
+
media_id: Annotated[StrictStr, Field(description="The ID of the media file.")],
content_type: Annotated[Optional[StrictStr], Field(description="The media type of the entity-body.")] =None,
1054
1054
cache_control: Annotated[Optional[StrictStr], Field(description="General-header field is used to specify directives that MUST be obeyed by all caching mechanisms along the request/response chain.")] =None,
:param account_id: This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** (required)
1073
1073
:type account_id: str
1074
-
:param media_id: Media ID to retrieve. (required)
1074
+
:param media_id: The ID of the media file. (required)
account_id: Annotated[StrictStr, Field(description="This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** ")],
1142
-
media_id: Annotated[StrictStr, Field(description="Media ID to retrieve.")],
1142
+
media_id: Annotated[StrictStr, Field(description="The ID of the media file.")],
content_type: Annotated[Optional[StrictStr], Field(description="The media type of the entity-body.")] =None,
1145
1145
cache_control: Annotated[Optional[StrictStr], Field(description="General-header field is used to specify directives that MUST be obeyed by all caching mechanisms along the request/response chain.")] =None,
:param account_id: This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** (required)
1164
1164
:type account_id: str
1165
-
:param media_id: Media ID to retrieve. (required)
1165
+
:param media_id: The ID of the media file. (required)
Copy file name to clipboardExpand all lines: docs/MediaApi.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ with bandwidth.ApiClient(configuration) as api_client:
59
59
# Create an instance of the API class
60
60
api_instance = bandwidth.MediaApi(api_client)
61
61
account_id ='9900000'# str | This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
62
-
media_id ='14762070468292kw2fuqty55yp2b2/0/bw.png'# str | Media ID to retrieve.
62
+
media_id ='bw.png'# str | The ID of the media file.
63
63
64
64
try:
65
65
# Delete Media
@@ -76,7 +76,7 @@ with bandwidth.ApiClient(configuration) as api_client:
**account_id** | **str**| This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** |
79
-
**media_id** | **str**| Media ID to retrieve. |
79
+
**media_id** | **str**| The ID of the media file. |
80
80
81
81
### Return type
82
82
@@ -152,7 +152,7 @@ with bandwidth.ApiClient(configuration) as api_client:
152
152
# Create an instance of the API class
153
153
api_instance = bandwidth.MediaApi(api_client)
154
154
account_id ='9900000'# str | This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
155
-
media_id ='14762070468292kw2fuqty55yp2b2/0/bw.png'# str | Media ID to retrieve.
155
+
media_id ='bw.png'# str | The ID of the media file.
156
156
157
157
try:
158
158
# Get Media
@@ -171,7 +171,7 @@ with bandwidth.ApiClient(configuration) as api_client:
**account_id** | **str**| This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** |
174
-
**media_id** | **str**| Media ID to retrieve. |
174
+
**media_id** | **str**| The ID of the media file. |
175
175
176
176
### Return type
177
177
@@ -347,7 +347,7 @@ with bandwidth.ApiClient(configuration) as api_client:
347
347
# Create an instance of the API class
348
348
api_instance = bandwidth.MediaApi(api_client)
349
349
account_id ='9900000'# str | This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
350
-
media_id ='14762070468292kw2fuqty55yp2b2/0/bw.png'# str | Media ID to retrieve.
350
+
media_id ='bw.png'# str | The ID of the media file.
351
351
body =None# bytearray |
352
352
content_type ='audio/wav'# str | The media type of the entity-body. (optional)
353
353
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)
@@ -367,7 +367,7 @@ with bandwidth.ApiClient(configuration) as api_client:
**account_id** | **str**| This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** |
370
-
**media_id** | **str**| Media ID to retrieve. |
370
+
**media_id** | **str**| The ID of the media file. |
371
371
**body** | **bytearray**| |
372
372
**content_type** | **str**| The media type of the entity-body. | [optional]
373
373
**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]
0 commit comments