[IPFS] Check Nid/Cid on IPFS
API Endpoint: https://eobf91xa1ra7i2n.m.pipedream.net
Cost: 0.01 NUM
Method: POST
Description:
This API endpoint allows developers to check if a Nid/Cid is accessible from the Numbers Gateway (https://ipfs-pin.numbersprotocol.io/ipfs/).
Authentication:
This API requires a valid token for Authorization. The token should be passed in the headers of the request using the following format: "Authorization: token YOUR_CAPTURE_TOKEN"
Header:
Authorization: token $YOUR_CAPTURE_TOKEN (required)
Content-Type: application/json
Request Body (required):
nid (string): Nid to be checked.
Example:
curl -X POST "https://eobf91xa1ra7i2n.m.pipedream.net" \
-H "Content-Type: application/json" \
-H "Authorization: token YOUR_CAPTURE_TOKEN" \
-d '{
"nid": NID_TO_CHECK
}'
Response:
{
"nid": NID_TO_CHECK,
"on_ipfs": true
}
200: Check API successful.
400: Bad request
401: Unauthorized
403: Forbidden
500: Internal Server Error
Last updated