I am currently working with TypeScript and using a GET API to display all work items in the UI. At the moment, there are 4 work items visible on the UI. Along with this, I am also utilizing a POST API to add new work items so that they can be reflected both in the UI and URL. However, each time I add a new work item in the UI, it only shows up in the URL and not in the actual UI itself.
Here is my GET URL:
https://dev.azure.com/{OrgName}/{ProjectName}/_apis/wit/workitems?ids=1,2,3,4&api-version=7.0
How can I ensure that all work items, including newly added ones, are displayed in the UI as well? What adjustments do I need to make to the URL?
I attempted changing the URL to:
https://dev.azure.com/{OrgName}/{ProjectName}/_apis/wit/workitems?api-version=7.0
However, this resulted in a 404 error. I'm uncertain about what exactly needs to be modified. Can you provide any guidance on this issue?