File metadata upload
Upload a metadata file
HTTP Request file metadata upload
Headers
Name
Value
Description
Content-Type
application/json
The content type of the request body
Authorization
Bearer $TOKEN
authentication token that is used to authorize access to an API
Request body
Name
Type
Description
hash
string
hash of the document to upload
name
string
name of the document
type
string
document type
size
int
document size
lastModified
timestamp
date of last modified on the document
userId
int
id of the user
walletName
string
name of the wallet to use
Example of a valid request body:
The above command returns a JSON structured like this:
Last updated