feat: page labels and favorites (#487)

* dev: initiate page labels

* dev: page labels

* dev: my pages endpoint
This commit is contained in:
pablohashescobar 2023-03-22 23:41:30 +05:30 committed by GitHub
parent cd26b2e096
commit 4e3c9397ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 139 additions and 19 deletions

View file

@ -106,6 +106,7 @@ from plane.api.views import (
PageBlockViewSet,
PageFavoriteViewSet,
CreateIssueFromPageBlockEndpoint,
MyPagesEndpoint,
## End Pages
# Api Tokens
ApiTokenEndpoint,
@ -978,6 +979,11 @@ urlpatterns = [
CreateIssueFromPageBlockEndpoint.as_view(),
name="page-block-issues",
),
path(
"workspaces/<str:slug>/projects/<uuid:project_id>/user/pages/",
MyPagesEndpoint.as_view(),
name="my-pages",
),
## End Pages
# API Tokens
path("api-tokens/", ApiTokenEndpoint.as_view(), name="api-tokens"),