天河链数字藏品-开放 API 文档
  1. v2
天河链数字藏品-开放 API 文档
  • v2
    • 用户链上身份注册
      POST
    • 用户链上身份秘钥修改
      POST
    • 用户链上身份查询
      POST
    • 数字商品发行
      POST
    • 数字商品交易
      POST
    • 交易结果查询
      POST
    • 销毁数字商品
      POST
    • 数字商品元数据上链存储
      POST
    • 根据交易哈希查询 TokenID
      GET
    • NFR 所属者链上地址查询
      POST
    • NFR 所属者判断
      POST
    • 补全NFR图片接口
      POST
    • 同步第三方 URI
      POST
    • 补全接口图片状态查询接口
      POST
    • 根据交易的操作Id批量查询 TokenID
      POST
  1. v2

补全接口图片状态查询接口

测试中
测试环境
https://test.api.tichain.tianhecloud.com
测试环境
https://test.api.tichain.tianhecloud.com
POST
/api/v2/nfr/userNfr/pictureStatuQuery

请求参数

Body 参数application/json
appId
string 
商家编号
必需
appKey
string 
商户秘钥
必需
userId
string 
用户ID
必需
userKey
string 
用户秘钥
必需
completePictureDto
array [object {6}] 
必需
contractAddress
string 
合约地址
必需
tokenId
string 
TokenID
必需
pictureUrl
string 
图片url
必需
productId
string 
产品id
可选
author
string 
作者
可选
initPrice
string 
初始价格
可选
示例
{
    "appId": "{{appId}}",
    "appKey": "{{appKey}}",
    "userId": "000000-0109-TEST01",
    "userKey": "123456",
    "completePictureDto": [
        {
            "contractAddress": "0xc64a8cd84d4e54487a2bee3dddbe77525f97613d",
            "tokenId": "0",
            "pictureUrl": "etetetes11",
            "author": "et voluptate11",
            "productId": "8111",
            "initPrice": "11"
        }
    ]
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://test.api.tichain.tianhecloud.com/api/v2/nfr/userNfr/pictureStatuQuery' \
--header 'Content-Type: application/json' \
--data-raw '{
    "appId": "",
    "appKey": "",
    "userId": "000000-0109-TEST01",
    "userKey": "123456",
    "completePictureDto": [
        {
            "contractAddress": "0xc64a8cd84d4e54487a2bee3dddbe77525f97613d",
            "tokenId": "0",
            "pictureUrl": "etetetes11",
            "author": "et voluptate11",
            "productId": "8111",
            "initPrice": "11"
        }
    ]
}'

返回响应

🟢200成功
application/json
Body
code
integer 
消息码
必需
message
string 
消息
必需
data
object 
必需
id
integer 
主键
必需
>= 1<= 7.307508186654515e+47
service_name
string 
服务名
必需
<= 256 字符
request_ip
string 
请求ip
必需
<= 256 字符
service_ip
string 
服务所在ip
必需
<= 256 字符
uri
string 
请求路径
必需
<= 256 字符
params
string 
接口请求参数
必需
<= 65535 字符
create_time
string <date-time>
记录创建时间
可选
默认值:
null
update_time
string <date-time>
记录修改时间
可选
默认值:
null
param_item
string 
接口请求参数详情
可选
<= 65535 字符
默认值:
null
complete_status
number 
可选
1.进行状态, 2.修改成功,3.修改失败
>= -9999999999<= 9999999999
示例
{
    "code": 0,
    "message": "string",
    "data": {
        "id": 1,
        "service_name": "string",
        "request_ip": "string",
        "service_ip": "string",
        "uri": "string",
        "params": "string",
        "create_time": null,
        "update_time": null,
        "param_item": null,
        "complete_status": -9999999999
    }
}
修改于 2023-03-02 09:09:35
上一页
同步第三方 URI
下一页
根据交易的操作Id批量查询 TokenID
Built with