Manifest
Last updated
Was this helpful?
Last updated
Was this helpful?
Manifest is a special case of Stack that is unique per vault and follows the .
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 JSON
returns 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 index
returns Promise<JSON>
- Promise with JSON manifest