Project

General

Profile

Feature #1545

API: Filter entities by types

Added by Bernhard Koschiček-Krombholz 7 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Start date:
2021-07-08
Estimated time:

Description

Andreas asked if it is possible to filter the output of the entities endpoint by types. For Example, show me all artefact, who has the type X and type Y.

Parameter:

/api/0.2/class/E18?type_id=124487&type_id=10832


Related issues

Related to Feature #1546: API: New search parameterClosed2021-07-12Actions

History

#1

Updated by Bernhard Koschiček-Krombholz 7 months ago

  • Description updated (diff)
#2

Updated by Bernhard Koschiček-Krombholz 7 months ago

#3

Updated by Bernhard Koschiček-Krombholz 6 months ago

The problem is, how do we connect these types? Will we get only entities, which has all the selected types, or all entities with at least one of the given types?

#4

Updated by Bernhard Koschiček-Krombholz 6 months ago

  • Status changed from In Progress to Closed
  • Target version changed from API to 6.4.0

The basic functionality is ready to use. Right now, the type_ids will be connected with an OR. The question of how other filter methodes can be used, will be discussed in following ticket: Feature #1546: API: Overall refactor of API parameters.

Also available in: Atom PDF