BitWorking

Joe Gregorio's writings and projects.

URI Template

URI Templates are strings that contain embedded variables that are transformed into URIs after embedded variables are substituted. This specification defines the structure and syntax of URI Templates.

Contents

The latest version of the URI Template specification. Note that only the .txt version is normative.

draft-gregorio-uritemplate-03 [.html] [.xml] delta

Older Versions

draft-gregorio-uritemplate-02 [.html] [.xml] delta

draft-gregorio-uritemplate-01 [.html] [.xml] delta

draft-gregorio-uritemplate-00 [.html] [.xml]

Software

An experimental implementation in Python.

A URI Template Explainer service is also available. Just enter your URI Template below and the service will explain each part of the template and how it works.


Here are some examples:

And finally the URI Template for the URI Template Explainer service itself:

This file last modified 2008-03-28.