objectMappings
Object mappings to be applied by Liberator.
For a patten /{username}/my-subject
you could provide a map of { "username": "%u" }
to have Liberator map the username into the {username}
placeholder.
A request of /my-subject
by a user named john.connor
would be made as /john.connor/my-subject
.
Please ensure that usernames provided to Liberator are appropriately URL Encoded if they are to contain special characters - especially the /
path separator.