Repository navigation
feat: Add HTTP save endpoints for brands and properties - #1101
Merged
Merged
Conversation
Exposes the same save_brand logic Addie uses via MCP as a public HTTP endpoint. Supports creating new brands and revision-tracked edits to existing ones. Returns 409 for authoritative brand.json sources. Co-Authored-By: Claude Opus 4.6 <[email protected]>
Exposes the same save_property logic Addie uses via MCP as a public HTTP endpoint. Builds a synthetic adagents.json from authorized_agents and properties, supports revision-tracked edits for existing hosted properties, and returns 409 for authoritative adagents.json sources. Co-Authored-By: Claude Opus 4.6 <[email protected]>
No protocol spec changes — these are registry API implementation endpoints. Co-Authored-By: Claude Opus 4.6 <[email protected]>
Address code review findings: - Require authentication via requireAuth middleware - Add brandCreationRateLimiter (60 req/hour) - Normalize and validate domain format (strip protocol, lowercase) - Use authenticated user identity for revision audit trail - Force source_type to "community" (server-determined, not caller) - Remove source_type from OpenAPI request schema - Add 401/429 response codes to OpenAPI spec Co-Authored-By: Claude Opus 4.6 <[email protected]>
bokelley
added a commit
that referenced
this pull request
Feb 16, 2026
The POST /api/brands/save and POST /api/properties/save endpoints were implemented in #1101 but missing from the Mintlify docs. Adds full documentation including request/response examples, rate limits, auth requirements, and error codes. Co-Authored-By: Claude Opus 4.6 <[email protected]>
3 of 4 tasks
bokelley
added a commit
that referenced
this pull request
Feb 16, 2026
The POST /api/brands/save and POST /api/properties/save endpoints were implemented in #1101 but missing from the Mintlify docs. Adds full documentation including request/response examples, rate limits, auth requirements, and error codes. Co-authored-by: Claude Opus 4.6 <[email protected]>
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
POST /api/brands/save— HTTP endpoint mirroring Addie'ssave_brandMCP toolPOST /api/properties/save— HTTP endpoint mirroring Addie'ssave_propertyMCP toolDetails
These endpoints expose the same brand/property save logic that Addie uses internally via MCP as authenticated HTTP endpoints. Key behaviors:
source_type: "community"brand.jsonor properties with liveadagents.jsonTest plan
POST /api/brands/savePOST /api/properties/save🤖 Generated with Claude Code