forked from github/plane
* chore: bug fix * dev: changes in api endpoints for invitations and inbox * chore: improvements * dev: update webhook send * dev: webhook validation and fix webhook flow for app * dev: error messages for deactivation * chore: api fixes * dev: update webhook and workspace leave * chore: issue comment * dev: default values for environment variables * dev: make the user active if he was already part of project member * chore: webhook cycle and module event * dev: disable ssl for emails * dev: webhooks restructuring * dev: updated webhook configuration * dev: webhooks * dev: state get object * dev: update workspace slug validation * dev: remove deactivation flag if max retries exceeded --------- Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
63 lines
1.8 KiB
Python
63 lines
1.8 KiB
Python
from django.urls import path
|
|
|
|
from plane.api.views import (
|
|
IssueAPIEndpoint,
|
|
LabelAPIEndpoint,
|
|
IssueLinkAPIEndpoint,
|
|
IssueCommentAPIEndpoint,
|
|
IssueActivityAPIEndpoint,
|
|
)
|
|
|
|
urlpatterns = [
|
|
path(
|
|
"workspaces/<str:slug>/projects/<uuid:project_id>/issues/",
|
|
IssueAPIEndpoint.as_view(),
|
|
name="issue",
|
|
),
|
|
path(
|
|
"workspaces/<str:slug>/projects/<uuid:project_id>/issues/<uuid:pk>/",
|
|
IssueAPIEndpoint.as_view(),
|
|
name="issue",
|
|
),
|
|
path(
|
|
"workspaces/<str:slug>/projects/<uuid:project_id>/labels/",
|
|
LabelAPIEndpoint.as_view(),
|
|
name="label",
|
|
),
|
|
path(
|
|
"workspaces/<str:slug>/projects/<uuid:project_id>/labels/<uuid:pk>/",
|
|
LabelAPIEndpoint.as_view(),
|
|
name="label",
|
|
),
|
|
path(
|
|
"workspaces/<str:slug>/projects/<uuid:project_id>/issues/<uuid:issue_id>/links/",
|
|
IssueLinkAPIEndpoint.as_view(),
|
|
name="link",
|
|
),
|
|
path(
|
|
"workspaces/<str:slug>/projects/<uuid:project_id>/issues/<uuid:issue_id>/links/<uuid:pk>/",
|
|
IssueLinkAPIEndpoint.as_view(),
|
|
name="link",
|
|
),
|
|
path(
|
|
"workspaces/<str:slug>/projects/<uuid:project_id>/issues/<uuid:issue_id>/comments/",
|
|
IssueCommentAPIEndpoint.as_view(),
|
|
name="comment",
|
|
),
|
|
path(
|
|
"workspaces/<str:slug>/projects/<uuid:project_id>/issues/<uuid:issue_id>/comments/<uuid:pk>/",
|
|
IssueCommentAPIEndpoint.as_view(),
|
|
name="comment",
|
|
),
|
|
path(
|
|
"workspaces/<str:slug>/projects/<uuid:project_id>/issues/<uuid:issue_id>/activities/",
|
|
IssueActivityAPIEndpoint.as_view(),
|
|
name="activity",
|
|
),
|
|
path(
|
|
"workspaces/<str:slug>/projects/<uuid:project_id>/issues/<uuid:issue_id>/activities/<uuid:pk>/",
|
|
IssueActivityAPIEndpoint.as_view(),
|
|
name="activity",
|
|
),
|
|
]
|