Manifest
Manifest is a special case of Stack that is unique per vault and follows the Arweave Path Manifest standard.
generate(vaultId, manifest)
If there is no manifest for the vault, a new manifest stack will be created, otherwise a new version of the manifest will be generated and uploaded.
If no input JSON is provided by the user, the manifest will be generated automatically from the current vault state.
vaultId
(string
, required)manifest
(JSON
, optional) - manifest JSONreturns
Promise<{ transactionId }>
- Promise with corresponding transaction id
get(vaultId)
vaultId
(string
, required)returns
Promise<Stack>
- Promise with the vault manifest object
getVersion(vaultId, index)
Get vault manifest version by index, return the latest version by default
vaultId
(string
, required)index
(number
, optional) - file version indexreturns
Promise<JSON>
- Promise with JSON manifest
Last updated