Support RFC6570[1] URI Templates. Processors will match the data[]
elements to any terms in the URI-Template
.[2]
- Add optional property to query objects:
encoding
. - Support either
"uri-template"
or"url-encoded"
value forencoding
property. If the property is missing, assumeencoding : "url-encoded"
- Allow
href
property to containURI
orURI-Template
{
"queries" :
[
{
"encoding" : "uri-template",
"href" : "http://example.org/posts/{id}",
"rel" : "search",
"data" :
[
{"name" : "id", "value" : []}
]
}
]
}