Open JensWolff opened 9 years ago
Oh, I like this idea! +1
API-Mode: +1, Wrapper resources: -1 ... A typical work-around "design pattern" in modx. We should investigate more of those patterns (everyone uses them) and try to figure out how they could be overcome.
It would be awesome, if you could enter an optionional alias for snippets and chunks, so that they become available (like resources) via own custom friendly urls like:
api/snippetname api/snippetname?parameter=value
api/chunkname api/chunkname?placeholder=value
to easily develop custom REST-APIs out of the box, without the need of wrapper-resources who only calls the snippet/chunk.