My thoughts on how the REST interface for apm might work.