* add missing fields and methods in endpoints * add POST method for project members * make project_id as uuid in url pattern * remove post method * fix method reordering
16 lines
481 B
Python
16 lines
481 B
Python
from django.urls import path
|
|
|
|
from plane.api.views import ProjectMemberAPIEndpoint, WorkspaceMemberAPIEndpoint
|
|
|
|
urlpatterns = [
|
|
path(
|
|
"workspaces/<str:slug>/projects/<uuid:project_id>/members/",
|
|
ProjectMemberAPIEndpoint.as_view(http_method_names=["get"]),
|
|
name="project-members",
|
|
),
|
|
path(
|
|
"workspaces/<str:slug>/members/",
|
|
WorkspaceMemberAPIEndpoint.as_view(http_method_names=["get"]),
|
|
name="workspace-members",
|
|
),
|
|
]
|