Hi,
Related to this post which relates to querying all media items. My question is how can I query a specific media item and not all of them. I have tried:
query MediaQuery ($id: ItemId) {
upload(filter: {id: {eq: $id}}) {
id
responsiveImage {
src
}
}
}
The problem is I get back the message ItemId isn't a defined input type (on $id)
from Dato.
Is there an obvious mistake here I am blindly missing? Is the input type incorrect?
Appreciate any help with this!