Hello Julian
you are right that collections for Foxx apps (or "services" as of 2.7) are typically prefixed with a string based on the app's mount path. This allows using arbitrary collection names without running into conflicts with other Foxx apps or other mounted copies of the same app.
You can use the applicationContext to get references to these collections by their unprefixed names. The applicationContext is available in Foxx apps and provides the two methods "collection" and "collectionName".
If you just want the prefixed name of a collection, you can pass the unprefixed name to applicationContext.collectionName and it will return the prefixed name as a string.
If you want a reference to the collection itself, you can pass the unprefixed name to applicationContext.collection and it will return the collection. This is equivalent to passing the prefixed name to db._collection from the org/arangodb module.
Additionally, if you already have a reference to a collection, you can access its full name from its "name" property. Or if you have a repository instance wrapping a collection you can access the repository's collection using it's "collection" property.
Hope this helps,
Alan from ArangoDB