* fix: project webhooks * fix: issue and issue comment webhooks * dev: remove module and cycle issue webhooks * fix: linting errors
24 lines
581 B
Python
24 lines
581 B
Python
from django.urls import path
|
|
|
|
from plane.api.views import (
|
|
ProjectAPIEndpoint,
|
|
ProjectArchiveUnarchiveAPIEndpoint,
|
|
)
|
|
|
|
urlpatterns = [
|
|
path(
|
|
"workspaces/<str:slug>/projects/",
|
|
ProjectAPIEndpoint.as_view(),
|
|
name="project",
|
|
),
|
|
path(
|
|
"workspaces/<str:slug>/projects/<uuid:pk>/",
|
|
ProjectAPIEndpoint.as_view(),
|
|
name="project",
|
|
),
|
|
path(
|
|
"workspaces/<str:slug>/projects/<uuid:project_id>/archive/",
|
|
ProjectArchiveUnarchiveAPIEndpoint.as_view(),
|
|
name="project-archive-unarchive",
|
|
),
|
|
]
|