From 5b832b7c788a6e4f4cf1f58be9d33d556302963b Mon Sep 17 00:00:00 2001 From: Lucas Maxwell Date: Fri, 7 Mar 2025 16:25:17 +1100 Subject: [PATCH] Add default for commit-sha --- .../cloud-docs/api-docs/private-registry/modules.mdx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/website/docs/cloud-docs/api-docs/private-registry/modules.mdx b/website/docs/cloud-docs/api-docs/private-registry/modules.mdx index 8864d27a4..7443266cb 100644 --- a/website/docs/cloud-docs/api-docs/private-registry/modules.mdx +++ b/website/docs/cloud-docs/api-docs/private-registry/modules.mdx @@ -534,11 +534,11 @@ This POST endpoint requires a JSON object with the following properties as a req Properties without a default value are required. -| Key path | Type | Default | Description | -| ---------------------------- | ------ | ------- | ---------------------------------------------------- | -| `data.type` | string | | Must be `"registry-module-versions"`. | -| `data.attributes.version` | string | | A valid semver version string. | -| `data.attributes.commit-sha` | string | | The commit SHA to use to create the module version. | +| Key path | Type | Default | Description | +| ---------------------------- | ------ | ------- | ----------------------------------------------------------- | +| `data.type` | string | | Must be `"registry-module-versions"`. | +| `data.attributes.version` | string | | A valid semver version string. | +| `data.attributes.commit-sha` | string | `null` | If known, the commit SHA used to source the module version. | ### Sample Payload