BCF-API
BCF-API copied to clipboard
RelatedTopics should get parameter "IncludeInverse"
There should be an optional query parameter added to the GET Related Topics Service
that would optionally include all reverse relations for related topics.
See #40
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.
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"
}]
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
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)