[SILO-449] fix: add missing methods in external APIs (#7601)
* 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
This commit is contained in:
parent
f10cd92610
commit
c209a713d8
2 changed files with 5 additions and 1 deletions
|
|
@ -45,6 +45,10 @@ class ProjectCreateSerializer(BaseSerializer):
|
|||
"archive_in",
|
||||
"close_in",
|
||||
"timezone",
|
||||
"logo_props",
|
||||
"external_source",
|
||||
"external_id",
|
||||
"is_issue_type_enabled",
|
||||
]
|
||||
|
||||
read_only_fields = [
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ from plane.api.views import ProjectMemberAPIEndpoint, WorkspaceMemberAPIEndpoint
|
|||
|
||||
urlpatterns = [
|
||||
path(
|
||||
"workspaces/<str:slug>/projects/<str:project_id>/members/",
|
||||
"workspaces/<str:slug>/projects/<uuid:project_id>/members/",
|
||||
ProjectMemberAPIEndpoint.as_view(http_method_names=["get"]),
|
||||
name="project-members",
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue