Convert api-routes-rest
example to TypeScript
#38394
Merged
api-routes-rest
example to TypeScript
#38394