Retrieving revisions of nested content

I’m submitting a…

  • [ ] Regression (a behavior that stopped working in a new release)
  • [ ] Bug report
  • [ ] Performance issue
  • [x] Documentation issue or request

Current behavior

I have an Item type that contains nested relations. Currently when loading an item revision using the REST API (https://cloud.squidex.io/api/content/myproject/myitem/id/5), it does not load its historic relation data.

Expected behavior

How can historic nested (relation) data be loaded when querying an Item revision?

Environment

  • [ ] Self hosted with docker
  • [ ] Self hosted with IIS
  • [ ] Self hosted with other version
  • [x] Cloud version

You have to do it manually. Get the id, query the other content item and loop over all versions until you find the matching timestamp.

The API also does a cleanup, so when you have a reference to a deleted content item which is not available anymore it gets removed.