Registry

PostPublishTemplateVersionComplete

Finalizes the second step of the two-phase template version publish workflow. After initiating a publish with PostPublishTemplateVersion and uploading the template archive (.tar.gz) to the pre-signed URL, call this endpoint with the operationID to complete the publish. The service validates that the archive was uploaded successfully before making the version available in the registry. Once complete, the template becomes available to the publisher's organization. Returns 201 Created on success, 400 for invalid operation state, 404 if the publish operation is not found, or 409 if the version already exists.

post/api/registry/templates/{source}/{publisher}/{name}/versions/{version}/complete

Request

  • Base URL: https://api.pulumi.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.pulumi.com/api/registry/templates/{source}/{publisher}/{name}/versions/{version}/complete
  • Auth: none declared

Path parameters

sourcestring required

The template source: 'private', 'github', or 'gitlab'

publisherstring required

Organization that owns the template

namestring required

The template name

versionstring required

Semantic version string of the template version to complete

Request body

operationIDstring required

The identifier of the publish operation to complete.

Response

Created

PublishTemplateVersionCompleteResponse required

PublishTemplateVersionCompleteResponse is the response after completing a template version publish operation.

Changes

No recorded changes to this operation across all 1 revision of this API.