diff --git a/src/libs/Vercel/Generated/Vercel.IVcrClient.GetRepositoryImage.g.cs b/src/libs/Vercel/Generated/Vercel.IVcrClient.GetRepositoryImage.g.cs index f6afe289..98b556d0 100644 --- a/src/libs/Vercel/Generated/Vercel.IVcrClient.GetRepositoryImage.g.cs +++ b/src/libs/Vercel/Generated/Vercel.IVcrClient.GetRepositoryImage.g.cs @@ -6,11 +6,13 @@ public partial interface IVcrClient { /// /// Get a repository image
- /// 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:...`). ///
/// /// - /// + /// + /// The internal image id (`image_...`) or the image manifest digest (`sha256:...`). + /// /// /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l /// @@ -23,18 +25,20 @@ public partial interface IVcrClient global::System.Threading.Tasks.Task 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); /// /// Get a repository image
- /// 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:...`). ///
/// /// - /// + /// + /// The internal image id (`image_...`) or the image manifest digest (`sha256:...`). + /// /// /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l /// @@ -47,7 +51,7 @@ public partial interface IVcrClient global::System.Threading.Tasks.Task> GetRepositoryImageAsResponseAsync( string projectId, string idOrName, - string imageId, + string imageIdOrDigest, string? teamId = default, string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/Vercel/Generated/Vercel.VcrClient.GetRepositoryImage.g.cs b/src/libs/Vercel/Generated/Vercel.VcrClient.GetRepositoryImage.g.cs index 3564df31..80fadf07 100644 --- a/src/libs/Vercel/Generated/Vercel.VcrClient.GetRepositoryImage.g.cs +++ b/src/libs/Vercel/Generated/Vercel.VcrClient.GetRepositoryImage.g.cs @@ -29,7 +29,7 @@ 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( @@ -37,7 +37,7 @@ partial void PrepareGetRepositoryImageRequest( global::System.Net.Http.HttpRequestMessage httpRequestMessage, string projectId, string idOrName, - string imageId, + string imageIdOrDigest, string? teamId, string? slug); partial void ProcessGetRepositoryImageResponse( @@ -51,11 +51,13 @@ partial void ProcessGetRepositoryImageResponseContent( /// /// Get a repository image
- /// 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:...`). ///
/// /// - /// + /// + /// The internal image id (`image_...`) or the image manifest digest (`sha256:...`). + /// /// /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l /// @@ -68,7 +70,7 @@ partial void ProcessGetRepositoryImageResponseContent( public async global::System.Threading.Tasks.Task GetRepositoryImageAsync( string projectId, string idOrName, - string imageId, + string imageIdOrDigest, string? teamId = default, string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, @@ -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, @@ -88,11 +90,13 @@ partial void ProcessGetRepositoryImageResponseContent( } /// /// Get a repository image
- /// 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:...`). ///
/// /// - /// + /// + /// The internal image id (`image_...`) or the image manifest digest (`sha256:...`). + /// /// /// Example: team_1a2b3c4d5e6f7g8h9i0j1k2l /// @@ -105,7 +109,7 @@ partial void ProcessGetRepositoryImageResponseContent( public async global::System.Threading.Tasks.Task> GetRepositoryImageAsResponseAsync( string projectId, string idOrName, - string imageId, + string imageIdOrDigest, string? teamId = default, string? slug = default, global::Vercel.AutoSDKRequestOptions? requestOptions = default, @@ -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); @@ -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) @@ -194,7 +198,7 @@ partial void ProcessGetRepositoryImageResponseContent( httpRequestMessage: __httpRequest, projectId: projectId!, idOrName: idOrName!, - imageId: imageId!, + imageIdOrDigest: imageIdOrDigest!, teamId: teamId, slug: slug); @@ -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!, @@ -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!, @@ -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!, @@ -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!, @@ -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!, diff --git a/src/libs/Vercel/openapi.yaml b/src/libs/Vercel/openapi.yaml index 12bd028c..46e48dee 100644 --- a/src/libs/Vercel/openapi.yaml +++ b/src/libs/Vercel/openapi.yaml @@ -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": [ { @@ -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:...`)." } }, { @@ -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",