summaryrefslogtreecommitdiff
path: root/Documentation/source/reference/routes.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/source/reference/routes.rst')
-rw-r--r--Documentation/source/reference/routes.rst50
1 files changed, 50 insertions, 0 deletions
diff --git a/Documentation/source/reference/routes.rst b/Documentation/source/reference/routes.rst
new file mode 100644
index 0000000..93bcfd3
--- /dev/null
+++ b/Documentation/source/reference/routes.rst
@@ -0,0 +1,50 @@
+Route Reference
+===============
+
+Public Pages
+------------
+
+.. code-block:: text
+
+ /
+ /posts
+ /posts/[slug]
+ /tags
+ /tags/[tag]
+ /about
+ /login
+
+Admin and Payload
+-----------------
+
+.. code-block:: text
+
+ /admin
+ /api/[...slug]
+ /api/graphql
+ /api/graphql-playground
+
+Application APIs
+----------------
+
+.. code-block:: text
+
+ /api/auth/[...all]
+ /api/comments/[...comment]
+ /api/search
+
+Generated Assets
+----------------
+
+.. code-block:: text
+
+ /rss.xml
+ /banner.png
+ /og/[...slug]
+
+Route Ownership
+---------------
+
+Routes under ``src/app/(main)`` belong to the public application. Routes under
+``src/app/(payload)`` belong to Payload CMS integration and should be changed
+with care because they affect the admin and CMS API surface.