Skip to content

Commit

Permalink
Merge pull request #48 from 0xff-dev/main
Browse files Browse the repository at this point in the history
chore: update api doc
  • Loading branch information
bjwswang authored Jun 15, 2023
2 parents 64f8976 + f94bd3a commit 22abf12
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/SaaS/dpsaas/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ curl -k -XPOST -H'Content-Type: application/json' https://bc-saas.172.22.96.209.
关于测试数据的生成

```go
// arg.json: {"name":"abc","contentType": "json","contentID": "id","trustedTimestamp": "1234","platform": "bestchains"}
// arg.json: {"name":"abc","contentType": "json","contentID": "id","trustedTimestamp": "1234","platform": "bestchains","description":"description","contentSize":1024}
// contentSize 是文件大小,单位 byte
package main

import (
Expand Down Expand Up @@ -215,8 +216,8 @@ curl -k -XPOST -H'Content-Type: application/json' https://bc-saas.172.22.96.209.
| size | 分页每一页的条目数量 || 10 |
| startTime | 开始时间, 单位是秒 || |
| endTime | 结束时间,单位秒 || |
| name | 存证名称 || |
| contentName | 文件名称或者其他的描述信息 || |
| name | 存证名称, 支持模糊搜索 || |
| contentName | 文件名称或者其他的描述信息,支持模糊搜索 || |
| kid | 存证 kid || |

`测试`:
Expand Down

0 comments on commit 22abf12

Please sign in to comment.