If an endpoint list items, add a list of IDs to the response