nft_storage_api 1.1.0

A Rust client for interacting with the NFT.storage service, providing a user-friendly wrapper around its API. It facilitates operations such as storing ERC-1155 compatible NFTs, uploading files, managing digital assets, and handling decentralized identities (DIDs). Built with async support for seamless integration with modern Rust applications.
Documentation

Rust API client for openapi

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

Overview

This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.

  • API version: 1.0.0
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.RustClientCodegen

Installation

Put the package under your project folder in a directory named openapi and add the following to Cargo.toml under [dependencies]:

openapi = { path = "./openapi" }

Documentation for API Endpoints

All URIs are relative to https://api.nft.storage

Class Method HTTP request Description
NftStorageApi check GET /check/{cid} Check if a CID of an NFT is being stored by nft.storage.
NftStorageApi delete DELETE /{cid} Stop storing the content with the passed CID
NftStorageApi did_get GET /did Get nft.storage DID
NftStorageApi list GET / List all stored files
NftStorageApi status GET /{cid} Get information for the stored file CID
NftStorageApi store POST /store Store an ERC-1155 compatible NFT
NftStorageApi ucan_token_post POST /ucan/token Get a root UCAN.
NftStorageApi upload POST /upload Store a file
NftStorageApi user_did_post POST /user/did Register a DID for a user.

Documentation For Models

To get access to the crate's generated documentation, use:

cargo doc --open

Author