A general purpose api for all things riot