Skip to content

feat(api): add GET /templates/{template_id} endpoint with tests#161

Open
aryan-2255 wants to merge 1 commit into
fireform-core:mainfrom
aryan-2255:feat/get-template-by-id
Open

feat(api): add GET /templates/{template_id} endpoint with tests#161
aryan-2255 wants to merge 1 commit into
fireform-core:mainfrom
aryan-2255:feat/get-template-by-id

Conversation

@aryan-2255

@aryan-2255 aryan-2255 commented Mar 3, 2026

Copy link
Copy Markdown

Closes #160
Added [GET /templates/{template_id}] endpoint to fetch a template by ID.
Returns 404 when template is not found.

Added tests for:
successful fetch by ID
not-found behavior

Validation:
Ran source .venv/bin/activate && PYTHONPATH=. pytest -q
Result: 4 passed

Copilot AI review requested due to automatic review settings March 3, 2026 13:53

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

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 GET /templates/{template_id} endpoint

2 participants