Skip to content

feat(api): add module versions endpoint#36

Merged
ralyodio merged 1 commit into
profullstack:masterfrom
RomeoApps:codex/module-versions-endpoint-current
Jun 27, 2026
Merged

feat(api): add module versions endpoint#36
ralyodio merged 1 commit into
profullstack:masterfrom
RomeoApps:codex/module-versions-endpoint-current

Conversation

@RomeoApps

Copy link
Copy Markdown
Contributor

Summary

Adds a first-class module release versions endpoint for the module marketplace:

  • GET /api/modules/[slug]/versions lists published module versions newest first
  • POST /api/modules/[slug]/versions lets the verified module author publish a semantic-versioned release
  • syncs the module's current version / min_threatcrush_version metadata after a successful release insert
  • documents the route in the module-store API docs and OpenAPI spec

Validation

  • git diff --check origin/master...HEAD
  • pnpm --filter @profullstack/threatcrush-web test -- 'apps/web/src/app/api/modules/[slug]/versions/__tests__/route.test.ts'\n- pnpm --filter @profullstack/threatcrush-web build\n

@ralyodio ralyodio merged commit cf13470 into profullstack:master Jun 27, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants