[api] updated api spec for latest changes