Skip to content

feat(synthetics): add downtime list/create/delete commands#546

Merged
platinummonkey merged 2 commits into
chore/upgrade-dd-sdk-to-masterfrom
feat/synthetics-downtime
May 30, 2026
Merged

feat(synthetics): add downtime list/create/delete commands#546
platinummonkey merged 2 commits into
chore/upgrade-dd-sdk-to-masterfrom
feat/synthetics-downtime

Conversation

@platinummonkey
Copy link
Copy Markdown
Collaborator

Summary

Surfaces the Synthetics downtime endpoints picked up in the SDK upgrade (base chore/upgrade-dd-sdk-to-master, PR #539), SDK #1518.

Changes

  • src/commands/synthetics.rsdowntime_list (with optional filters), downtime_create, downtime_delete
  • src/main.rspup synthetics downtime list|create|delete subcommands + dispatch
  • docs/COMMANDS.md — documented the new subcommands

The downtime operations are not gated as unstable ops, so client.rs is unchanged.

New commands

pup synthetics downtime list
pup synthetics downtime create --file body.json
pup synthetics downtime delete <downtime-id>

Testing

  • list / list-with-filters / create / delete + error paths
  • Validated locally against the pinned SDK rev: cargo test green, cargo clippy clean (no warnings in pup code). Request/response fixtures match the SDK schema (camelCase isEnabled/testIds/timeSlots; data.type = downtime).

🤖 Generated with Claude Code


Generated by Claude Code

Wraps the Synthetics downtime endpoints (SDK #1518):
- pup synthetics downtime list [--filters]
- pup synthetics downtime create --file
- pup synthetics downtime delete <id>

Co-Authored-By: Claude <noreply@anthropic.com>
@platinummonkey platinummonkey requested a review from a team as a code owner May 30, 2026 08:28
@datadog-prod-us1-4

This comment has been minimized.

Co-Authored-By: Claude <noreply@anthropic.com>
@platinummonkey platinummonkey merged commit 853e239 into chore/upgrade-dd-sdk-to-master May 30, 2026
6 checks passed
@platinummonkey platinummonkey deleted the feat/synthetics-downtime branch May 30, 2026 10:17
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.

2 participants