With the introduction of multiple app types (Tables, Forms, Dashboards, etc.), it would be very helpful if the app type was included in the API response when listing apps.
Currently the response does not provide any reliable way to determine what type of app has been returned:
{
"app_id": 78508,
"workspace_id": 16908,
"workspace_name": "DEMO - ALDERFOX",
"slug": "test-dash",
"external_id": "test-dash",
"name": "Test Dash"
}
At the moment the only way to infer that an app is a Dashboard is by looking for indirect indicators such as an empty fields array when requesting full app details:
{
"app_id": 78508,
...
"fields": []
}
However, this is not a reliable indicator. An empty field list, no records, or other missing data can suggest an app type, but none of these are definitive.
Adding a simple property such as:
{
"app_id": 78508,
"name": "Test Dash",
"type": "dashboard"
}
would allow integrations and third-party tools to correctly identify app types without relying on assumptions or implementation details that could change in the future.
This would make it much easier to build tooling that works consistently across the growing range of app types in Tape.