Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ public partial interface IVcrClient
{
/// <summary>
/// Get a repository image<br/>
/// Fetch an individual image from a repository, including its tags and Dockerfile history entries with discriminated layer details for UI rendering.
/// Fetch an individual image from a repository, including its tags and Dockerfile history entries with discriminated layer details for UI rendering. The image may be addressed by its internal id (`image_...`) or by its manifest digest (`sha256:...`).
/// </summary>
/// <param name="projectId"></param>
/// <param name="idOrName"></param>
/// <param name="imageId"></param>
/// <param name="imageIdOrDigest">
/// The internal image id (`image_...`) or the image manifest digest (`sha256:...`).
/// </param>
/// <param name="teamId">
/// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l
/// </param>
Expand All @@ -23,18 +25,20 @@ public partial interface IVcrClient
global::System.Threading.Tasks.Task<global::Vercel.GetRepositoryImageResponse> GetRepositoryImageAsync(
string projectId,
string idOrName,
string imageId,
string imageIdOrDigest,
string? teamId = default,
string? slug = default,
global::Vercel.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Get a repository image<br/>
/// Fetch an individual image from a repository, including its tags and Dockerfile history entries with discriminated layer details for UI rendering.
/// Fetch an individual image from a repository, including its tags and Dockerfile history entries with discriminated layer details for UI rendering. The image may be addressed by its internal id (`image_...`) or by its manifest digest (`sha256:...`).
/// </summary>
/// <param name="projectId"></param>
/// <param name="idOrName"></param>
/// <param name="imageId"></param>
/// <param name="imageIdOrDigest">
/// The internal image id (`image_...`) or the image manifest digest (`sha256:...`).
/// </param>
/// <param name="teamId">
/// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l
/// </param>
Expand All @@ -47,7 +51,7 @@ public partial interface IVcrClient
global::System.Threading.Tasks.Task<global::Vercel.AutoSDKHttpResponse<global::Vercel.GetRepositoryImageResponse>> GetRepositoryImageAsResponseAsync(
string projectId,
string idOrName,
string imageId,
string imageIdOrDigest,
string? teamId = default,
string? slug = default,
global::Vercel.AutoSDKRequestOptions? requestOptions = default,
Expand Down
38 changes: 21 additions & 17 deletions src/libs/Vercel/Generated/Vercel.VcrClient.GetRepositoryImage.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ partial void PrepareGetRepositoryImageArguments(
global::System.Net.Http.HttpClient httpClient,
ref string projectId,
ref string idOrName,
ref string imageId,
ref string imageIdOrDigest,
ref string? teamId,
ref string? slug);
partial void PrepareGetRepositoryImageRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
string projectId,
string idOrName,
string imageId,
string imageIdOrDigest,
string? teamId,
string? slug);
partial void ProcessGetRepositoryImageResponse(
Expand All @@ -51,11 +51,13 @@ partial void ProcessGetRepositoryImageResponseContent(

/// <summary>
/// Get a repository image<br/>
/// Fetch an individual image from a repository, including its tags and Dockerfile history entries with discriminated layer details for UI rendering.
/// Fetch an individual image from a repository, including its tags and Dockerfile history entries with discriminated layer details for UI rendering. The image may be addressed by its internal id (`image_...`) or by its manifest digest (`sha256:...`).
/// </summary>
/// <param name="projectId"></param>
/// <param name="idOrName"></param>
/// <param name="imageId"></param>
/// <param name="imageIdOrDigest">
/// The internal image id (`image_...`) or the image manifest digest (`sha256:...`).
/// </param>
/// <param name="teamId">
/// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l
/// </param>
Expand All @@ -68,7 +70,7 @@ partial void ProcessGetRepositoryImageResponseContent(
public async global::System.Threading.Tasks.Task<global::Vercel.GetRepositoryImageResponse> GetRepositoryImageAsync(
string projectId,
string idOrName,
string imageId,
string imageIdOrDigest,
string? teamId = default,
string? slug = default,
global::Vercel.AutoSDKRequestOptions? requestOptions = default,
Expand All @@ -77,7 +79,7 @@ partial void ProcessGetRepositoryImageResponseContent(
var __response = await GetRepositoryImageAsResponseAsync(
projectId: projectId,
idOrName: idOrName,
imageId: imageId,
imageIdOrDigest: imageIdOrDigest,
teamId: teamId,
slug: slug,
requestOptions: requestOptions,
Expand All @@ -88,11 +90,13 @@ partial void ProcessGetRepositoryImageResponseContent(
}
/// <summary>
/// Get a repository image<br/>
/// Fetch an individual image from a repository, including its tags and Dockerfile history entries with discriminated layer details for UI rendering.
/// Fetch an individual image from a repository, including its tags and Dockerfile history entries with discriminated layer details for UI rendering. The image may be addressed by its internal id (`image_...`) or by its manifest digest (`sha256:...`).
/// </summary>
/// <param name="projectId"></param>
/// <param name="idOrName"></param>
/// <param name="imageId"></param>
/// <param name="imageIdOrDigest">
/// The internal image id (`image_...`) or the image manifest digest (`sha256:...`).
/// </param>
/// <param name="teamId">
/// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l
/// </param>
Expand All @@ -105,7 +109,7 @@ partial void ProcessGetRepositoryImageResponseContent(
public async global::System.Threading.Tasks.Task<global::Vercel.AutoSDKHttpResponse<global::Vercel.GetRepositoryImageResponse>> GetRepositoryImageAsResponseAsync(
string projectId,
string idOrName,
string imageId,
string imageIdOrDigest,
string? teamId = default,
string? slug = default,
global::Vercel.AutoSDKRequestOptions? requestOptions = default,
Expand All @@ -117,7 +121,7 @@ partial void ProcessGetRepositoryImageResponseContent(
httpClient: HttpClient,
projectId: ref projectId,
idOrName: ref idOrName,
imageId: ref imageId,
imageIdOrDigest: ref imageIdOrDigest,
teamId: ref teamId,
slug: ref slug);

Expand Down Expand Up @@ -145,7 +149,7 @@ partial void ProcessGetRepositoryImageResponseContent(
{

var __pathBuilder = new global::Vercel.PathBuilder(
path: $"/v1/vcr/repository/{idOrName}/images/{imageId}",
path: $"/v1/vcr/repository/{idOrName}/images/{imageIdOrDigest}",
baseUri: HttpClient.BaseAddress);
__pathBuilder
.AddRequiredParameter("projectId", projectId)
Expand Down Expand Up @@ -194,7 +198,7 @@ partial void ProcessGetRepositoryImageResponseContent(
httpRequestMessage: __httpRequest,
projectId: projectId!,
idOrName: idOrName!,
imageId: imageId!,
imageIdOrDigest: imageIdOrDigest!,
teamId: teamId,
slug: slug);

Expand All @@ -215,7 +219,7 @@ partial void ProcessGetRepositoryImageResponseContent(
context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext(
operationId: "GetRepositoryImage",
methodName: "GetRepositoryImageAsync",
pathTemplate: "$\"/v1/vcr/repository/{idOrName}/images/{imageId}\"",
pathTemplate: "$\"/v1/vcr/repository/{idOrName}/images/{imageIdOrDigest}\"",
httpMethod: "GET",
baseUri: BaseUri,
request: __httpRequest!,
Expand Down Expand Up @@ -249,7 +253,7 @@ partial void ProcessGetRepositoryImageResponseContent(
context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext(
operationId: "GetRepositoryImage",
methodName: "GetRepositoryImageAsync",
pathTemplate: "$\"/v1/vcr/repository/{idOrName}/images/{imageId}\"",
pathTemplate: "$\"/v1/vcr/repository/{idOrName}/images/{imageIdOrDigest}\"",
httpMethod: "GET",
baseUri: BaseUri,
request: __httpRequest!,
Expand Down Expand Up @@ -290,7 +294,7 @@ partial void ProcessGetRepositoryImageResponseContent(
context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext(
operationId: "GetRepositoryImage",
methodName: "GetRepositoryImageAsync",
pathTemplate: "$\"/v1/vcr/repository/{idOrName}/images/{imageId}\"",
pathTemplate: "$\"/v1/vcr/repository/{idOrName}/images/{imageIdOrDigest}\"",
httpMethod: "GET",
baseUri: BaseUri,
request: __httpRequest!,
Expand Down Expand Up @@ -338,7 +342,7 @@ partial void ProcessGetRepositoryImageResponseContent(
context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext(
operationId: "GetRepositoryImage",
methodName: "GetRepositoryImageAsync",
pathTemplate: "$\"/v1/vcr/repository/{idOrName}/images/{imageId}\"",
pathTemplate: "$\"/v1/vcr/repository/{idOrName}/images/{imageIdOrDigest}\"",
httpMethod: "GET",
baseUri: BaseUri,
request: __httpRequest!,
Expand All @@ -360,7 +364,7 @@ partial void ProcessGetRepositoryImageResponseContent(
context: global::Vercel.AutoSDKRequestOptionsSupport.CreateHookContext(
operationId: "GetRepositoryImage",
methodName: "GetRepositoryImageAsync",
pathTemplate: "$\"/v1/vcr/repository/{idOrName}/images/{imageId}\"",
pathTemplate: "$\"/v1/vcr/repository/{idOrName}/images/{imageIdOrDigest}\"",
httpMethod: "GET",
baseUri: BaseUri,
request: __httpRequest!,
Expand Down
14 changes: 9 additions & 5 deletions src/libs/Vercel/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176065,9 +176065,9 @@
]
}
},
"/v1/vcr/repository/{idOrName}/images/{imageId}": {
"/v1/vcr/repository/{idOrName}/images/{imageIdOrDigest}": {
"get": {
"description": "Fetch an individual image from a repository, including its tags and Dockerfile history entries with discriminated layer details for UI rendering.",
"description": "Fetch an individual image from a repository, including its tags and Dockerfile history entries with discriminated layer details for UI rendering. The image may be addressed by its internal id (`image_...`) or by its manifest digest (`sha256:...`).",
"operationId": "getRepositoryImage",
"security": [
{
Expand Down Expand Up @@ -176129,12 +176129,14 @@
}
},
{
"name": "imageId",
"name": "imageIdOrDigest",
"description": "The internal image id (`image_...`) or the image manifest digest (`sha256:...`).",
"in": "path",
"required": true,
"schema": {
"type": "string",
"maxLength": 255
"maxLength": 255,
"description": "The internal image id (`image_...`) or the image manifest digest (`sha256:...`)."
}
},
{
Expand All @@ -176156,7 +176158,9 @@
}
}
]
},
}
},
"/v1/vcr/repository/{idOrName}/images/{imageId}": {
"delete": {
"description": "Schedule an image for deletion. The image is marked so it disappears from list/get immediately; subscriber-vcr reclaims the manifest, blobs, tags and row asynchronously via the VcrManifestRemoved event.",
"operationId": "deleteRepositoryImage",
Expand Down