nftstorage / rust-client

A client library for the https://nft.storage/ service.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rust API client for nftstorage

This client was generated via the OpenAPI schema and is experimental, unsupported, and may not work at all!

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
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.RustClientCodegen

Installation

Put the package under your project folder and add the following to Cargo.toml under [dependencies]:

    openapi = { path = "./generated" }

Documentation for API Endpoints

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

Class Method HTTP request Description
NFTStorageAPI delete delete /{cid} Stop storing the content with the passed CID
NFTStorageAPI list get / List all stored files
NFTStorageAPI status get /{cid} Get information for the stored file CID
NFTStorageAPI store post /upload Store a file

Documentation For Models

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

cargo doc --open

Author

About

A client library for the https://nft.storage/ service.


Languages

Language:Rust 94.1%Language:Shell 5.9%