Repository navigation
feat(docs): discover and fetch live API documentation - #920
Open
amaskara-dd wants to merge 1 commit into
Open
amaskara-dd wants to merge 1 commit into
amaskara-dd wants to merge 1 commit into
Conversation
Add unauthenticated topic and operation discovery from the live Datadog documentation index, with raw Markdown fetching and CLI help examples. Cover discovery, operation scoping, HTTP failures, safe links, output errors, and CLI argument validation.
amaskara-dd
marked this pull request as ready for review
October 16, 2026 19:34
There was a problem hiding this comment.
More details
The static review found no reportable defect in documentation discovery, operation selection, or command integration. Execution validation was blocked by an unavailable Rust toolchain and pinned dependency.
🤖 Bits Code Review · Commit d30cad4
platinummonkey
approved these changes
Oct 16, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Add
pup docs apiso users can discover API topics and operations and read request/response documentation before callingpup api.The command follows Datadog's live documentation indexes, so newly published documentation is available without updating Pup.
Changes
pup docs apior--list, and fetch topic Markdown withpup docs api monitors.pup docs api monitors --operations, and fetch an operation withpup docs api monitors create-a-monitor.pup api --helpand document raw output behavior.Testing
cargo test --offline -- --test-threads=1passed, including 2,218 unit tests and integration tests.cargo clippy --offline -- -D warningsandcargo fmt --checkpassed.cargo auditunavailable locally (not installed); cross-platform builds remain for CI.