We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Implement WordPress API endpoint URL patterns
### Motivation
With Django we decided to introduce a new, clean API URL pattern. However, the apps do not use this API yet. We already have exports of the content and the app team could start end to end testing, as soon as the app can interface with the CMS.


### Proposed Solution
We need to implement the URL pattern defined in https://github.com/Integreat/cms/wiki/REST-APIv3-Documentation
The WordPress URL pattern should be available in addition to the current (clean) URLs, so that the app team can switch over.

Please test the integration with the web app by [changing the back end URL](https://github.com/Integreat/cms/wiki/REST-APIv3-Documentation#test-api-with-webapp) to the Django system. If you need help finding issues or interpreting error messages, feel free to contact the app team for help.

### Alternatives
None, needs to be done.


--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `src/backend/urls.py`
Content:
```
1 """
2 Django URL dispatcher.
3 Delegates the following namespaces:
4 
5 * ``/api/`` to :mod:`api.urls`
6 
7 * ``/admin/`` to :meth:`django.contrib.admin.ModelAdmin.get_urls`
8 
9 * ``/i18n/`` to :mod:`django.conf.urls.i18n`
10 
11 * ``/sitemap.xml`` and ``/<region_slug>/<language_slug>/sitemap.xml`` to :mod:`sitemap.urls`
12 
13 * ``/`` to :mod:`cms.urls`
14 
15 Additionally, the error handlers in :mod:`cms.views.error_handler` are referenced here (see :doc:`ref/urls`).
16 
17 For more information on this file, see :doc:`topics/http/urls`.
18 """
19 from django.conf.urls import include, url
20 from django.conf import settings
21 from django.contrib import admin
22 
23 
24 urlpatterns = [
25     url(r"^api/", include("api.urls")),
26     url(r"^i18n/", include("django.conf.urls.i18n")),
27 ]
28 
29 # The admin/endpoint is only activated if the system is in debug mode.
30 if settings.DEBUG:
31     urlpatterns.append(url(r"^admin/", admin.site.urls))
32 
33 # Unfortunatly we need to do this in such way, as the admin endpoint needs to be added before the endpoints of the other apps.
34 urlpatterns += [
35     url(r"^", include("sitemap.urls")),
36     url(r"^", include("cms.urls")),
37 ]
38 
39 handler400 = "cms.views.error_handler.handler400"
40 handler403 = "cms.views.error_handler.handler403"
41 handler404 = "cms.views.error_handler.handler404"
42 handler500 = "cms.views.error_handler.handler500"
43
```

Path: `src/api/urls.py`
Content:
```
1 """
2 Expansion of API-Endpoints for the CMS
3 """
4 from django.conf.urls import include, url
5 
6 from .v3.events import events
7 from .v3.feedback import (
8     page_feedback,
9     search_result_feedback,
10     region_feedback,
11     offer_feedback,
12     offer_list_feedback,
13     event_list_feedback,
14     event_feedback,
15     poi_feedback,
16     map_feedback,
17     imprint_page_feedback,
18     legacy_feedback_endpoint,
19 )
20 from .v3.imprint import imprint
21 from .v3.languages import languages
22 from .v3.locations import locations
23 from .v3.pages import pages
24 from .v3.pdf_export import pdf_export
25 from .v3.push_notifications import sent_push_notifications
26 from .v3.regions import regions, liveregions, hiddenregions, pushnew
27 from .v3.offers import offers
28 from .v3.single_page import single_page
29 
30 urlpatterns = [
31     url(r"^regions/?$", regions, name="api_regions"),
32     url(r"^regions/live/?$", liveregions, name="api_regions_live"),
33     url(r"^regions/hidden/?$", hiddenregions, name="api_regions_hidden"),
34     url(r"^regions/pushnew/?$", pushnew, name="api_pushnew"),
35     url(
36         r"^(?P<region_slug>[-\w]+)/",
37         include(
38             [
39                 url(r"^languages/?$", languages, name="api_languages"),
40                 url(r"^(?:offers|extras)/?$", offers, name="api_offers"),
41                 url(
42                     r"^(?P<language_slug>[-\w]+)/",
43                     include(
44                         [
45                             url(r"^pages/?$", pages, name="api_pages"),
46                             url(r"^locations/?$", locations, name="api_locations"),
47                             url(r"^events/?$", events, name="api_events"),
48                             url(
49                                 r"^page/?$",
50                                 single_page,
51                                 name="api_single_page",
52                             ),
53                             url(
54                                 r"^pdf/?$",
55                                 pdf_export,
56                                 name="api_pdf_export",
57                             ),
58                             url(
59                                 r"^sent_push_notifications/?$",
60                                 sent_push_notifications,
61                                 name="api_sent_push_notifications",
62                             ),
63                             url(
64                                 r"^(?:imprint|disclaimer)/?$",
65                                 imprint,
66                                 name="api_imprint",
67                             ),
68                             url(r"^(?:offers|extras)/?$", offers, name="api_offers"),
69                             url(
70                                 r"^feedback/",
71                                 include(
72                                     [
73                                         url(
74                                             r"^$",
75                                             legacy_feedback_endpoint.legacy_feedback_endpoint,
76                                             name="api_legacy_feedback_endpoint",
77                                         ),
78                                         url(
79                                             r"^categories/?$",
80                                             region_feedback.region_feedback,
81                                             name="api_region_feedback",
82                                         ),
83                                         url(
84                                             r"^page/?$",
85                                             page_feedback.page_feedback,
86                                             name="api_page_feedback",
87                                         ),
88                                         url(
89                                             r"^poi/?$",
90                                             poi_feedback.poi_feedback,
91                                             name="api_poi_feedback",
92                                         ),
93                                         url(
94                                             r"^event/?$",
95                                             event_feedback.event_feedback,
96                                             name="api_event_feedback",
97                                         ),
98                                         url(
99                                             r"^events/?$",
100                                             event_list_feedback.event_list_feedback,
101                                             name="api_event_list_feedback",
102                                         ),
103                                         url(
104                                             r"^imprint-page/?$",
105                                             imprint_page_feedback.imprint_page_feedback,
106                                             name="api_imprint_page_feedbacks",
107                                         ),
108                                         url(
109                                             r"^map/?$",
110                                             map_feedback.map_feedback,
111                                             name="api_map_feedback",
112                                         ),
113                                         url(
114                                             r"^search/?$",
115                                             search_result_feedback.search_result_feedback,
116                                             name="api_search_result_feedback",
117                                         ),
118                                         url(
119                                             r"^(?:extras|offers)/?$",
120                                             offer_list_feedback.offer_list_feedback,
121                                             name="api_offer_list_feedback",
122                                         ),
123                                         url(
124                                             r"^(?:extra|offer)/?$",
125                                             offer_feedback.offer_feedback,
126                                             name="api_offer_feedback",
127                                         ),
128                                     ]
129                                 ),
130                             ),
131                         ]
132                     ),
133                 ),
134             ]
135         ),
136     ),
137 ]
138
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/src/api/urls.py b/src/api/urls.py
--- a/src/api/urls.py
+++ b/src/api/urls.py
@@ -27,11 +27,7 @@
 from .v3.offers import offers
 from .v3.single_page import single_page
 
-urlpatterns = [
-    url(r"^regions/?$", regions, name="api_regions"),
-    url(r"^regions/live/?$", liveregions, name="api_regions_live"),
-    url(r"^regions/hidden/?$", hiddenregions, name="api_regions_hidden"),
-    url(r"^regions/pushnew/?$", pushnew, name="api_pushnew"),
+api_urlpatterns = [
     url(
         r"^(?P<region_slug>[-\w]+)/",
         include(
@@ -135,3 +131,18 @@
         ),
     ),
 ]
+
+region_api_urlpatterns = [
+    url(r"^$", regions, name="api_regions"),
+    url(r"^live/?$", liveregions, name="api_regions_live"),
+    url(r"^hidden/?$", hiddenregions, name="api_regions_hidden"),
+    url(r"^pushnew/?$", pushnew, name="api_pushnew"),
+]
+
+
+urlpatterns = [
+    url(r"^api/", include(api_urlpatterns)),
+    url(r"^api/regions/", include(region_api_urlpatterns)),
+    url(r"^wp-json/extensions/v3/", include(api_urlpatterns)),
+    url(r"^wp-json/extensions/v3/sites/", include(region_api_urlpatterns)),
+]
diff --git a/src/backend/urls.py b/src/backend/urls.py
--- a/src/backend/urls.py
+++ b/src/backend/urls.py
@@ -22,7 +22,7 @@
 
 
 urlpatterns = [
-    url(r"^api/", include("api.urls")),
+    url(r"^", include("api.urls")),
     url(r"^i18n/", include("django.conf.urls.i18n")),
 ]

{"golden_diff": "diff --git a/src/api/urls.py b/src/api/urls.py\n--- a/src/api/urls.py\n+++ b/src/api/urls.py\n@@ -27,11 +27,7 @@\n from .v3.offers import offers\n from .v3.single_page import single_page\n \n-urlpatterns = [\n-    url(r\"^regions/?$\", regions, name=\"api_regions\"),\n-    url(r\"^regions/live/?$\", liveregions, name=\"api_regions_live\"),\n-    url(r\"^regions/hidden/?$\", hiddenregions, name=\"api_regions_hidden\"),\n-    url(r\"^regions/pushnew/?$\", pushnew, name=\"api_pushnew\"),\n+api_urlpatterns = [\n     url(\n         r\"^(?P<region_slug>[-\\w]+)/\",\n         include(\n@@ -135,3 +131,18 @@\n         ),\n     ),\n ]\n+\n+region_api_urlpatterns = [\n+    url(r\"^$\", regions, name=\"api_regions\"),\n+    url(r\"^live/?$\", liveregions, name=\"api_regions_live\"),\n+    url(r\"^hidden/?$\", hiddenregions, name=\"api_regions_hidden\"),\n+    url(r\"^pushnew/?$\", pushnew, name=\"api_pushnew\"),\n+]\n+\n+\n+urlpatterns = [\n+    url(r\"^api/\", include(api_urlpatterns)),\n+    url(r\"^api/regions/\", include(region_api_urlpatterns)),\n+    url(r\"^wp-json/extensions/v3/\", include(api_urlpatterns)),\n+    url(r\"^wp-json/extensions/v3/sites/\", include(region_api_urlpatterns)),\n+]\ndiff --git a/src/backend/urls.py b/src/backend/urls.py\n--- a/src/backend/urls.py\n+++ b/src/backend/urls.py\n@@ -22,7 +22,7 @@\n \n \n urlpatterns = [\n-    url(r\"^api/\", include(\"api.urls\")),\n+    url(r\"^\", include(\"api.urls\")),\n     url(r\"^i18n/\", include(\"django.conf.urls.i18n\")),\n ]\n", "issue": "Implement WordPress API endpoint URL patterns\n### Motivation\r\nWith Django we decided to introduce a new, clean API URL pattern. However, the apps do not use this API yet. We already have exports of the content and the app team could start end to end testing, as soon as the app can interface with the CMS.\r\n\r\n\r\n### Proposed Solution\r\nWe need to implement the URL pattern defined in https://github.com/Integreat/cms/wiki/REST-APIv3-Documentation\r\nThe WordPress URL pattern should be available in addition to the current (clean) URLs, so that the app team can switch over.\r\n\r\nPlease test the integration with the web app by [changing the back end URL](https://github.com/Integreat/cms/wiki/REST-APIv3-Documentation#test-api-with-webapp) to the Django system. If you need help finding issues or interpreting error messages, feel free to contact the app team for help.\r\n\r\n### Alternatives\r\nNone, needs to be done.\r\n\n", "before_files": [{"content": "\"\"\"\nDjango URL dispatcher.\nDelegates the following namespaces:\n\n* ``/api/`` to :mod:`api.urls`\n\n* ``/admin/`` to :meth:`django.contrib.admin.ModelAdmin.get_urls`\n\n* ``/i18n/`` to :mod:`django.conf.urls.i18n`\n\n* ``/sitemap.xml`` and ``/<region_slug>/<language_slug>/sitemap.xml`` to :mod:`sitemap.urls`\n\n* ``/`` to :mod:`cms.urls`\n\nAdditionally, the error handlers in :mod:`cms.views.error_handler` are referenced here (see :doc:`ref/urls`).\n\nFor more information on this file, see :doc:`topics/http/urls`.\n\"\"\"\nfrom django.conf.urls import include, url\nfrom django.conf import settings\nfrom django.contrib import admin\n\n\nurlpatterns = [\n    url(r\"^api/\", include(\"api.urls\")),\n    url(r\"^i18n/\", include(\"django.conf.urls.i18n\")),\n]\n\n# The admin/endpoint is only activated if the system is in debug mode.\nif settings.DEBUG:\n    urlpatterns.append(url(r\"^admin/\", admin.site.urls))\n\n# Unfortunatly we need to do this in such way, as the admin endpoint needs to be added before the endpoints of the other apps.\nurlpatterns += [\n    url(r\"^\", include(\"sitemap.urls\")),\n    url(r\"^\", include(\"cms.urls\")),\n]\n\nhandler400 = \"cms.views.error_handler.handler400\"\nhandler403 = \"cms.views.error_handler.handler403\"\nhandler404 = \"cms.views.error_handler.handler404\"\nhandler500 = \"cms.views.error_handler.handler500\"\n", "path": "src/backend/urls.py"}, {"content": "\"\"\"\nExpansion of API-Endpoints for the CMS\n\"\"\"\nfrom django.conf.urls import include, url\n\nfrom .v3.events import events\nfrom .v3.feedback import (\n    page_feedback,\n    search_result_feedback,\n    region_feedback,\n    offer_feedback,\n    offer_list_feedback,\n    event_list_feedback,\n    event_feedback,\n    poi_feedback,\n    map_feedback,\n    imprint_page_feedback,\n    legacy_feedback_endpoint,\n)\nfrom .v3.imprint import imprint\nfrom .v3.languages import languages\nfrom .v3.locations import locations\nfrom .v3.pages import pages\nfrom .v3.pdf_export import pdf_export\nfrom .v3.push_notifications import sent_push_notifications\nfrom .v3.regions import regions, liveregions, hiddenregions, pushnew\nfrom .v3.offers import offers\nfrom .v3.single_page import single_page\n\nurlpatterns = [\n    url(r\"^regions/?$\", regions, name=\"api_regions\"),\n    url(r\"^regions/live/?$\", liveregions, name=\"api_regions_live\"),\n    url(r\"^regions/hidden/?$\", hiddenregions, name=\"api_regions_hidden\"),\n    url(r\"^regions/pushnew/?$\", pushnew, name=\"api_pushnew\"),\n    url(\n        r\"^(?P<region_slug>[-\\w]+)/\",\n        include(\n            [\n                url(r\"^languages/?$\", languages, name=\"api_languages\"),\n                url(r\"^(?:offers|extras)/?$\", offers, name=\"api_offers\"),\n                url(\n                    r\"^(?P<language_slug>[-\\w]+)/\",\n                    include(\n                        [\n                            url(r\"^pages/?$\", pages, name=\"api_pages\"),\n                            url(r\"^locations/?$\", locations, name=\"api_locations\"),\n                            url(r\"^events/?$\", events, name=\"api_events\"),\n                            url(\n                                r\"^page/?$\",\n                                single_page,\n                                name=\"api_single_page\",\n                            ),\n                            url(\n                                r\"^pdf/?$\",\n                                pdf_export,\n                                name=\"api_pdf_export\",\n                            ),\n                            url(\n                                r\"^sent_push_notifications/?$\",\n                                sent_push_notifications,\n                                name=\"api_sent_push_notifications\",\n                            ),\n                            url(\n                                r\"^(?:imprint|disclaimer)/?$\",\n                                imprint,\n                                name=\"api_imprint\",\n                            ),\n                            url(r\"^(?:offers|extras)/?$\", offers, name=\"api_offers\"),\n                            url(\n                                r\"^feedback/\",\n                                include(\n                                    [\n                                        url(\n                                            r\"^$\",\n                                            legacy_feedback_endpoint.legacy_feedback_endpoint,\n                                            name=\"api_legacy_feedback_endpoint\",\n                                        ),\n                                        url(\n                                            r\"^categories/?$\",\n                                            region_feedback.region_feedback,\n                                            name=\"api_region_feedback\",\n                                        ),\n                                        url(\n                                            r\"^page/?$\",\n                                            page_feedback.page_feedback,\n                                            name=\"api_page_feedback\",\n                                        ),\n                                        url(\n                                            r\"^poi/?$\",\n                                            poi_feedback.poi_feedback,\n                                            name=\"api_poi_feedback\",\n                                        ),\n                                        url(\n                                            r\"^event/?$\",\n                                            event_feedback.event_feedback,\n                                            name=\"api_event_feedback\",\n                                        ),\n                                        url(\n                                            r\"^events/?$\",\n                                            event_list_feedback.event_list_feedback,\n                                            name=\"api_event_list_feedback\",\n                                        ),\n                                        url(\n                                            r\"^imprint-page/?$\",\n                                            imprint_page_feedback.imprint_page_feedback,\n                                            name=\"api_imprint_page_feedbacks\",\n                                        ),\n                                        url(\n                                            r\"^map/?$\",\n                                            map_feedback.map_feedback,\n                                            name=\"api_map_feedback\",\n                                        ),\n                                        url(\n                                            r\"^search/?$\",\n                                            search_result_feedback.search_result_feedback,\n                                            name=\"api_search_result_feedback\",\n                                        ),\n                                        url(\n                                            r\"^(?:extras|offers)/?$\",\n                                            offer_list_feedback.offer_list_feedback,\n                                            name=\"api_offer_list_feedback\",\n                                        ),\n                                        url(\n                                            r\"^(?:extra|offer)/?$\",\n                                            offer_feedback.offer_feedback,\n                                            name=\"api_offer_feedback\",\n                                        ),\n                                    ]\n                                ),\n                            ),\n                        ]\n                    ),\n                ),\n            ]\n        ),\n    ),\n]\n", "path": "src/api/urls.py"}], "after_files": [{"content": "\"\"\"\nDjango URL dispatcher.\nDelegates the following namespaces:\n\n* ``/api/`` to :mod:`api.urls`\n\n* ``/admin/`` to :meth:`django.contrib.admin.ModelAdmin.get_urls`\n\n* ``/i18n/`` to :mod:`django.conf.urls.i18n`\n\n* ``/sitemap.xml`` and ``/<region_slug>/<language_slug>/sitemap.xml`` to :mod:`sitemap.urls`\n\n* ``/`` to :mod:`cms.urls`\n\nAdditionally, the error handlers in :mod:`cms.views.error_handler` are referenced here (see :doc:`ref/urls`).\n\nFor more information on this file, see :doc:`topics/http/urls`.\n\"\"\"\nfrom django.conf.urls import include, url\nfrom django.conf import settings\nfrom django.contrib import admin\n\n\nurlpatterns = [\n    url(r\"^\", include(\"api.urls\")),\n    url(r\"^i18n/\", include(\"django.conf.urls.i18n\")),\n]\n\n# The admin/endpoint is only activated if the system is in debug mode.\nif settings.DEBUG:\n    urlpatterns.append(url(r\"^admin/\", admin.site.urls))\n\n# Unfortunatly we need to do this in such way, as the admin endpoint needs to be added before the endpoints of the other apps.\nurlpatterns += [\n    url(r\"^\", include(\"sitemap.urls\")),\n    url(r\"^\", include(\"cms.urls\")),\n]\n\nhandler400 = \"cms.views.error_handler.handler400\"\nhandler403 = \"cms.views.error_handler.handler403\"\nhandler404 = \"cms.views.error_handler.handler404\"\nhandler500 = \"cms.views.error_handler.handler500\"\n", "path": "src/backend/urls.py"}, {"content": "\"\"\"\nExpansion of API-Endpoints for the CMS\n\"\"\"\nfrom django.conf.urls import include, url\n\nfrom .v3.events import events\nfrom .v3.feedback import (\n    page_feedback,\n    search_result_feedback,\n    region_feedback,\n    offer_feedback,\n    offer_list_feedback,\n    event_list_feedback,\n    event_feedback,\n    poi_feedback,\n    map_feedback,\n    imprint_page_feedback,\n    legacy_feedback_endpoint,\n)\nfrom .v3.imprint import imprint\nfrom .v3.languages import languages\nfrom .v3.locations import locations\nfrom .v3.pages import pages\nfrom .v3.pdf_export import pdf_export\nfrom .v3.push_notifications import sent_push_notifications\nfrom .v3.regions import regions, liveregions, hiddenregions, pushnew\nfrom .v3.offers import offers\nfrom .v3.single_page import single_page\n\napi_urlpatterns = [\n    url(\n        r\"^(?P<region_slug>[-\\w]+)/\",\n        include(\n            [\n                url(r\"^languages/?$\", languages, name=\"api_languages\"),\n                url(r\"^(?:offers|extras)/?$\", offers, name=\"api_offers\"),\n                url(\n                    r\"^(?P<language_slug>[-\\w]+)/\",\n                    include(\n                        [\n                            url(r\"^pages/?$\", pages, name=\"api_pages\"),\n                            url(r\"^locations/?$\", locations, name=\"api_locations\"),\n                            url(r\"^events/?$\", events, name=\"api_events\"),\n                            url(\n                                r\"^page/?$\",\n                                single_page,\n                                name=\"api_single_page\",\n                            ),\n                            url(\n                                r\"^pdf/?$\",\n                                pdf_export,\n                                name=\"api_pdf_export\",\n                            ),\n                            url(\n                                r\"^sent_push_notifications/?$\",\n                                sent_push_notifications,\n                                name=\"api_sent_push_notifications\",\n                            ),\n                            url(\n                                r\"^(?:imprint|disclaimer)/?$\",\n                                imprint,\n                                name=\"api_imprint\",\n                            ),\n                            url(r\"^(?:offers|extras)/?$\", offers, name=\"api_offers\"),\n                            url(\n                                r\"^feedback/\",\n                                include(\n                                    [\n                                        url(\n                                            r\"^$\",\n                                            legacy_feedback_endpoint.legacy_feedback_endpoint,\n                                            name=\"api_legacy_feedback_endpoint\",\n                                        ),\n                                        url(\n                                            r\"^categories/?$\",\n                                            region_feedback.region_feedback,\n                                            name=\"api_region_feedback\",\n                                        ),\n                                        url(\n                                            r\"^page/?$\",\n                                            page_feedback.page_feedback,\n                                            name=\"api_page_feedback\",\n                                        ),\n                                        url(\n                                            r\"^poi/?$\",\n                                            poi_feedback.poi_feedback,\n                                            name=\"api_poi_feedback\",\n                                        ),\n                                        url(\n                                            r\"^event/?$\",\n                                            event_feedback.event_feedback,\n                                            name=\"api_event_feedback\",\n                                        ),\n                                        url(\n                                            r\"^events/?$\",\n                                            event_list_feedback.event_list_feedback,\n                                            name=\"api_event_list_feedback\",\n                                        ),\n                                        url(\n                                            r\"^imprint-page/?$\",\n                                            imprint_page_feedback.imprint_page_feedback,\n                                            name=\"api_imprint_page_feedbacks\",\n                                        ),\n                                        url(\n                                            r\"^map/?$\",\n                                            map_feedback.map_feedback,\n                                            name=\"api_map_feedback\",\n                                        ),\n                                        url(\n                                            r\"^search/?$\",\n                                            search_result_feedback.search_result_feedback,\n                                            name=\"api_search_result_feedback\",\n                                        ),\n                                        url(\n                                            r\"^(?:extras|offers)/?$\",\n                                            offer_list_feedback.offer_list_feedback,\n                                            name=\"api_offer_list_feedback\",\n                                        ),\n                                        url(\n                                            r\"^(?:extra|offer)/?$\",\n                                            offer_feedback.offer_feedback,\n                                            name=\"api_offer_feedback\",\n                                        ),\n                                    ]\n                                ),\n                            ),\n                        ]\n                    ),\n                ),\n            ]\n        ),\n    ),\n]\n\nregion_api_urlpatterns = [\n    url(r\"^$\", regions, name=\"api_regions\"),\n    url(r\"^live/?$\", liveregions, name=\"api_regions_live\"),\n    url(r\"^hidden/?$\", hiddenregions, name=\"api_regions_hidden\"),\n    url(r\"^pushnew/?$\", pushnew, name=\"api_pushnew\"),\n]\n\n\nurlpatterns = [\n    url(r\"^api/\", include(api_urlpatterns)),\n    url(r\"^api/regions/\", include(region_api_urlpatterns)),\n    url(r\"^wp-json/extensions/v3/\", include(api_urlpatterns)),\n    url(r\"^wp-json/extensions/v3/sites/\", include(region_api_urlpatterns)),\n]\n", "path": "src/api/urls.py"}]}