API C QuestLog.GetAllCompletedQuestIDs

Returns a list of quests the character has completed in its lifetime. quests = C_QuestLog.GetAllCompletedQuestIDs

Returns

 * quests : number [] - The sorted quest IDs

Details

 * A quest appears in the list only after it has been completed and turned in, not while it is in your log.
 * Completing certain quests can cause other quests (alternate versions, etc.) to appear completed also.
 * Some quests are invisible. These quests are not offered to players but suddenly become "completed" due to some other in-game occurrence.
 * Daily quests appear completed only if they have been completed that day.
 * Pet Battle quests are account-wide and will be returned from this API across all characters. They can be discerned with tagID 102.

Example
For a fresh toon who only completed the first three starter quests: Warming Up (56775), Stand Your Ground (58209) and Brace for Impact (58208) /dump C_QuestLog.GetAllCompletedQuestIDs

Prints completed questIds and their names (quest data gets cached from the server after the first query)