Skip to content

Commit 537889a

Browse files
committed
fix: correct Redis Cloud API endpoint documentation
- Fixed /account references to use / (root endpoint) - Added clarifying comments that account info is at root endpoint - No stats/metrics endpoints exist for Cloud databases (metrics included in database details) Fixes #367
1 parent 2abbd3f commit 537889a

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)