Skip to content

Conversation

@joshrotenberg
Copy link
Collaborator

Summary

Implements three Cloud API endpoints requested for v1.0:

New Commands

  1. cloud task list - List all tasks for this account (feat(cloud): add GET /tasks endpoint to list all tasks #465)

    • Supports table/JSON/YAML output
    • Shows task ID, status, command type, progress, and description
  2. cloud database flush <id> - Flush standard (non-AA) databases (feat(cloud): add flush endpoint for non-Active-Active databases #467)

    • Requires confirmation (use --force to skip)
    • Complements existing flush-crdb for Active-Active databases
  3. cloud database available-versions <id> - Get available Redis upgrade versions (feat(cloud): add available-target-versions endpoint for databases #466)

    • Shows which Redis versions a database can upgrade to
    • Useful for planning upgrades

Library Changes

  • redis-cloud: Added get_all_tasks and get_all_tasks_raw methods to TasksHandler
  • redis-cloud: Added get_available_target_versions to DatabaseHandler (Pro)
  • redis-cloud: Added get_available_target_versions to FixedDatabaseHandler (Essentials)
  • redis-cloud: Added flush_database method for standard databases

Testing

  • All existing tests pass
  • cargo clippy passes with no warnings
  • cargo fmt applied

Closes #465, #466, #467

…mmands

- Add 'cloud task list' command to list all tasks (#465)
- Add 'cloud database flush' for standard databases (#467)
- Add 'cloud database available-versions' for upgrade planning (#466)
- Add library methods for available-target-versions endpoint (Pro and Essentials)
- Add library method for standard database flush

Closes #465, #466, #467
@joshrotenberg joshrotenberg force-pushed the feat/cloud-api-endpoints branch from 4eb9224 to 4defd6e Compare December 9, 2025 00:50
@joshrotenberg joshrotenberg merged commit ce1c8a5 into main Dec 9, 2025
16 checks passed
@joshrotenberg joshrotenberg deleted the feat/cloud-api-endpoints branch December 9, 2025 01:10
@joshrotenberg joshrotenberg mentioned this pull request Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(cloud): add GET /tasks endpoint to list all tasks

2 participants