Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/cloud-2.0' into DOC-10386
Browse files Browse the repository at this point in the history
  • Loading branch information
mdlinville committed Sep 23, 2024
2 parents 6255ef6 + bfd4d63 commit 3b89e6b
Show file tree
Hide file tree
Showing 3 changed files with 103 additions and 518 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
]
},
{
"title": "Provision a Serverless Cluster with Terraform",
"title": "Use the Terraform provider",
"urls": [
"/cockroachcloud/provision-a-cluster-with-terraform.html"
]
Expand Down
2 changes: 1 addition & 1 deletion src/current/cockroachcloud/cloud-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Where `{secret_key}` is the [secret key string you stored when you created the A

## Set the API version

The `Cc-Version` HTTP header specifies the version of the Cloud API to use. If you omit the `Cc-Version` header, the Cloud API will default to version `2022-03-31` (the initial release of the Cloud API). The Cloud API uses date-based versions of the form `YYYY-MM-DD`, in [ISO 8601 format](https://www.w3.org/TR/NOTE-datetime).
The Cloud API uses date-based versions of the form `YYYY-MM-DD`, in [ISO 8601 format](https://www.w3.org/TR/NOTE-datetime). It is strongly recommended that you use the `Cc-Version` HTTP header to specify the version of the Cloud API to use. If you omit the `Cc-Version` header, the Cloud API will default to the latest version. If you don’t specify the version your application expects, breakage may occur. While we try to minimize the risk of breaking API changes, passing the version explicitly helps to mitigate against this risk and is strongly recommended.

If you set an invalid version, you will get an HTTP 400 response with the message "invalid Cc-Version."

Expand Down
Loading

0 comments on commit 3b89e6b

Please sign in to comment.