feat: v3 endpoint for module and cycle (#2786)

* feat: v3 endpoint for module and cycle

* fix: removed the str
This commit is contained in:
Bavisetti Narayan 2023-11-18 16:30:35 +05:30 committed by sriram veeraghanta
parent 2cca0b1e76
commit d933c73343
6 changed files with 115 additions and 2 deletions

View file

@ -7,6 +7,7 @@ from plane.api.views import (
CycleDateCheckEndpoint,
CycleFavoriteViewSet,
TransferCycleIssueEndpoint,
CycleIssueGroupedEndpoint,
)
@ -43,6 +44,11 @@ urlpatterns = [
),
name="project-issue-cycle",
),
path(
"v3/workspaces/<str:slug>/projects/<uuid:project_id>/cycles/<uuid:cycle_id>/cycle-issues/",
CycleIssueGroupedEndpoint.as_view(),
name="project-issue-cycle",
),
path(
"workspaces/<str:slug>/projects/<uuid:project_id>/cycles/<uuid:cycle_id>/cycle-issues/<uuid:pk>/",
CycleIssueViewSet.as_view(