Skip to content

feat: deprecate /v2/content/:msaId/on-chain, add /v3/content/on-chain, e2e tests#1031

Merged
JoeCap08055 merged 2 commits intomainfrom
feat/remove-msaid-from-onchain-endpoint-path
Apr 2, 2026
Merged

feat: deprecate /v2/content/:msaId/on-chain, add /v3/content/on-chain, e2e tests#1031
JoeCap08055 merged 2 commits intomainfrom
feat/remove-msaid-from-onchain-endpoint-path

Conversation

@JoeCap08055
Copy link
Copy Markdown
Contributor

Purpose

The goal of this PR is to remove :msaId from the path paramters of the on-chain announcement endpoint.

Deprecated: POST /v2/content/:msaId/on-chain
Added: POST /v3/content/on-chain

Also added intentName to the payload.

  • If intentName is present:
    • if no schemaId present, use the latest schema for the intent
    • if schemaId is present, validate that it implements the associated intent & use it
  • if schemaId is present:
    • if no intentName is present, use the schema ID

Checklist

items that don't apply can be marked NA or deleted

  • end-to-end tests added
  • Documentation added or updated (where applicable)
  • API endpoints added or changed? Added the endpoints in main.ts and regenerated Swagger docs
  • Breaking changes? "breaking changes" label added

Additional details / screenshot

  • Any supplemental pictures or material
  • Screenshot

@JoeCap08055 JoeCap08055 added the breaking changes For a PR that breaks an interface label Apr 1, 2026
@JoeCap08055 JoeCap08055 merged commit e7967f3 into main Apr 2, 2026
19 checks passed
@JoeCap08055 JoeCap08055 deleted the feat/remove-msaid-from-onchain-endpoint-path branch April 2, 2026 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking changes For a PR that breaks an interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants