Skip to content

Add module versions API#16

Closed
phucnguyen1707 wants to merge 1 commit into
profullstack:masterfrom
phucnguyen1707:add-module-versions-api
Closed

Add module versions API#16
phucnguyen1707 wants to merge 1 commit into
profullstack:masterfrom
phucnguyen1707:add-module-versions-api

Conversation

@phucnguyen1707

Copy link
Copy Markdown

Summary

  • add GET and POST /api/modules/:slug/versions for listing and publishing module release records
  • require the authenticated, email-verified module author for publishing new semantic versions
  • reject duplicate versions and sync module-level release metadata after publish
  • document the endpoint in module docs and OpenAPI

Closes #8

Tests

  • pnpm --filter @profullstack/threatcrush-web test -- apps/web/src/app/api/modules/[slug]/versions/tests/route.test.ts
  • pre-commit hook: Build CLI, Next web build

@ralyodio ralyodio closed this Jun 16, 2026
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.

feat: add first-class module versions API

2 participants