Message ought to be something like, "Your dapp has been successfully created."
Given a DappName, return the fully scoped private path to create it.
Type guard; only returns true
if all Item.Full
attributes other than DappName
have been
correctly set. The underlying guard verifies
that if it's an Enterprise Dapp, the GitHub
config is set.
Factory to produce an Args object with an empty string. Useful for getting the correct shape as a value, without having to hardcode strings.
Delete an existing dapp. Its DappName will be reclaimed for other users. Only works if the caller is the dapp's owner.
Body requires no arguments, email and DappName are taken from Authorization & path respectively.
Message will say something (not exactly) like, "Your dapp has been successfully deleted."
Given a DappName, returns its fully scoped private path
List all of the dapp's owned by the calling user in their API representation.
Body requires no arguments, email and DappName are taken from Authorization & path respectively.
Retrieve the API representation of any given
dapp. Will not succeed if the caller is not
the owner of said dapp. Gracefully returns
with itemExists === false
if the dapp does
not exist.
Body requires no arguments, email and DappName are taken from Authorization & path respectively.
Given a DappName, returns its fully scoped private path
Update an existing dapp. An existing Dapp can only have its ABI, ContractAddr, Web3URL, & GuardianURL modified. Only works if the caller is the dapp's owner.
Message will say something (not exactly) like, "Your dapp has been successfully updated."
Given a DappName, returns its fully scoped path
Type guard; only returns true
if one of the
valid Item.Core
update attributes has been set.
Factory to produce a sample Args object. As the argument only requires one to be set, this arg would set the Web3URL to a blank string.
Generated using TypeDoc
Create a new dapp. Accepts all properties from a full DappItem, except for the name, which the API infers by the path.