Table of Contents

TTMSMCPResource.URITemplate Property

Address pattern covering a family of addresses, with each variable part written between braces, for example db://tables/{table}/rows/{id}.

API unit family: TMS.MCP.Resources Declaring type: TTMSMCPResource Type: string

Syntax

property URITemplate: string;

Remarks

Setting this turns the entry into a template. Matching is done segment by segment on the parts between slashes: a braced segment accepts any single segment, every other segment has to be equal, and the number of segments has to be the same, so a variable cannot span a slash. The client may also ask for completion suggestions for one of these variables when the server offers completions.