RustMinerSystem

Documentation

APP User Registration

POST https://api.d0gpool.com/app/register: APP User Registration.

APP User Registration

This chapter documents the request shape, parameters, and response for POST https://api.d0gpool.com/app/register.

Note

The endpoint contract below is carried over from the legacy RustMinerSystem documentation and organized under the current PoolNode documentation structure. Use your actual node address, secure route, and backend version when integrating.

Endpoint Contract

请求 URL

https://api.d0gpool.com/app/register

请求方式

POST

请求示例

{
"email": "xxxx",
"code": "323333", //邮箱验证码,同节点登录验证码
"invite_code": 123456 //注意这个是数字
}

请求参数说明

参数名 类型 说明
email String 邮箱
code String 邮箱验证码,同节点登录验证码
invite_code number 节点邀请码,注意这个是数字

成功返回示例

{
"status": 0,  // status = 1表示邀请码无效,此时url为空
"url": "http://1.2.3.4/a/"
}

返回参数说明

参数名 说明
status 状态码,status = 1 表示邀请码无效,此时 url 为空。
url 后续 APP 使用的接口地址前缀,例如 http://1.2.3.4/a/。后台配置地址末尾需要保留斜杠。

接口说明

成功时 HTTP 状态码为 200,非 200 表示请求错误,成功后使用url继续请求一次到节点使用邮箱登录

Legacy Source