URI Template


URI Template (RFC 6570) is a compact sequence of characters for describing a range of Uniform Resource Identifiers through variable expansion.

RFC 6570 defines the URI Template syntax and the process for expanding a URI Templateinto a URI reference, along with guidelines for the use of URI Template on the Internet.

A URI Template provides both a structural description of a URI space and, when variable values are provided, machine-readable instructions on how to construct a URI corresponding to those values. A URI Template is transformed into a URI reference by replacing each delimited expression with its value as defined by the expression type and the values of variables named within the expression. The expression types range from simple string expansion to multiple name=value lists. The expansions are based on the URI generic syntax, allowing an implementation to process any URI Template without knowing the scheme-specific requirements of every possible resulting URI.

More Information#

There might be more information for this subject on one of the following: