BCF-API icon indicating copy to clipboard operation
BCF-API copied to clipboard

RelatedTopics should get parameter "IncludeInverse"

Open GeorgDangl opened this issue 9 years ago • 5 comments

There should be an optional query parameter added to the GET Related Topics Service that would optionally include all reverse relations for related topics.

GeorgDangl avatar Dec 15 '15 14:12 GeorgDangl

See #40

GeorgDangl avatar Apr 29 '16 09:04 GeorgDangl

See also #280 for relation types.

We've had a quick idea in the call that there should be separate resource directly below projects that gives a list of all topic relations in a project.

GeorgDangl avatar Mar 13 '23 10:03 GeorgDangl

We've just started discussing this before the call ended, but we might go a route of changing the related topics endpoint altogether.

Instead of being a resource below every single topic, it could be lifted to a dedicated resource right below projects to give a list of all relations, like this:

[{
    "left": "db49df2b-0e42-473b-a3ee-f7b785d783c4",
    "right": "6963a846-54d1-4050-954d-607cd5e48aa3",
    "type": "parent"
}]

GeorgDangl avatar Jun 05 '23 10:06 GeorgDangl

Additional Discussion / 19.06.2023

  • Having relations as a separate resource in the API could be cumbersome to work with, it's preferred to have the relations within the topic.
  • Relationship types: child, parent, relation
  • The project extensions can be used to announce which relation types are available in a project

GeorgDangl avatar Jun 19 '23 09:06 GeorgDangl

Aconex does not support "related topics at the moment" Catenda uses two-ways relations always. (Meaning we are always include the inverse)

Suggestion from todays telecon. Close the ticket (and continue to use two-way relations always)

jasollien avatar Feb 12 '24 10:02 jasollien