add examples to api docs