Spike for a new API for declaring endpoints

do we need any of these?