Project

General

Profile

Actions

Bug #2625

closed

API: Empty count in /type_tree/ endpoint

Added by Katharina Wünsche 3 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Start date:
2025-09-22
Estimated time:
Found in version:

Description

The `/type_tree/` endpoint currently returns `count: 0` for all types, even if they are actually assigned to entities and should have a count higher than 0. Would it be possible to set the count to the number of affected entities or introduce a new property in this endpoint that matches the described count value?

Update: We also just realized that the schema of the endpoint is slightly wrong: it defines the key type_tree which is spelled typeTree in the actual response.


Related issues 1 (0 open1 closed)

Related to OpenAtlas - Feature #2626: API: 4.10.0ClosedBernhard Koschiček-Krombholz2025-09-24Actions
Actions

Also available in: Atom PDF