Skip to content

Commit 01567fd

Browse files
Merge pull request #369 from joshrotenberg/fix/cloud-api-endpoints-367-v2
fix: correct Redis Cloud API endpoint documentation
2 parents 2abbd3f + 537889a commit 01567fd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/src/common-features/raw-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ redisctl api cloud get /subscriptions | jq '.' > subscriptions.json
117117
## Common Endpoints
118118

119119
### Account & Billing
120-
- `/account` - Account information
120+
- `/` - Account information (root endpoint)
121121
- `/payment-methods` - Payment methods
122122
- `/cloud-accounts` - Cloud provider accounts
123123

docs/src/developer/libraries.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
2424
"your-api-secret",
2525
)?;
2626

27-
// Get account info
28-
let account = client.get_raw("/account").await?;
27+
// Get account info (root endpoint)
28+
let account = client.get_raw("/").await?;
2929
println!("{}", account);
3030

3131
Ok(())

0 commit comments

Comments
 (0)