PostPublishTemplateVersion
Initiates the first step of a two-phase template version publish workflow. This creates a publish transaction and returns an operationID along with a pre-signed upload URL for the template archive. The source must be 'private'. The caller must upload the template archive (a gzip-compressed tar file containing a root-level Pulumi.yaml with a template section, and optionally a README.md) to the provided URL, then call PostPublishTemplateVersionComplete with the operationID to finalize the publish. The request body must include the semantic version to publish. Returns 202 Accepted with the operation details, or 404 if the source does not exist.
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
- Auth: none declared
Path parameters
The template source: 'private', 'github', or 'gitlab'
Organization that owns the template
The template name
Request body
Response
Accepted
Changes
No recorded changes to this operation across all 1 revision of this API.