Skip to content
VEP edited this page Oct 27, 2017 · 6 revisions

Other API

Servers

http://api.kcwiki.org/servers

返回一组舰娘角川服务器的IP地址列表:

[
	"203.104.209.71",
	...
]

Report

Kcwiki的poi报告插件的上传数据API,详情见

Maintenance Mode

开启/关闭维护模式,若开启,则字幕差分更新(/subtitles/diff)接口返回空值

http://api.kcwiki.org/maintenance/on/{password}
http://api.kcwiki.org/maintenance/off/{password}
  • password:对应.env配置文件中的ADMIN_PASSWORD

Optime (Deprecated)

返回抢号时间与服务器维护时间,由编辑在 http://optime.kcwiki.org 维护。

http://api.kcwiki.org/optime/server
http://api.kcwiki.org/optime/account

返回格式:

{
	"time": "xxxx",			// 开始维护(or 抢号)时间
	"comment": "xxx",		// 备注说明
}
Clone this wiki locally