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{
|
addExample(map[api.SectorState]int{
|
||||||
api.SectorState(sealing.Proving): 120,
|
api.SectorState(sealing.Proving): 120,
|
||||||
})
|
})
|
||||||
|
addExample([]abi.SectorNumber{123, 124})
|
||||||
|
|
||||||
// worker specific
|
// worker specific
|
||||||
addExample(storiface.AcquireMove)
|
addExample(storiface.AcquireMove)
|
||||||
|
@ -1496,7 +1496,13 @@ Perms: read
|
|||||||
|
|
||||||
Inputs: `null`
|
Inputs: `null`
|
||||||
|
|
||||||
Response: `null`
|
Response:
|
||||||
|
```json
|
||||||
|
[
|
||||||
|
123,
|
||||||
|
124
|
||||||
|
]
|
||||||
|
```
|
||||||
|
|
||||||
### SectorsListInStates
|
### SectorsListInStates
|
||||||
List sectors in particular states
|
List sectors in particular states
|
||||||
@ -1511,7 +1517,13 @@ Inputs:
|
|||||||
]
|
]
|
||||||
```
|
```
|
||||||
|
|
||||||
Response: `null`
|
Response:
|
||||||
|
```json
|
||||||
|
[
|
||||||
|
123,
|
||||||
|
124
|
||||||
|
]
|
||||||
|
```
|
||||||
|
|
||||||
### SectorsRefs
|
### SectorsRefs
|
||||||
There are not yet any comments for this method.
|
There are not yet any comments for this method.
|
||||||
|
Loading…
Reference in New Issue
Block a user