Methods that let you work programmatically with segments.
The segment API methods have been rewritten with Swagger and migrated. See: