Repository navigation
feat(database): Hub record methods, trees, list settings, embed, bundle; Api find_own and merged tree - #32
Merged
Merged
Conversation
…le; Api find_own and merged tree Adds the 25 database routes the SDK did not call yet, sync and async: - Hub records: find_records, find_one_record, insert_record, insert_many_records, update_one_record, update_many_records, replace_record, delete_record, delete_many_records, count_records, distinct_record_values, aggregate_records, execute_records_aggregate, change_record_responsibility, seed_collection_records, get_collection_indexes. - Hub schemas: apply_database_schema_bundle, update_database_schema_embed, get/update_database_schema_list_settings. - Hub taxonomies: get_database_taxonomy_tree, get_database_taxonomy_term_tree, get_database_merged_term_tree. - Api: find_own, find_merged_term_tree. Untyped like the rest of the SDK: values pass through **request. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…abase methods Each new Hub method is checked against its full gateway path and verb; a GET sends query values, a write sends a JSON body, and the async module has the same methods. Api find_own and find_merged_term_tree get the same checks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…st settings Document is an extended-JSON string and list settings go under "settings", as the gateway request types define them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… methods; Api find_own and merged tree The Hub table also gains the three flex integration methods that were in the SDK but missing from the page, and both index counts are updated. Co-Authored-By: Claude Opus 5.5 <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.
What changed
find_records,insert_record,update_one_record,delete_record,count_records,aggregate_records,seed_collection_records,get_collection_indexes, ...), Hub schema list settings / embed / apply-bundle, Hub taxonomy, term and merged trees, and Apifind_ownandfind_merged_term_tree.**request). No existing method changed. Every existing database method's verb and path was checked against the gateway endpoint manifest fromaudit/database: all match.docs/hub/database.mdanddocs/api/database.mdlist the new methods with examples; the Hub table also gains the 3 flex integration methods that were missing from the page.Tests
uv run pytest: 865 passed (new: 23 parametrized Hub route cases with the fully resolved path, query/body/header checks, async parity; 3 Api cases). Fake capture transport only.make typecheck(mypy): clean.uv run ruff check .: clean.Context
Task file:
docs/tasks/database-audit.mdon branchaudit/databaseof codemash-io/gateway(/Users/djovaisas/Projects/norbix/worktrees/gateway/audit/database/campaign/docs/tasks/database-audit.md).
Expected version: v3.9.0 (one
featcommit, minor).🤖 Generated with Claude Code