powered by
This function parses a path pattern and returns both the name of the parameters and a version of the path formatted for glue string interpolation.
path_params(path)
A list with the elements keys containing the names of all the path parameters and glue containing a glue ready version of the path
keys
glue
The path pattern to parse
path_params("/users/:user/assets/*")
Run the code above in your browser using DataLab