Resource methods
Tools for registering and listing service or storage resources on the ledger.
register_resource
Description: Anchors a new service or storage resource to the ledger with defined scopes and capabilities.
- Input Schema:
resourceID(string): Unique resource identifier.ownerID(string): ParticipantID of the user owner.providerDetails(object): JSON object of provider configuration.scope(enum): Access level —public,protected, orprimary.capabilities(array[string]): List of URIs protected by this resource.primaryType(string): The type of resource (e.g.,storage,compute).additionalInfo(object): Optional additional verification details.
list_resources
Description: Returns a list of all resources registered in the Z-ID ecosystem.
- Input Schema: N/A (Empty object).
Last updated on: