docsgen: Add []abi.SectorNumber example
This commit is contained in:
parent
564b88af52
commit
47346907dd
@ -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)
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user