diff --git a/Bandwidth.Standard.sln b/Bandwidth.Standard.sln
index c5ba16c..89e6e47 100644
--- a/Bandwidth.Standard.sln
+++ b/Bandwidth.Standard.sln
@@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{0AC7241A-463A-4CA2-A850-F38F4A50FC51}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{0B827FE6-C4E9-4144-A195-8A00B3C063F4}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard.Test", "src\Bandwidth.Standard.Test\Bandwidth.Standard.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
EndProject
@@ -12,10 +12,10 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {0AC7241A-463A-4CA2-A850-F38F4A50FC51}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {0AC7241A-463A-4CA2-A850-F38F4A50FC51}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {0AC7241A-463A-4CA2-A850-F38F4A50FC51}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {0AC7241A-463A-4CA2-A850-F38F4A50FC51}.Release|Any CPU.Build.0 = Release|Any CPU
+ {0B827FE6-C4E9-4144-A195-8A00B3C063F4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {0B827FE6-C4E9-4144-A195-8A00B3C063F4}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {0B827FE6-C4E9-4144-A195-8A00B3C063F4}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {0B827FE6-C4E9-4144-A195-8A00B3C063F4}.Release|Any CPU.Build.0 = Release|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU
diff --git a/api/openapi.yaml b/api/openapi.yaml
index 483be22..93b86f0 100644
--- a/api/openapi.yaml
+++ b/api/openapi.yaml
@@ -144,8 +144,8 @@ paths:
schema:
type: string
style: simple
- - description: Media ID to retrieve.
- example: 14762070468292kw2fuqty55yp2b2/0/bw.png
+ - description: The ID of the media file.
+ example: bw.png
explode: false
in: path
name: mediaId
@@ -223,8 +223,8 @@ paths:
schema:
type: string
style: simple
- - description: Media ID to retrieve.
- example: 14762070468292kw2fuqty55yp2b2/0/bw.png
+ - description: The ID of the media file.
+ example: bw.png
explode: false
in: path
name: mediaId
@@ -313,8 +313,8 @@ paths:
schema:
type: string
style: simple
- - description: Media ID to retrieve.
- example: 14762070468292kw2fuqty55yp2b2/0/bw.png
+ - description: The ID of the media file.
+ example: bw.png
explode: false
in: path
name: mediaId
@@ -7226,8 +7226,8 @@ components:
type: string
style: simple
mediaId:
- description: Media ID to retrieve.
- example: 14762070468292kw2fuqty55yp2b2/0/bw.png
+ description: The ID of the media file.
+ example: bw.png
explode: false
in: path
name: mediaId
diff --git a/bandwidth.yml b/bandwidth.yml
index 4b88b45..53949fe 100644
--- a/bandwidth.yml
+++ b/bandwidth.yml
@@ -8237,8 +8237,8 @@ components:
in: path
name: mediaId
required: true
- description: Media ID to retrieve.
- example: 14762070468292kw2fuqty55yp2b2/0/bw.png
+ description: The ID of the media file.
+ example: bw.png
schema:
type: string
contentType:
diff --git a/docs/MediaApi.md b/docs/MediaApi.md
index c0aabd0..76ba4b0 100644
--- a/docs/MediaApi.md
+++ b/docs/MediaApi.md
@@ -41,7 +41,7 @@ namespace Example
var apiInstance = new MediaApi(config);
var accountId = 9900000; // string | 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.**
- var mediaId = 14762070468292kw2fuqty55yp2b2/0/bw.png; // string | Media ID to retrieve.
+ var mediaId = bw.png; // string | The ID of the media file.
try
{
@@ -81,7 +81,7 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
| **accountId** | **string** | 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.** | |
-| **mediaId** | **string** | Media ID to retrieve. | |
+| **mediaId** | **string** | The ID of the media file. | |
### Return type
@@ -144,7 +144,7 @@ namespace Example
var apiInstance = new MediaApi(config);
var accountId = 9900000; // string | 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.**
- var mediaId = 14762070468292kw2fuqty55yp2b2/0/bw.png; // string | Media ID to retrieve.
+ var mediaId = bw.png; // string | The ID of the media file.
try
{
@@ -188,7 +188,7 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
| **accountId** | **string** | 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.** | |
-| **mediaId** | **string** | Media ID to retrieve. | |
+| **mediaId** | **string** | The ID of the media file. | |
### Return type
@@ -358,7 +358,7 @@ namespace Example
var apiInstance = new MediaApi(config);
var accountId = 9900000; // string | 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.**
- var mediaId = 14762070468292kw2fuqty55yp2b2/0/bw.png; // string | Media ID to retrieve.
+ var mediaId = bw.png; // string | The ID of the media file.
var body = new System.IO.MemoryStream(System.IO.File.ReadAllBytes("/path/to/file.txt")); // System.IO.Stream |
var contentType = audio/wav; // string | The media type of the entity-body. (optional)
var cacheControl = no-cache; // string | General-header field is used to specify directives that MUST be obeyed by all caching mechanisms along the request/response chain. (optional)
@@ -401,7 +401,7 @@ catch (ApiException e)
| Name | Type | Description | Notes |
|------|------|-------------|-------|
| **accountId** | **string** | 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.** | |
-| **mediaId** | **string** | Media ID to retrieve. | |
+| **mediaId** | **string** | The ID of the media file. | |
| **body** | **System.IO.Stream****System.IO.Stream** | | |
| **contentType** | **string** | The media type of the entity-body. | [optional] |
| **cacheControl** | **string** | General-header field is used to specify directives that MUST be obeyed by all caching mechanisms along the request/response chain. | [optional] |
diff --git a/src/Bandwidth.Standard/Api/MediaApi.cs b/src/Bandwidth.Standard/Api/MediaApi.cs
index b5e44f0..ec4c852 100644
--- a/src/Bandwidth.Standard/Api/MediaApi.cs
+++ b/src/Bandwidth.Standard/Api/MediaApi.cs
@@ -36,7 +36,7 @@ public interface IMediaApiSync : IApiAccessor
///
/// Thrown when fails to make API call
/// 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.**
- /// Media ID to retrieve.
+ /// The ID of the media file.
/// Index associated with the operation.
///
void DeleteMedia(string accountId, string mediaId, int operationIndex = 0);
@@ -49,7 +49,7 @@ public interface IMediaApiSync : IApiAccessor
///
/// Thrown when fails to make API call
/// 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.**
- /// Media ID to retrieve.
+ /// The ID of the media file.
/// Index associated with the operation.
/// ApiResponse of Object(void)
ApiResponse