rtematres.api function

Basic tematres server api