# Retrieve item with children sharing the same version name (fallback to “main” if not available)

**URL:** https://community.directus.com/t/retrieve-item-with-children-sharing-the-same-version-name-fallback-to-main-if-not-available/1409
**Category:** Help
**Tags:** api
**Created:** [October 29, 2025, 1:55pm UTC](https://community.directus.com/t/retrieve-item-with-children-sharing-the-same-version-name-fallback-to-main-if-not-available/1409 "2025-10-29T13:55:58Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![M4rk3tt0](https://sea2.discourse-cdn.com/flex002/user_avatar/community.directus.com/m4rk3tt0/32/1064_2.png) [@M4rk3tt0](https://community.directus.com/u/M4rk3tt0)
#### Post date: [October 29, 2025, 1:55pm UTC](https://community.directus.com/t/retrieve-item-with-children-sharing-the-same-version-name-fallback-to-main-if-not-available/1409/1 "2025-10-29T13:55:59Z")

</div>

Hi everyone 👋

I’m using the new **versioning** feature in Directus, and I’m wondering if there’s a way to retrieve an item together with its related children that share the same version name.

For example:  
Let’s say I have a collection called **Posts** , which has one or more related **Authors**.  
Both collections have **versioning enabled**.

If I have a Post with a version named `"test"`, and one or more Authors also have a version named `"test"`, I’d like to retrieve the Post `"test"` **along with its Authors also in version `"test"`**.

If some Authors **don’t have a `"test"` version** , they should fall back to their `"main"` version.

So the desired result would be something like:

- Post → version `"test"`

- Authors → version `"test"` (if available), otherwise `"main"`

Is there currently a way to do this via the API or SDK?  
Or would it require a custom endpoint / flow logic to achieve this behavior?

Additionally, it would be a great feature if, when **promoting** a Post version, there was an option to **also promote all related items (like Authors) that share the same version name**.  
That way, you could keep the hierarchy of related content consistent across versions without having to manually promote each related item.

Thanks in advance for any guidance 🙏

---

<div class="post-metadata">

### Author: ![rijkvanzanten](https://sea2.discourse-cdn.com/flex002/user_avatar/community.directus.com/rijkvanzanten/32/31_2.png) [@rijkvanzanten](https://community.directus.com/u/rijkvanzanten)
#### Post date: [October 30, 2025, 9:07pm UTC](https://community.directus.com/t/retrieve-item-with-children-sharing-the-same-version-name-fallback-to-main-if-not-available/1409/2 "2025-10-30T21:07:51Z")

</div>

There’s currently no way to retrieve nested items from their own version (either by the same name or another). That being said, we’re currently preparing a big upgrade to the versioning system as a whole. One of the projects within that is exploring the ability to create (and fetch) a “release” that includes multiple items all on a version which should allow for this use case as well 🙂 I’ve linked up this thread to that project internally so we’ll follow-up here when that’s a bit closer to reality!
