Open lhenriks opened 2 years ago
Hi,
Does query parametrs really work with this endpoint? "cid=pinnedcid" is the only query parameter that is working at the moment, no luck with others.
cid=pinnedcid
Below endpoint only outputs something when the files still have the status "pinning", afterwards nothing...
pinning
curl -s -X GET -H 'Content-Type: application/json' 'https://gateway.example.com:9097/pins' | jq { "count": 0, "results": null }
Request This query parameter works, nothing else.
curl -s -X GET -H 'Content-Type: application/json' 'https://gateway.example.com:9097/pins?cid=QmZA9idEBomqsYBvA9Z...' | jq
Response
{ "count": 1, "results": [ { "requestid": "QmZA9idEBomqsYBvA9Z...", "status": "pinned", "created": "2022-06-28T10:33:01Z", "pin": { "cid": "QmZA9idEBomqsYBvA9Z...", "name": "PinnedCID", "origins": [], "meta": null }, "delegates": [ ... ], "info": { "source": "IPFS cluster API", "warning1": "CID used for requestID. Conflicts possible", "warning2": "experimental" } } ] }
Hi,
Does query parametrs really work with this endpoint? "
cid=pinnedcid
" is the only query parameter that is working at the moment, no luck with others.Below endpoint only outputs something when the files still have the status "
pinning
", afterwards nothing...Request This query parameter works, nothing else.
Response