Updates to API to fix specs and addition of the embed_asset type