ResourceTemplate

@Serializable
data class ResourceTemplate(val uriTemplate: String, val name: String, val description: String?, val mimeType: String?)(source)

A template description for resources available on the server.

Constructors

Link copied to clipboard
constructor(uriTemplate: String, name: String, description: String?, mimeType: String?)

Properties

Link copied to clipboard

A description of what this template is for.

Link copied to clipboard

The MIME type for all resources that match this template. This should only be included if all resources matching this template have the same type.

Link copied to clipboard

A human-readable name for the type of resource this template refers to.

Link copied to clipboard

A URI template (according to RFC 6570) that can be used to construct resource URIs.