docs: add private site password hint to all API docs (#850)

docs: add x-custom-auth private site password hint to all API docs

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Dream Hunter
2026-03-02 18:04:27 +08:00
committed by GitHub
co-authored by Claude Opus 4.6
parent 9b7a80ef54
commit a2d37b8183
6 changed files with 58 additions and 16 deletions
@@ -16,6 +16,7 @@ res = requests.post(
},
headers={
'x-admin-auth': "<你的网站admin密码>",
# "x-custom-auth": "<你的网站密码>", # 如果启用了私有站点密码
"Content-Type": "application/json"
}
)
@@ -59,6 +60,7 @@ def fetch_email_data(name):
},
headers={
'x-admin-auth': "<你的网站admin密码>",
# "x-custom-auth": "<你的网站密码>", # 如果启用了私有站点密码
"Content-Type": "application/json"
}
)