Get a list of all replaced/substituted/superseded Windows 10 Updates (KB articles) using an API

method 0 Reputation points
2023-04-18T18:22:47.08+00:00

Context

Hello, I would like to list all of the replaced/substituted/superseded KBs for Windows 10.
Normally, I would enter the corresponding Microsoft Update Catalog page to a KB and look into "package details" tab for the replaced/substituted/superseded KB article numbers.

The problem

I want to find all of them, every KB that was ever replaced/substituted/superseded for Windows 10, no matter what version (1507, 1607, 1809, 20H2, and so on...). I wasn't able to find a repository, or an official list or historical documentation with the information I want.
It is way too exhaustive to search manually in the catalog, and I would take a long time to accomplish my objetive.

My idea

Can I use some kind of API to get the desired result? I mean, to search and filter given the criteria: Windows 10, replaced/substituted/superseded, or something similar to this (programmatically, or at least automatically)?
I've read this question, which motivates me to write a solution using and API.

What would I need to use it, if it's the case? An IDE capable of running C++, or something like this? Could I use it in a batch file? The batch script would be more suitable for me, but no problem if it's not possible.

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,806 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 44,431 Reputation points
    2023-04-20T09:32:10.37+00:00

    Hello Thank you for your question and reaching out. I can understand you are having query\issues related to get Windows updates KB details. There is Github repository in this article which you use : https://social.technet.microsoft.com/Forums/en-US/374c7b28-03e0-41ff-b182-e07b4fb3ed97/retrieve-kb-data-from-the-microsoft-security-updates-api?forum=securityupdateguide APIs under the /beta version in Microsoft Graph : https://learn.microsoft.com/en-us/graph/api/resources/adminwindowsupdates?view=graph-rest-beta&preserve-view=true --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.