docsgen: Add []abi.SectorNumber example

This commit is contained in:
Łukasz Magiera 2020-12-10 19:55:59 +01:00
parent 564b88af52
commit 47346907dd
2 changed files with 15 additions and 2 deletions

View File

@ -240,6 +240,7 @@ func init() {
addExample(map[api.SectorState]int{
api.SectorState(sealing.Proving): 120,
})
addExample([]abi.SectorNumber{123, 124})
// worker specific
addExample(storiface.AcquireMove)

View File

@ -1496,7 +1496,13 @@ Perms: read
Inputs: `null`
Response: `null`
Response:
```json
[
123,
124
]
```
### SectorsListInStates
List sectors in particular states
@ -1511,7 +1517,13 @@ Inputs:
]
```
Response: `null`
Response:
```json
[
123,
124
]
```
### SectorsRefs
There are not yet any comments for this method.