DataRelation — data-service
Section titled “DataRelation — data-service”Every response below is delivered inside the universal {success, result} envelope; downloads and streams bypass it structurally. See Calling the HTTP API.
Snapshot:
data-service.json· data-service 1.11.0 · 20 operations
GET /v1/entities/{entity}/entries/{entryId}/relations/{relationId}
Section titled “GET /v1/entities/{entity}/entries/{entryId}/relations/{relationId}”findRelatedEntries
— Get all related entries for specific relation that belongs to an entity
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
entryId | path | yes | string |
relationId | path | yes | string |
filter | query | no | — |
include_virtual | query | no | boolean |
Responses
| Status | Description |
|---|---|
200 | Array of DataEntry model instances |
GET /v1/entities/{entity}/entries/{entryId}/relations/{relationId}/count
Section titled “GET /v1/entities/{entity}/entries/{entryId}/relations/{relationId}/count”findRelatedEntriesCount
— Get count of related entries for specific relation that belongs to an entity
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
entryId | path | yes | string |
relationId | path | yes | string |
where | query | no | — |
include_virtual | query | no | boolean |
Responses
| Status | Description |
|---|---|
200 | DataRelation model count. |
GET /v1/entities/{entity}/entries/{entryId}/relations/{relationId}/kanban/{categoryFieldId}
Section titled “GET /v1/entities/{entity}/entries/{entryId}/relations/{relationId}/kanban/{categoryFieldId}”findRelatedEntriesKanbanView
— Get all related entries for specific relation that belongs to an entity with applied tag filter as kanban view
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
entryId | path | yes | string |
relationId | path | yes | string |
categoryFieldId | path | yes | string |
filterCriteria | query | no | — |
search | query | no | string |
categoryId | query | no | string |
include_virtual | query | no | boolean |
appliedQuickFilters | query | no | array of string |
appliedTagsFilters | query | no | array of string |
columns | query | no | array of string |
Responses
| Status | Description |
|---|---|
200 | DataEntryKanbanViewDto model instance |
GET /v1/entities/{entity}/entries/{entryId}/relations/{relationId}/kanban/{fieldId}/columns Since 1.10
Section titled “GET /v1/entities/{entity}/entries/{entryId}/relations/{relationId}/kanban/{fieldId}/columns Since 1.10”findRelatedEntriesKanbanColumns
— Distinct kanban reference values across one relation’s entries
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
entryId | path | yes | string |
relationId | path | yes | string |
fieldId | path | yes | string |
filterCriteria | query | no | — |
search | query | no | string |
include_virtual | query | no | boolean |
appliedQuickFilters | query | no | array of string |
Responses
| Status | Description |
|---|---|
200 | KanbanColumnValuesDto model instance |
GET /v1/entities/{entity}/entries/{entryId}/relations/{relationId}/summary Since 1.10
Section titled “GET /v1/entities/{entity}/entries/{entryId}/relations/{relationId}/summary Since 1.10”findRelatedEntriesSummary
— Aggregate totals, and group headers with subtotals, over the related entries for a relation that belongs to an entity
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
entryId | path | yes | string |
relationId | path | yes | string |
aggregates | query | no | array of string |
groupBy | query | no | array of string |
groupSkip | query | no | number |
groupLimit | query | no | number |
filterCriteria | query | no | — |
search | query | no | string |
include_virtual | query | no | boolean |
appliedQuickFilters | query | no | array of string |
Responses
| Status | Description |
|---|---|
200 | EntrySummaryResponse model instance |
GET /v1/entities/{entity}/relation
Section titled “GET /v1/entities/{entity}/relation”find
— Get all relations for specific entity
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
filter | query | no | — |
Responses
| Status | Description |
|---|---|
200 | Array of DataRelationDto model instances |
POST /v1/entities/{entity}/relation
Section titled “POST /v1/entities/{entity}/relation”create
— Create new relation for specific entity
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
Request body: NewDataRelation
Responses
| Status | Description |
|---|---|
200 | DataRelation model instance |
DELETE /v1/entities/{entity}/relation/{id}
Section titled “DELETE /v1/entities/{entity}/relation/{id}”deleteById
— Delete specific relation that belongs to an entity
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
id | path | yes | string |
Responses
| Status | Description |
|---|---|
200 | DataRelation DELETE success |
GET /v1/entities/{entity}/relation/{id}
Section titled “GET /v1/entities/{entity}/relation/{id}”findById
— Get specific relation for specific entity
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
id | path | yes | string |
filter | query | no | — |
Responses
| Status | Description |
|---|---|
200 | DataRelationDto model instance |
PATCH /v1/entities/{entity}/relation/{id}
Section titled “PATCH /v1/entities/{entity}/relation/{id}”updateById
— Update specific relation that belongs to an entity
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
id | path | yes | string |
Request body: DataRelationPartialExcluding_id_
Responses
| Status | Description |
|---|---|
200 | DataRelation PATCH success |
GET /v1/entities/{entity}/relation/count
Section titled “GET /v1/entities/{entity}/relation/count”count
— Count relations for specific entity
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
where | query | no | — |
Responses
| Status | Description |
|---|---|
200 | DataRelation model count. |
POST /v1/entities/joiner/relations
Section titled “POST /v1/entities/joiner/relations”findEntitiesRelations
— Get data entities relations
Request body: findEntitiesRelations
Responses
| Status | Description |
|---|---|
200 | Array of DataRelationDto model instances |
GET /v1/relations
Section titled “GET /v1/relations”findAll
— List all relations in the system
Parameters
| Name | In | Required | Type |
|---|---|---|---|
filter | query | no | — |
includeImplicit | query | no | boolean |
Responses
| Status | Description |
|---|---|
200 | Array of DataRelation model instances |
GET /v1/relations/{id}
Section titled “GET /v1/relations/{id}”findOneById
— Get a single relation by ID
Parameters
| Name | In | Required | Type |
|---|---|---|---|
id | path | yes | string |
Responses
| Status | Description |
|---|---|
200 | DataRelation model instance |
GET /v1/relations/count
Section titled “GET /v1/relations/count”countAll
— Count all relations in the system
Parameters
| Name | In | Required | Type |
|---|---|---|---|
where | query | no | — |
includeImplicit | query | no | boolean |
Responses
| Status | Description |
|---|---|
200 | DataRelation model count. |
GET /v2/entities/{entity}/entries/{entryId}/relations/{relationId}
Section titled “GET /v2/entities/{entity}/entries/{entryId}/relations/{relationId}”findRelatedEntriesV2
— Get all related entries for specific relation that belongs to an entity
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
entryId | path | yes | string |
relationId | path | yes | string |
filterCriteria | query | no | — |
search | query | no | string |
include_virtual | query | no | boolean |
Responses
| Status | Description |
|---|---|
200 | Array of DataEntry model instances |
GET /v2/entities/{entity}/entries/{entryId}/relations/{relationId}/count
Section titled “GET /v2/entities/{entity}/entries/{entryId}/relations/{relationId}/count”findRelatedEntriesCountV2
— Get count of related entries for specific relation that belongs to an entity
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
entryId | path | yes | string |
relationId | path | yes | string |
whereCriteria | query | no | — |
search | query | no | string |
include_virtual | query | no | boolean |
Responses
| Status | Description |
|---|---|
200 | DataRelation model count. |
GET /v2/entities/{entity}/relation
Section titled “GET /v2/entities/{entity}/relation”findV2
— Get all relations for specific entity
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
Responses
| Status | Description |
|---|---|
200 | DataRelationListDto model instance |
GET /v2/entities/{entity}/relation/count
Section titled “GET /v2/entities/{entity}/relation/count”countV2
— Count relations for specific entity
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
Responses
| Status | Description |
|---|---|
200 | DataRelationCountDto model instance |
GET /v3/entities/{entity}/entries/{entryId}/relations/{relationId}
Section titled “GET /v3/entities/{entity}/entries/{entryId}/relations/{relationId}”findRelatedEntriesV3
— Get all related entries for specific relation that belongs to an entity with applied tag filter
Parameters
| Name | In | Required | Type |
|---|---|---|---|
entity | path | yes | string |
entryId | path | yes | string |
relationId | path | yes | string |
filterCriteria | query | no | — |
search | query | no | string |
include_virtual | query | no | boolean |
appliedQuickFilters | query | no | array of string |
appliedTagsFilters | query | no | array of string |
groupBy | query | no | array of string |
Responses
| Status | Description |
|---|---|
200 | DataEntriesResponseV3 model instance |
Platform 1.10.0 · Backend 1.11.0-alpha.11 · Frontend 1.11.0-alpha.6 · Mobile 1.10.2 · Chart 1.11.8 · Gateway 2.6.11 · MCP 0.2.0 · Grafana DS 1.2.0Docs build 2026-11-27