API GET Uploads with Records

It would be nice to have a parameter to retrieve, together with the records, at least the url of the upload connected to them without the need to make multiple calls

You can do that by specifying it in the query, like heroImage.url in this case:

query MyQuery {
  allPages {
    title
    id
    heroImage {
      id
      url
    }
  }
}

Returns:

"data": {
    "allPages": [
      {
        "title": "Embed Test Page",
        "id": "42746360",
        "heroImage": {
          "id": "16573430",
          "url": "https://www.datocms-assets.com/44232/1621982488-michelle-kuo-field-museummktg071720196d-1.jpg"
        }
      },
(snipped)

Hi Roger,

i mean in the Content Management API and not GraphQL

Thanks