Fix api specs. Use id instead path