MCPcopy
hub / github.com/makeplane/plane / create

Method create

apps/api/plane/app/views/page/base.py:476–483  ·  view source on GitHub ↗
(self, request, slug, project_id, page_id)

Source from the content-addressed store, hash-verified

474
475 @allow_permission([ROLE.ADMIN, ROLE.MEMBER])
476 def create(self, request, slug, project_id, page_id):
477 _ = UserFavorite.objects.create(
478 project_id=project_id,
479 entity_identifier=page_id,
480 entity_type="page",
481 user=request.user,
482 )
483 return Response(status=status.HTTP_204_NO_CONTENT)
484
485 @allow_permission([ROLE.ADMIN, ROLE.MEMBER])
486 def destroy(self, request, slug, project_id, page_id):

Callers

nothing calls this directly

Calls 1

createMethod · 0.45

Tested by

no test coverage detected