The REST API for teams