Skip to main content

bee/api/
mod.rs

1//! Generic API surface: upload/download options, headers, rich
2//! return types, and the pin / tag / stewardship endpoint methods.
3//! Mirrors `pkg/api` in bee-go.
4
5pub mod endpoints;
6pub mod options;
7pub mod result;
8
9pub use endpoints::{ApiService, EnvelopeResponse, GranteeResponse, PinIntegrity, Tag};
10pub use options::{
11    CollectionUploadOptions, DownloadOptions, FileUploadOptions, HeaderPairs, OnEntryFn,
12    PostageBatchOptions, RedundancyLevel, RedundancyStrategy, RedundantUploadOptions,
13    UploadOptions, UploadProgress, prepare_collection_upload_headers, prepare_download_headers,
14    prepare_file_upload_headers, prepare_redundant_upload_headers, prepare_upload_headers,
15    validate_collection_upload_options,
16};
17pub use result::{FileHeaders, UploadResult, parse_content_disposition_filename};