v51

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-01141816.7 KB
Data

Upload a file in a streaming manner. Once finished, the file is stored in the node and can be retrieved by any node in the network using the returned CID.

post/data

Headers

content-typestring
Example:image/png

The content type of the file. Must be valid.

content-dispositionstring
Example:attachment; filename="storage.png"

The content disposition used to send the filename.

Response

CID of uploaded file