0.1.1 • Published 3 years ago

@niftysave/followup v0.1.1

Weekly downloads
-
License
(Apache-2.0 AND M...
Repository
github
Last release
3 years ago

@niftysave/followup

CI dependencies Status

API

POST /api/register

Register an NFT asset for follow-up. This means periodically checking on its pinning status to see if it has completed pinning. Each status change is recorded to Vinyl.

Assets which have not become pinned within 24 hours are marked as failed and never checked again.

Accepts an application/json body like:

{
  "cid": "bafy...",
  "pinStatus": "queued | pinning | failed" // Note: NOT "pinned"
}

No response data is returned.