const ids = await fetch('/api/ids/').then(response => response.json()).then(response => response.ids);
const items = [];
ids.forEach((id) => {
item = await fetch(`/api/items/${id}`).then(response => response.json()).then(response => response.item);
items.push(item);
});