# 设置节点信息
# 调用方式: POST
# 接口地址:
https://api.freelog.com/v2/nodes/setNodeInfo
1
# body传入参数说明:
参数 | 必选 | 类型及范围 | 说明 |
---|---|---|---|
nodeId | 必选 | string | id |
nodeLogo | 必选 | string | 图标 |
nodeTitle | 必选 | string | 标题 |
nodeShortDescription | 必选 | string | 简介 |
status | 必选 | number | 节点状态,1:公开 2:私密 5:冻结(公开) 6:冻结(私密) 8:暂停 12:冻结(暂停) 状态计算,从低位往高位取 第1位 公开,1 第2位 私密,2 第3位 冻结,4 第4位 暂停,8 同b0001 b0010 b0100 b1000做与运算得到相应位置的值 (status&1)==1 则表示公开 (status&2)==2 则表示私密 (status&5)==5 则表示冻结(公开) (status&6)==6 则表示冻结(私密) (status&8)==8 则表示暂停 (status&12)==12 则表示冻结(暂停) |
nodeSuspendInfo | 必选 | string | 暂停提示信息 |
# 返回说明:
返回值字段 | 字段类型 | 字段说明 |
---|---|---|
[data] | bool | 操作结果 |
# 返回示例
{
"ret": 0,
"errcode": 0,
"msg": "success",
"data": true
}
1
2
3
4
5
6
2
3
4
5
6
← 批量查询节点冻结记录 设置节点类型 →