Kubo RPC API - Pin ls response is not as described
Open
need/triage
- Dominant language
- Go
- Stars
- 332
- Forks
- 499
- Avg merge
- 8d 14h
- Merged PRs (30d)
- 2
Description
https://docs.ipfs.tech/reference/kubo/rpc/#api-v0-pin-ls
says the response is:
```
{
"PinLsList": {
"Keys": {
"": {
"Name": "",
"Type": ""
}
}
},
"PinLsObject": {
"Cid": "",
"Name": "",
"Type": ""
}
}
```
But an actual response is:
```
{
"Keys" : {
"QmUNLLsPACCz1vLxQVkXqqLX5R1X345qqfHbsf67hvA3Nn" : {
"Type" : "recursive"
},
"bafybeibpimca4f75fxe7mcetxs3ajuwrrc3ss3np4pvhamqtj3icxsuppa" : {
"Type" : "recursive"
}
}
}
```
So, there is no "PinLsList" and "PinLsObject" root fields; it is directly "PinLsList.Keys".
Kubo version v0.38.1 desktop ; UI: c14b38a
Contributor guide
Assessment
This issue has not been assessed yet.