OBJECT
CanPublishResponseObject
Returns information about whether a specified Web3 user address (DID) can create EWAI data assets (publish them) on this EWAI Instance (marketplace).
link GraphQL Schema definition
- type CanPublishResponseObject {
- # The EWAI instance name (which is always specified in EWNS format), returned here
- # for convenience. @example 'market1.apps.exampleco.iam.ewc'
- String! :
- # The EW-Switchboard role which user DIDs much possess in order to create EWAI
- # assets. @example 'assetpub.roles.market1.apps.exampleco.iam.ewc'
- String! :
- # Specifies whether or not the assetPublishRole check is enforced or not,
- # typically only false for dev. @example true
- Boolean! :
- # The EW-Switchboard role which DER DIDs much possess in order to send messages to
- # EW-Messaging server. @example 'user.roles.messaging.apps.energyweb.iam.ewc'
- String! :
- # The EW-Switchboard role which DER DIDs much possess in order to send messages to
- # the EW-Messaging channel for this EWAI instance. @example
- # 'datapub.roles.market1.apps.exampleco.iam.ewc'
- String! :
- # The Web3 user address (DID) which is requesting to publish assets, returned here
- # for convenience. @example 'did:ethr:0x1234...'
- String :
- # Indicates whether or not the specified Web3 user address (DID) can create assets
- # on this EWAI instance (marketpalce). @example true
- Boolean! :
- # The EW-Switchboard URL that can be used to enrol in to get permissions to create
- # assets on this EWAI Instance (marketplace). @example
- # 'https://volta-switchboard.energyweb.org#...'
- String! :
- # A status message for the user (for example, if permission to publish is denied,
- # it will indicate why). @example 'The Web3 User does not have the required
- # publish role for this marketplace in their DID document (DDO).'
- String! :
- }