Hector Sanjuan
e4b11b783b
Pinsvcapi: address comments from review
...
- Add "Created" field to pinInfo.
- Support before/after filter
- 404 when something is unpinned or on a non-recognize state
2022-03-14 12:21:08 +01:00
Hector Sanjuan
0c556ef4fa
tests: fix staticcheck/vet errors
2022-03-11 16:47:41 +01:00
Hector Sanjuan
3029972750
pinsvcapi: test GetPin and DeletePin endpoints
2022-03-11 16:41:48 +01:00
Hector Sanjuan
cd5f9c869d
pinsvcapi: Test and fix bugs in Add Pin. Improve performance.
2022-03-11 14:01:15 +01:00
Hector Sanjuan
f8812b3af7
pinsvc: fixes and testing for List endpoint
2022-03-11 12:58:12 +01:00
Hector Sanjuan
ab33ec668c
pinsvcapi: fix some basic bugs
2022-03-11 00:46:39 +01:00
Hector Sanjuan
5fed4a2c5e
types: include IPFSAddresses in pinInfo objects.
...
pinsvcapi: do not cache peer information here as all the needed information is
in the status objects.
This adds ipfs_addresses as a field broadcasted with the ping metrics.
2022-03-10 23:49:01 +01:00
Hector Sanjuan
54a11d7277
Add bad test file (it does not work, just for tracking)
2022-02-02 00:52:39 +01:00
Hector Sanjuan
095fa8effe
pinsvc: request_id -> requestid
2022-02-02 00:52:39 +01:00
Hector Sanjuan
a744ee5206
Pin CID must be a string and not a jsoned-cid ({"/":"cid"})
2022-02-02 00:52:39 +01:00
Hector Sanjuan
b25b5e734b
Adjust multiaddress types
2022-02-02 00:52:39 +01:00
Hector Sanjuan
524e2ecbc0
Wire in pinsvcapi to ipfs-cluster-service
2022-02-02 00:52:39 +01:00
Hector Sanjuan
40bdb795e8
pinsvcapi: extract types into their own module for better re-use later
2022-02-02 00:52:39 +01:00