WebService
@nevermined-io/sdk - v3.0.44 / WebService
Interface: WebService
Interface describing an asset of type service
Table of contents
Properties
- chargeType
- encryptedAttributes
- endpoints
- implementsQueryProtocol
- internalAttributes
- isNeverminedHosted
- openEndpoints
- queryProtocolVersion
- serviceHost
- type
Properties
chargeType
• Optional
chargeType: ChargeType
The type of charge for the service (fixed or dymanic). If fixed the amount of credits to charge will be always the same.
Defined in
encryptedAttributes
• Optional
encryptedAttributes: string
Defined in
endpoints
• Optional
endpoints: { [verb: string]
: string
; }[]
List of endpoints available for the service
Defined in
implementsQueryProtocol
• Optional
implementsQueryProtocol: boolean
Flag to indicate if the service implements the Nevermined Query Protocol. See https://docs.nevermined.io/docs/protocol/query-protocol
Defined in
internalAttributes
• Optional
internalAttributes: WebServiceInternalAttributes
Defined in
isNeverminedHosted
• Optional
isNeverminedHosted: boolean
Flag to indicate if the service is hosted by Nevermined infrastructure. If true, the service/agent will be running using the Nevermined Backend service.
Defined in
openEndpoints
• Optional
openEndpoints: string
[]
List of open endpoints available for the service. These endpoints are not protected. This attribute is useful to indicate which endpoints are available for public access (documentation, definitions, etc).
Defined in
queryProtocolVersion
• Optional
queryProtocolVersion: string
The version of the Query Protocol implemented by the service.
Defined in
serviceHost
• Optional
serviceHost: string
Host of the service where the service is running. This attribute when is given AND the service is hosted by Nevermined or implements the Query Protocol, allows to populate automatically the endpoints using the service host. Example: https://my-service.com or https://backend.nevermined.app
Defined in
type
• Optional
type: "Other"
| "RESTful"
| "GrapQL"
| "RPC"
Type of Web service