2021-12-15 01:36:17 +00:00
|
|
|
id: api-pinata
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Pinata API Test
|
|
|
|
author: daffainfo
|
|
|
|
severity: info
|
2022-07-25 06:05:11 +00:00
|
|
|
description: IPFS Pinning Services API
|
2021-12-15 01:36:17 +00:00
|
|
|
reference:
|
|
|
|
- https://docs.pinata.cloud/
|
2022-07-25 06:05:11 +00:00
|
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/pinata
|
2021-12-15 01:36:17 +00:00
|
|
|
tags: token-spray,pinata
|
|
|
|
|
|
|
|
self-contained: true
|
|
|
|
requests:
|
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
GET https://api.pinata.cloud/data/pinList?status=pinned HTTP/1.1
|
|
|
|
Host: api.pinata.cloud
|
|
|
|
pinata_api_key: {{token}}
|
|
|
|
pinata_secret_api_key: {{secret}}
|
|
|
|
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- '"id"'
|
|
|
|
- '"ipfs_pin_hash"'
|
|
|
|
condition: and
|