Skip to content

DM-51488 : Create API Routes for v2 Campaigns and Manifests#184

Merged
tcjennings merged 15 commits intotickets/DM-51337/releasefrom
tickets/DM-51488/v2_api
Jul 15, 2025
Merged

DM-51488 : Create API Routes for v2 Campaigns and Manifests#184
tcjennings merged 15 commits intotickets/DM-51337/releasefrom
tickets/DM-51488/v2_api

Conversation

@tcjennings
Copy link
Copy Markdown
Collaborator

@tcjennings tcjennings commented Jun 20, 2025

Implements additional models and routes for v2 campaigns and manifest CRUD operations.

@tcjennings tcjennings force-pushed the tickets/DM-51488/v2_api branch 2 times, most recently from 9c5c71a to d964b81 Compare June 23, 2025 19:23
@tcjennings tcjennings force-pushed the tickets/DM-51396/v2_tables branch 2 times, most recently from b35ea06 to 9dadfe3 Compare June 24, 2025 14:36
@tcjennings tcjennings force-pushed the tickets/DM-51488/v2_api branch 3 times, most recently from 4cfe1b3 to 33d58e3 Compare June 24, 2025 15:18
@tcjennings tcjennings force-pushed the tickets/DM-51396/v2_tables branch from 9dadfe3 to ac2ebfb Compare June 24, 2025 21:08
@tcjennings tcjennings force-pushed the tickets/DM-51488/v2_api branch from 33d58e3 to b7d311b Compare June 24, 2025 21:10
@tcjennings tcjennings force-pushed the tickets/DM-51396/v2_tables branch from ac2ebfb to 7782fc0 Compare June 25, 2025 16:26
@tcjennings tcjennings force-pushed the tickets/DM-51488/v2_api branch 2 times, most recently from 9a3e1a2 to 5e4e92e Compare June 25, 2025 19:09
@tcjennings tcjennings marked this pull request as ready for review June 25, 2025 19:14
@tcjennings tcjennings force-pushed the tickets/DM-51396/v2_tables branch from 7782fc0 to 4ece397 Compare June 30, 2025 16:38
bugfix(manifests): correct manifest name determination

chore(tests): Implement tests for manifest routes

feat(api): Extend and update v2 manifest routes
- add state machine db model
- rearrange shared types and serde helpers
- support arbitrary table schema in new db models and tests
- Refactor validation function for enum fields
- Add FK relations to model fields
feat(api): Refactor campaign and node routes
@tcjennings tcjennings force-pushed the tickets/DM-51488/v2_api branch from 5e4e92e to bcc2a96 Compare June 30, 2025 16:38
Base automatically changed from tickets/DM-51396/v2_tables to tickets/DM-51337/release July 7, 2025 17:05
- add crtime to element metadata
- add manifests route for campaigns
Copy link
Copy Markdown
Member

@ctslater ctslater left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lot of infrastructure here and all looks good, not much to suggest at all.

) -> Sequence[Campaign]:
"""..."""
try:
campaigns = await session.exec(select(Campaign).offset(offset).limit(limit))
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same sorting issue as the other PR.

DM-51505 : Implement v2 Node and Edge routes
@tcjennings tcjennings merged commit 846f01a into tickets/DM-51337/release Jul 15, 2025
4 checks passed
@tcjennings tcjennings deleted the tickets/DM-51488/v2_api branch July 15, 2025 13:50
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