updated api.html for resources