The API I’m working with allows users to retrieve a register of controlled terms, say:
It also allows users to retrieve previous versions of the register, by appending a version identifier:
to get version
10 of the register rather than the most recent. I’ve tried encoding this endpoint in my RAML file, but with little success so far. I’ve tried:
but both of them confuse the parser I’m using (
raml-1-parser-browser from NPM). What would be the correct way to encode my endpoint in RAML?