DataRelation — data-service
Section titled “DataRelation — data-service”كل استجابة أدناه تصل داخل الغلاف الموحَّد {success, result}؛ وتتجاوزه التنزيلات والتدفّقات بنيويًّا. راجع استدعاء واجهة HTTP API.
اللقطة:
data-service.json· data-service 1.11.0 · 20 عملية
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
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
entryId | path | نعم | string |
relationId | path | نعم | string |
filter | query | لا | — |
include_virtual | query | لا | boolean |
الاستجابات
| الحالة | الوصف |
|---|---|
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
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
entryId | path | نعم | string |
relationId | path | نعم | string |
where | query | لا | — |
include_virtual | query | لا | boolean |
الاستجابات
| الحالة | الوصف |
|---|---|
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
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
entryId | path | نعم | string |
relationId | path | نعم | string |
categoryFieldId | path | نعم | string |
filterCriteria | query | لا | — |
search | query | لا | string |
categoryId | query | لا | string |
include_virtual | query | لا | boolean |
appliedQuickFilters | query | لا | array of string |
appliedTagsFilters | query | لا | array of string |
columns | query | لا | array of string |
الاستجابات
| الحالة | الوصف |
|---|---|
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
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
entryId | path | نعم | string |
relationId | path | نعم | string |
fieldId | path | نعم | string |
filterCriteria | query | لا | — |
search | query | لا | string |
include_virtual | query | لا | boolean |
appliedQuickFilters | query | لا | array of string |
الاستجابات
| الحالة | الوصف |
|---|---|
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
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
entryId | path | نعم | string |
relationId | path | نعم | string |
aggregates | query | لا | array of string |
groupBy | query | لا | array of string |
groupSkip | query | لا | number |
groupLimit | query | لا | number |
filterCriteria | query | لا | — |
search | query | لا | string |
include_virtual | query | لا | boolean |
appliedQuickFilters | query | لا | array of string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | EntrySummaryResponse model instance |
GET /v1/entities/{entity}/relation
Section titled “GET /v1/entities/{entity}/relation”find
— Get all relations for specific entity
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
filter | query | لا | — |
الاستجابات
| الحالة | الوصف |
|---|---|
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
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
جسم الطلب: NewDataRelation
الاستجابات
| الحالة | الوصف |
|---|---|
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
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
id | path | نعم | string |
الاستجابات
| الحالة | الوصف |
|---|---|
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
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
id | path | نعم | string |
filter | query | لا | — |
الاستجابات
| الحالة | الوصف |
|---|---|
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
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
id | path | نعم | string |
جسم الطلب: DataRelationPartialExcluding_id_
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataRelation PATCH success |
GET /v1/entities/{entity}/relation/count
Section titled “GET /v1/entities/{entity}/relation/count”count
— Count relations for specific entity
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
where | query | لا | — |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataRelation model count. |
POST /v1/entities/joiner/relations
Section titled “POST /v1/entities/joiner/relations”findEntitiesRelations
— Get data entities relations
جسم الطلب: findEntitiesRelations
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of DataRelationDto model instances |
GET /v1/relations
Section titled “GET /v1/relations”findAll
— List all relations in the system
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
filter | query | لا | — |
includeImplicit | query | لا | boolean |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of DataRelation model instances |
GET /v1/relations/{id}
Section titled “GET /v1/relations/{id}”findOneById
— Get a single relation by ID
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
id | path | نعم | string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataRelation model instance |
GET /v1/relations/count
Section titled “GET /v1/relations/count”countAll
— Count all relations in the system
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
where | query | لا | — |
includeImplicit | query | لا | boolean |
الاستجابات
| الحالة | الوصف |
|---|---|
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
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
entryId | path | نعم | string |
relationId | path | نعم | string |
filterCriteria | query | لا | — |
search | query | لا | string |
include_virtual | query | لا | boolean |
الاستجابات
| الحالة | الوصف |
|---|---|
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
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
entryId | path | نعم | string |
relationId | path | نعم | string |
whereCriteria | query | لا | — |
search | query | لا | string |
include_virtual | query | لا | boolean |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataRelation model count. |
GET /v2/entities/{entity}/relation
Section titled “GET /v2/entities/{entity}/relation”findV2
— Get all relations for specific entity
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataRelationListDto model instance |
GET /v2/entities/{entity}/relation/count
Section titled “GET /v2/entities/{entity}/relation/count”countV2
— Count relations for specific entity
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
الاستجابات
| الحالة | الوصف |
|---|---|
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
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
entryId | path | نعم | string |
relationId | path | نعم | string |
filterCriteria | query | لا | — |
search | query | لا | string |
include_virtual | query | لا | boolean |
appliedQuickFilters | query | لا | array of string |
appliedTagsFilters | query | لا | array of string |
groupBy | query | لا | array of string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataEntriesResponseV3 model instance |
المنصّة 1.10.0 · الواجهة الخلفية 1.11.0-alpha.11 · واجهة الويب 1.11.0-alpha.6 · الجوّال 1.10.2 · المخطّط 1.11.8 · البوّابة 2.6.11 · خادم MCP 0.2.0 · مصدر بيانات Grafana 1.2.0بناء التوثيق 2026-11-27