summaryrefslogtreecommitdiff
path: root/Documentation/source/reference/routes.rst
blob: 93bcfd3a746a08e961d8385a61b788a85e29956d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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.