# Copyright (c) 2023-present Plane Software, Inc. and contributors # SPDX-License-Identifier: AGPL-3.0-only # See the LICENSE file for details. from django.urls import path from plane.space.views import ( IssueRetrievePublicEndpoint, IssueCommentPublicViewSet, IssueReactionPublicViewSet, CommentReactionPublicViewSet, IssueVotePublicViewSet, ) urlpatterns = [ path( "anchor//issues//", IssueRetrievePublicEndpoint.as_view(), name="workspace-project-boards", ), path( "anchor//issues//comments/", IssueCommentPublicViewSet.as_view({"get": "list", "post": "create"}), name="issue-comments-project-board", ), path( "anchor//issues//comments//", IssueCommentPublicViewSet.as_view({"get": "retrieve", "patch": "partial_update", "delete": "destroy"}), name="issue-comments-project-board", ), path( "anchor//issues//reactions/", IssueReactionPublicViewSet.as_view({"get": "list", "post": "create"}), name="issue-reactions-project-board", ), path( "anchor//issues//reactions//", IssueReactionPublicViewSet.as_view({"delete": "destroy"}), name="issue-reactions-project-board", ), path( "anchor//comments//reactions/", CommentReactionPublicViewSet.as_view({"get": "list", "post": "create"}), name="comment-reactions-project-board", ), path( "anchor//comments//reactions//", CommentReactionPublicViewSet.as_view({"delete": "destroy"}), name="comment-reactions-project-board", ), path( "anchor//issues//votes/", IssueVotePublicViewSet.as_view({"get": "list", "post": "create", "delete": "destroy"}), name="issue-vote-project-board", ), ]