Skip to content

Conversation

@pneumojoseph
Copy link
Collaborator

…ate APIs

@pneumojoseph pneumojoseph added the Backend API changes request label Nov 13, 2025
@macroscopeapp
Copy link

macroscopeapp bot commented Nov 13, 2025

Split GET /templates/titles into /templates/titles-by-workflows, /templates/titles-by-tasks, and /templates/titles-by-events, add status filtering for workflows and tasks, and return count ordered by count DESC then template name ASC across Template titles endpoints

Introduce separate endpoints and serializers for workflows, tasks, and events; add task status branching in TemplateTitlesByTasksQuery, simplify workflow counting in TemplateTitlesByWorkflowsQuery, rename events query, and switch response field to count. Update view actions and permissions in template.py and adjust tests.

📍Where to Start

Start with the view actions TemplateViewSet.titles_by_workflows, TemplateViewSet.titles_by_tasks, and TemplateViewSet.titles_by_events in template.py.


Macroscope summarized d6d2287.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Backend API changes request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants