Unfortunately, there is no such an API and it's unlikely one to be implemented considering the move to the new master page approach.
Sergiu Svinarciuc | CTO @ visely.io - Was my reply helpful? Click Like to let me know! - Was your question answered? Mark it as an Accepted Solution! - To learn more about the awesome stuff we do head over to visely.io or our blog