summaryrefslogtreecommitdiff
path: root/docs/locales/zh/api
diff options
context:
space:
mode:
Diffstat (limited to 'docs/locales/zh/api')
-rw-r--r--docs/locales/zh/api/authentication.md2
-rw-r--r--docs/locales/zh/api/swagger.md6
-rw-r--r--docs/locales/zh/api/swagger.yaml4
3 files changed, 6 insertions, 6 deletions
diff --git a/docs/locales/zh/api/authentication.md b/docs/locales/zh/api/authentication.md
index 2590f4fe4..376f27cb3 100644
--- a/docs/locales/zh/api/authentication.md
+++ b/docs/locales/zh/api/authentication.md
@@ -30,7 +30,7 @@ curl \
本着这种精神,上述示例使用了`read`,这意味着当未来支持范围令牌时,应用将仅限于执行`read`操作。
- 你可以在[此处](https://github.com/superseriousbusiness/gotosocial/issues/2232)阅读更多关于计划中 OAuth 安全功能的信息。
+ 你可以在[此处](https://codeberg.org/superseriousbusiness/gotosocial/issues/2232)阅读更多关于计划中 OAuth 安全功能的信息。
成功调用会返回一个带有 `client_id` 和 `client_secret` 的响应,我们将在后续流程中需要使用这些信息。它看起来像这样:
diff --git a/docs/locales/zh/api/swagger.md b/docs/locales/zh/api/swagger.md
index 7fa3190d5..d0d4cee53 100644
--- a/docs/locales/zh/api/swagger.md
+++ b/docs/locales/zh/api/swagger.md
@@ -14,8 +14,8 @@ GoToSocial 使用 [go-swagger](https://github.com/go-swagger/go-swagger) 从代
有关更多背景信息,请参见以下问题:
- - [#1958](https://github.com/superseriousbusiness/gotosocial/issues/1958)
- - [#1944](https://github.com/superseriousbusiness/gotosocial/issues/1944)
- - [#2641](https://github.com/superseriousbusiness/gotosocial/issues/2641)
+ - [#1958](https://codeberg.org/superseriousbusiness/gotosocial/issues/1958)
+ - [#1944](https://codeberg.org/superseriousbusiness/gotosocial/issues/1944)
+ - [#2641](https://codeberg.org/superseriousbusiness/gotosocial/issues/2641)
<swagger-ui src="swagger.yaml"/>
diff --git a/docs/locales/zh/api/swagger.yaml b/docs/locales/zh/api/swagger.yaml
index 209818b34..6cc15ab8a 100644
--- a/docs/locales/zh/api/swagger.yaml
+++ b/docs/locales/zh/api/swagger.yaml
@@ -1562,7 +1562,7 @@ definitions:
max_profile_fields:
description: |-
此实例允许每个账户设置的最大附加字段数。
- 目前不可配置,硬编码为 6。详见 (https://github.com/superseriousbusiness/gotosocial/issues/1876)
+ 目前不可配置,硬编码为 6。详见 (https://codeberg.org/superseriousbusiness/gotosocial/issues/1876)
format: int64
type: integer
x-go-name: MaxProfileFields
@@ -1947,7 +1947,7 @@ definitions:
x-go-name: Rules
source_url:
description: 本实例部署的软件的源代码 URL,应 AGPL 许可要求提供。
- example: https://github.com/superseriousbusiness/gotosocial
+ example: https://codeberg.org/superseriousbusiness/gotosocial
type: string
x-go-name: SourceURL
terms: