URI template format

Every block in the template between { and } is a named part which will be replaced by the property value during generation of URI for slot.

Blocks possible to use:

proto
Name of protocol.
serverName
Domain name of server.
port
Port on which HTTPS (or HTTP) server is listening.
userJid
JID of user requesting slot allocation.
domain
Domain of user requesting slot allocation.
slotId
Generated ID of slot.
filename
Name of file to upload.

Note

slotId and filename are required to be part of every URI template.

Warning

Inclusion of userJid or domain will speed up the lookup for slot id during upload and download operation if more than one metadata repository is configured. However, this may lead to leak of user JID or user domain if message with URI containing this part will be send to recipient which is unaware of the senders' JID (ie. in case of anonymous MUC room).