Q: Using the TFS REST API to get all work items in an iteration I am attempting to get some information about all User Stories in the current sprint.  I can get the path to the current sprint easily, and given a list of the IDs for the work items I can get what I need from them, but I am unsure of how to get those IDs from just the iteration path.
I have seen an example of this using C# and queries, but I am using javascript and the REST API, and I would prefer not to user queries if possible.

A: The best way to achieve this is using queries which designed to help you find work items that you want to review, triage, update, or list in a report. 
The Work Item Query Language is also supported with REST API. There is a Parameter [System.IterationPath] which meets your requirement.
More detail info please refer:

Programmatically query for work items
• REST APIs: Work item queries and query folders and Work item
  query language


A: The only generic solution I could find was to get all work items ids by iterating all pages from Read Reporting Revisions
Then get bulks of work items from List Work Items
Unfortunately TFS/AzureDevops do not offer a shorter path without using queries.
