公開 API 和頁面端點
Main
| Endpoint | Name | View | Notes |
|---|---|---|---|
/ |
homepage |
main.views.homepage |
Main homepage. If host starts with mc., renders the Minecraft homepage instead. |
/changelog/ |
changelog |
main.views.changelog |
Changelog page. /changelog is also routed. |
/about/ |
about |
main.views.about |
About page. /about is also routed. |
/sitemap.xml |
- | django.contrib.sitemaps.views.sitemap |
Sitemap endpoint for public/static and visible media/profile entries. |
/<path:page_path> |
- | main.views.dynamic_page |
Catch-all dynamic page. Public only when a DynamicPage with matching route_path exists and visible=True; the creator can also view their own hidden page. |
Content Engine
| Endpoint | Name | View | Notes |
|---|---|---|---|
/c/posts |
posts |
ctnengine.views.posts |
Public visible posts list. /c/posts/ is also routed. |
/c/articles |
articles |
ctnengine.views.articles |
Public visible articles list. /c/articles/ is also routed. |
/c/info |
content_info |
ctnengine.views.content_info_index |
Redirects to /c/info/post. /c/info/ is also routed. |
/c/info/post |
post_info |
ctnengine.views.content_info |
Public post guide/list for media tagged #introduce:post. /c/info/post/ is also routed. |
/c/info/article |
article_info |
ctnengine.views.content_info |
Public article guide/list for media tagged #introduce:article. /c/info/article/ is also routed. |
/c/filter |
media_filter_input |
ctnengine.views.filter_input |
Public filter form. /c/filter/ is also routed. |
/c/filter/results |
media_filter_results |
ctnengine.views.filter_results |
Public filter results for visible media/comments. Supports GET and POST. /c/filter/results/ is also routed. |
/c/<uuid:media_id> |
media_detail |
ctnengine.views.media_detail |
Public only when the target post/article is visible=True and hard_visible=False; creator/editors can view hidden content. /c/<uuid:media_id>/ is also routed. |
Auth / Account
| Endpoint | Name | View | Notes |
|---|---|---|---|
/auth/signin |
signin_step_1 |
yazule.views.signin |
Public sign-in step 1. /auth/signin/ is also routed. |
/auth/signin/valid |
signin_step_2 |
yazule.views.signin_valid |
Public sign-in step 2, but requires a sign-in session value or redirects to step 1. /auth/signin/valid/ is also routed. |
/auth/signup |
signup_step_1 |
yazule.views.signup |
Public sign-up step 1. /auth/signup/ is also routed. |
/auth/signup/valid |
signup_step_2 |
yazule.views.signup_valid |
Public sign-up step 2, but requires a sign-up session value or redirects to step 1. /auth/signup/valid/ is also routed. |
/auth/password_reset |
password_reset_step_1 |
yazule.views.password_reset |
Public password reset step 1. /auth/password_reset/ is also routed. |
/auth/password_reset/valid |
password_reset_step_2 |
yazule.views.password_reset_valid |
Public password reset step 2, but requires a password-reset session value or redirects to step 1. /auth/password_reset/valid/ is also routed. |
/auth/profile/<str:username> |
public_profile |
yazule.views.specified_profile |
Public account profile for an existing username. Only media visible to the viewer is shown. /auth/profile/<str:username>/ is also routed. |
/auth/token/refresh |
refresh_token_page |
yazule.views.refresh_token |
Public refresh token generation page. /auth/token/refresh/ is also routed. |
Minecraft
| Endpoint | Name | View | Notes |
|---|---|---|---|
/mc/ |
mc-homepage |
mcraftmanager.views.mc_homepage |
Public Minecraft homepage. Also used for / on hosts beginning with mc.. |
/mc/whitelist/servers |
mc-whitelist-servers |
mcraftmanager.views.whitelist_servers_view |
Public list of configured whitelist servers. /mc/whitelist/servers/ is also routed. |
/mc/whitelist/ |
mc-whitelist |
mcraftmanager.views.whitelist_view |
Public route, but redirects to the default server when configured; server-specific views require whitelist permission. |
/mc/online/ |
mc-online |
mcraftmanager.views.online_view |
Public route, but redirects to the default server when configured; server-specific views require whitelist permission. |
Legacy Redirects
| Endpoint | Name | View | Notes |
|---|---|---|---|
/subsites/downloads.html |
go-to-legacy-subsite-downloads |
RedirectView |
Redirects to the legacy static download page on storage.weispace.net. |
留言
0 則留言