baiji v0.6.5 Baiji.Request.REST.Encoder
For REST-JSON and REST-XML endpoints, takes an input map and its desired shape, along with the request path, and generates the correct path for the request
Link to this section Summary
Functions
Encode an Operation’s input into a REST URI based on the expected input shape described in the Operation
Encode an input map into a path containing variable placeholders
Extract input parameters that should be encoded into the URI based on the locationName attribute of the input’s shape
Link to this section Functions
Link to this function
encode(operation)
Encode an Operation’s input into a REST URI based on the expected input shape described in the Operation
Link to this function
encode(input, path)
Encode an input map into a path containing variable placeholders
Link to this function
extract_uri_parameters(input, arg2, shapes, out)
Extract input parameters that should be encoded into the URI based on the locationName attribute of the input’s shape