Template:REST API Reference sample code