# 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.app.views import ( ExternalContourAttachmentDownloadEndpoint, ExternalContourDetailEndpoint, ExternalContourDecisionEndpoint, ExternalContourListCreateEndpoint, ExternalContourTargetOptionsEndpoint, ExternalContourTargetProjectListEndpoint, ) urlpatterns = [ path( "workspaces//projects//external-contours/", ExternalContourListCreateEndpoint.as_view(http_method_names=["get", "post"]), name="external-contours", ), path( "workspaces//projects//external-contours/targets/", ExternalContourTargetProjectListEndpoint.as_view(http_method_names=["get"]), name="external-contour-targets", ), path( "workspaces//projects//external-contours/targets//options/", ExternalContourTargetOptionsEndpoint.as_view(http_method_names=["get"]), name="external-contour-target-options", ), path( "workspaces//projects//external-contours//", ExternalContourDetailEndpoint.as_view(http_method_names=["get"]), name="external-contour-detail", ), path( "workspaces//projects//external-contours//decision/", ExternalContourDecisionEndpoint.as_view(http_method_names=["post"]), name="external-contour-decision", ), path( "workspaces//projects//external-contours//attachments//", ExternalContourAttachmentDownloadEndpoint.as_view(http_method_names=["get"]), name="external-contour-attachment-download", ), ]