Crates.io | nft_storage_api |
lib.rs | nft_storage_api |
version | 1.1.0 |
source | src |
created_at | 2023-11-03 22:47:52.435863 |
updated_at | 2023-12-25 13:29:43.962198 |
description | 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. |
homepage | https://github.com/noplan-inc/nft.storage-rs |
repository | https://github.com/noplan-inc/nft.storage-rs |
max_upload_size | |
id | 1024731 |
size | 96,783 |
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
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.
org.openapitools.codegen.languages.RustClientCodegen
Put the package under your project folder in a directory named openapi
and add the following to Cargo.toml
under [dependencies]
:
openapi = { path = "./openapi" }
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.
To get access to the crate's generated documentation, use:
cargo doc --open