diff --git a/_docs/en/administration/config.md b/_docs/en/administration/config.md index bc34244a..71aae18e 100644 --- a/_docs/en/administration/config.md +++ b/_docs/en/administration/config.md @@ -39,7 +39,7 @@ count = 1 ## HTTP API -You can obtain **partial** configurations of Pegasus server through the `/config` or `/configs` path of [HTTP API](http), the output is in _JSON_ format, including section, key, current configuration value, value type, tags (such as whether it can be dynamically modified), and a brief description. +You can obtain **partial** configurations of Pegasus server through the `/config` or `/configs` path of [HTTP API](/api/http), the output is in _JSON_ format, including section, key, current configuration value, value type, tags (such as whether it can be dynamically modified), and a brief description. > Only configurations registered through method `DSN_DEFINE_xxx` can be obtained through the HTTP API. @@ -92,7 +92,7 @@ By modifying the ini configuration file, the server needs to be restarted to tak ## HTTP API -**Partial** configuration of Pegasus server can be dynamically modified through the `/updateConfig` path of [HTTP API](http). Only configuration items with tag `flag_tag::FT_MUTABLE` can be dynamically modified. +**Partial** configuration of Pegasus server can be dynamically modified through the `/updateConfig` path of [HTTP API](/api/http). Only configuration items with tag `flag_tag::FT_MUTABLE` can be dynamically modified. > The configuration modified through the HTTP API will not be persisted to the ini file, which means that the configuration item will be reset to the default value (or the value in the configuration file if specified). diff --git a/_docs/zh/administration/config.md b/_docs/zh/administration/config.md index 0aa1d787..62fb8a79 100644 --- a/_docs/zh/administration/config.md +++ b/_docs/zh/administration/config.md @@ -39,7 +39,7 @@ count = 1 ## HTTP API -可以通过 [HTTP接口](http) 的 `/config` 或 `/configs` 路径获取 Pegasus server 的 **部分** 配置,输出格式为 JSON 格式,包括 section,key,当前的配置值,值类型,tags(例如是否可以动态修改),以及简要说明。 +可以通过 [HTTP接口](/api/http) 的 `/config` 或 `/configs` 路径获取 Pegasus server 的 **部分** 配置,输出格式为 JSON 格式,包括 section,key,当前的配置值,值类型,tags(例如是否可以动态修改),以及简要说明。 > 只有通过 `DSN_DEFINE_xxx` 方式注册的配置,才可以通过 HTTP 接口获取。 @@ -92,7 +92,7 @@ $ curl 127.0.0.1:34601/configs ## HTTP API -可以通过 [HTTP接口](http) 的 `/updateConfig` 路径动态修改 Pegasus server 的 **部分** 配置。只有 tag 包含 `flag_tag::FT_MUTABLE` 的配置项才可以动态修改。 +可以通过 [HTTP接口](/api/http) 的 `/updateConfig` 路径动态修改 Pegasus server 的 **部分** 配置。只有 tag 包含 `flag_tag::FT_MUTABLE` 的配置项才可以动态修改。 > 通过 HTTP 接口修改的配置不会被持久化到 ini 文件中,这意味着配置项会被重置为默认值(如果 ini 文件中已指定该配置项,则会重置为该配置值)。