29 lines
633 B
YAML
29 lines
633 B
YAML
id: api-pinata
|
|
|
|
info:
|
|
name: Pinata API Test
|
|
author: daffainfo
|
|
severity: info
|
|
description: IPFS Pinning Services API
|
|
reference:
|
|
- https://docs.pinata.cloud/
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/pinata
|
|
tags: token-spray,pinata
|
|
|
|
self-contained: true
|
|
http:
|
|
- 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
|