Sync to Tango API v4.6.9: budget surface, singleton GETs, drop fabricated IDV summary (v0.2.0)#3
Open
makegov-mark[bot] wants to merge 1 commit into
Open
Sync to Tango API v4.6.9: budget surface, singleton GETs, drop fabricated IDV summary (v0.2.0)#3makegov-mark[bot] wants to merge 1 commit into
makegov-mark[bot] wants to merge 1 commit into
Conversation
Add the budget surface (/api/budget/accounts/ list/retrieve/quarters/ recipients), singleton detail GETs (contract/opportunity/notice/forecast/ grant/subaward), contract sub-routes (subawards/transactions), entity budget-flows, and grant_id + cage filters. Remove the fabricated get_idv_summary / list_idv_summary_awards methods (paths never existed upstream; breaking but free pre-1.0). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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
Syncs the Rust SDK to Tango API v4.6.9. Coverage was 78/117 ops; this closes the agreed-on additive gap and removes a fabricated endpoint. Version bump 0.1.0 → 0.2.0.
Part of a four-SDK sync — paired with tango-go #5, following tango-python #31 and tango-node #9. Pre-1.0, so breaking changes ship without a deprecation cycle.
Phase 1 — Bug fix (breaking)
get_idv_summaryandlist_idv_summary_awards— they called/api/idvs/{id}/summary/and/summary/awards/, which have never existed in the API. Deleted methods + tests + doc entries. Real IDV sub-paths (awards/,idvs/,lcats/,transactions/) retained. (crates/tango/src/resources/idv_subresources.rs)Phase 2 — Additive surfaces
list_budget_accounts,get_budget_account,get_budget_account_quarters,get_budget_account_recipients— newresources/budget.rs+SHAPE_BUDGET_ACCOUNTS_MINIMAL.get_contract,get_contract_subawards,get_contract_transactions,get_forecast,get_grant,get_notice,get_opportunity,get_subaward.get_entity_budget_flows(uei).grant_idfilter on grants list;cagefilter on entities list (verified absent, added distinct from any existing field).Phase 3 — Housekeeping
Cargo.toml);## [Unreleased]CHANGELOG block;## 0.2ROADMAP section;docs/API_REFERENCE.mdupdates.Deferred (by decision)
accounts/usage(internal), G2X events/news/company-rag, canonical webhook-subscriptions CRUD, PUT/PATCH webhook aliases.Known follow-up (not fixed here)
Department.codedecode bug: OpenAPI types it as integer (IntegerField(primary_key=True)), but the SDK decodes department code as a string, so/api/departments/{code}/will mis-decode./api/agencies/{code}/is fine (CharField). Needs a typed-field fix + smoke test in a follow-up.Test plan
cargo test --workspace --all-features→ 234 passed (up from 220)cargo clippy --all-targets -- -D warningscleancargo fmt --checkclean🤖 Generated with Claude Code
~ Mark