Get item description (widget?) via the API

Hi,

Can you get the text content of the Item Description Widgets via the API?

When you open an item via the web interface, you can view all the Updates, Files and the Activity Log. We have also made use of the Item Description widget, but I can’t figure out how to retrieve the Widgit’s text content via the API. Is this possible currently?

Thanks

Hello there @little_bobby_tables and welcome to the community!

I hope you like it here :muscle:

As of today it is not possible to retrieve that content via the API.

Let me know if you have any other questions!

Cheers,
Matias

Thanks @Matias.Monday,

Do you know if this is on the roadmap or would I have to submit a feature request?

Also, Is it possible to retrieve files that have been uploaded to an items file gallery directly, rather than being uploaded as part of an update to an item and added to the items files column?

Thanks

Hello again @little_bobby_tables,

This is not in the roadmap for near future changes.

Regarding the files in the gallery, you can use a query like this one:

{
  items(ids: 1234567890) {
    assets(assets_source: gallery) {
      id
      name
      public_url
    }
  }
}
1 Like