DataViews — data-service
Section titled “DataViews — data-service”كل استجابة أدناه تصل داخل الغلاف الموحَّد {success, result}؛ وتتجاوزه التنزيلات والتدفّقات بنيويًّا. راجع استدعاء واجهة HTTP API.
اللقطة:
data-service.json· data-service 1.11.0 · 38 عملية
GET /v1/entities/{entity}/default-view
Section titled “GET /v1/entities/{entity}/default-view”findDefaultView
— Get default view thats belongs to a specific entity
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataViews model instance |
GET /v1/entities/{entity}/entries/{entry}/view
Section titled “GET /v1/entities/{entity}/entries/{entry}/view”getAViewForEndUser
— List entries that belongs to a specific public view
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
entry | path | نعم | string |
notificationId | query | لا | string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | EntryViewModel model instance |
GET /v1/entities/{entity}/views
Section titled “GET /v1/entities/{entity}/views”find
— List views for specific entity
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
filter | query | لا | — |
includeImplicit | query | لا | boolean |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of DataViews model instances |
POST /v1/entities/{entity}/views
Section titled “POST /v1/entities/{entity}/views”create
— Create views for specific entity
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
جسم الطلب: NewDataViews
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataViews model instance |
DELETE /v1/entities/{entity}/views/{id}
Section titled “DELETE /v1/entities/{entity}/views/{id}”deleteById
— Delete specific view that belongs to an entity
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
id | path | نعم | string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataViewsPermissionsDto DELETE success |
GET /v1/entities/{entity}/views/{id}
Section titled “GET /v1/entities/{entity}/views/{id}”findById
— Get view by entity id
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
id | path | نعم | string |
filter | query | لا | — |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataViewsPermissionsDto model instance |
PATCH /v1/entities/{entity}/views/{id}
Section titled “PATCH /v1/entities/{entity}/views/{id}”updateById
— Update specific view that belongs to an entity
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
id | path | نعم | string |
clearIcon | query | لا | boolean |
جسم الطلب: DataViewsPermissionsDtoPartialExcluding_id-module-isImplicit-creationInfo-updateInfo_
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataViewsPermissionsDto PATCH success |
GET /v1/entities/{entity}/views/{id}/entries
Section titled “GET /v1/entities/{entity}/views/{id}/entries”findEntries
— List entries that belongs to a specific view
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
id | path | نعم | string |
filter | query | لا | — |
filterFirst | query | لا | — |
include_virtual | query | لا | boolean |
appliedQuickFilters | query | لا | array of string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of DataEntry model instances |
GET /v1/entities/{entity}/views/{id}/entries/count
Section titled “GET /v1/entities/{entity}/views/{id}/entries/count”entriesCount
— Count of entries that belongs to a specific view
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
id | path | نعم | string |
where | query | لا | — |
filterFirst | query | لا | — |
include_virtual | query | لا | boolean |
appliedQuickFilters | query | لا | array of string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataEntry model count. |
GET /v1/entities/{entity}/views/{id}/entries/export/xlsx
Section titled “GET /v1/entities/{entity}/views/{id}/entries/export/xlsx”exportEntries
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
id | path | نعم | string |
fileName | query | لا | string |
filter | query | لا | — |
filterFirst | query | لا | — |
include_virtual | query | لا | boolean |
selectedColumns | query | لا | array of string |
collectionId | query | لا | string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | The file content |
GET /v1/entities/{entity}/views/{id}/entries/summary Since 1.10
Section titled “GET /v1/entities/{entity}/views/{id}/entries/summary Since 1.10”entriesSummary
— Aggregate totals, and group headers with subtotals, over the entries of a specific view
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
id | path | نعم | string |
aggregates | query | لا | array of string |
groupBy | query | لا | array of string |
groupSkip | query | لا | number |
groupLimit | query | لا | number |
filterCriteria | query | لا | — |
search | query | لا | string |
filterFirst | query | لا | — |
include_virtual | query | لا | boolean |
collectionId | query | لا | string |
appliedQuickFilters | query | لا | array of string |
parameters | query | لا | — |
quickFilterParameters | query | لا | — |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | EntrySummaryResponse model instance |
PATCH /v1/entities/{entity}/views/{id}/permissions
Section titled “PATCH /v1/entities/{entity}/views/{id}/permissions”updatePermissionsById
— Update specific view permissions that belongs to an entity
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
id | path | نعم | string |
جسم الطلب: UpdateDataViewPermissions
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataViewsPermissionsDto PATCH success |
GET /v1/entities/{entity}/views/{id}/relation/{relationId}
Section titled “GET /v1/entities/{entity}/views/{id}/relation/{relationId}”findRelationViewById
— Get view by entity id
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
id | path | نعم | string |
relationId | path | نعم | string |
relatedEntryId | query | لا | string |
mainViewId | query | لا | string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataViews model instance |
GET /v1/entities/{entity}/views/count
Section titled “GET /v1/entities/{entity}/views/count”count
— Count views for specific entity
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
where | query | لا | — |
includeImplicit | query | لا | boolean |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataViews model count. |
GET /v1/views
Section titled “GET /v1/views”findAll
— List all views in the system
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
filter | query | لا | — |
includeImplicit | query | لا | boolean |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of DataViews model instances |
DELETE /v1/views/{id}/entries
Section titled “DELETE /v1/views/{id}/entries”archiveEntriesForView
— Archive multiple data entries that belong to a view
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
id | path | نعم | string |
جسم الطلب: ArchiveDataEntryDtoModel
الاستجابات
| الحالة | الوصف |
|---|---|
200 | AfterSaveEntryDto model instance |
POST /v1/views/{id}/entries
Section titled “POST /v1/views/{id}/entries”createEntry
— Create a new data entry
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
id | path | نعم | string |
جسم الطلب: NewDataEntry
الاستجابات
| الحالة | الوصف |
|---|---|
200 | AfterSaveEntryDto model instance |
DELETE /v1/views/{id}/entries/{entryId}
Section titled “DELETE /v1/views/{id}/entries/{entryId}”archiveEntryForView
— Archive a single data entry using a view
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
id | path | نعم | string |
entryId | path | نعم | string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | AfterSaveEntryDto model instance |
PATCH /v1/views/{id}/entries/{entryId}
Section titled “PATCH /v1/views/{id}/entries/{entryId}”patchEntry
— Patch a data entry using a view
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
id | path | نعم | string |
entryId | path | نعم | string |
جسم الطلب: array of PatchDataEntryDtoV3
الاستجابات
| الحالة | الوصف |
|---|---|
200 | AfterSaveEntryDto model instance |
PUT /v1/views/{id}/entries/{entryId}
Section titled “PUT /v1/views/{id}/entries/{entryId}”updateEntry
— Update a data entry using a view
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
id | path | نعم | string |
entryId | path | نعم | string |
جسم الطلب: UpdateDataEntry
الاستجابات
| الحالة | الوصف |
|---|---|
200 | AfterSaveEntryDto model instance |
GET /v1/views/{id}/entries/{entryId}/after-save/{operation}
Section titled “GET /v1/views/{id}/entries/{entryId}/after-save/{operation}”getAfterSaveDto
— Get the after save dto for an entry
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
id | path | نعم | string |
entryId | path | نعم | string |
operation | path | نعم | number |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | AfterSaveEntryDto model instance |
DELETE /v1/views/{id}/entries/{entryId}/draft
Section titled “DELETE /v1/views/{id}/entries/{entryId}/draft”deleteDraftEntry
— Delete a single draft entry that belongs to the current user and entity
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
id | path | نعم | string |
entryId | path | نعم | string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | AfterSaveEntryDto model instance |
POST /v1/views/{id}/entries/draft
Section titled “POST /v1/views/{id}/entries/draft”upsertDraftEntry
— Create or update a draft entry
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
id | path | نعم | string |
جسم الطلب: NewDataEntry
الاستجابات
| الحالة | الوصف |
|---|---|
200 | AfterSaveEntryDto model instance |
GET /v1/views/{moduleId}
Section titled “GET /v1/views/{moduleId}”findViewsInModule
— List views related to specific module.
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
moduleId | path | نعم | string |
filter | query | لا | — |
includeImplicit | query | لا | boolean |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of DataViews model instances |
GET /v1/views/{moduleId}/count
Section titled “GET /v1/views/{moduleId}/count”findViewsInModuleCount
— List views related to specific module.
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
moduleId | path | نعم | string |
where | query | لا | — |
includeImplicit | query | لا | boolean |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataViews model count. |
GET /v1/views/admin
Section titled “GET /v1/views/admin”getViewsForAdmin
— List views for admin with entity and module info
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
filter | query | لا | — |
includeImplicit | query | لا | boolean |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of DataViewForAdminDto model instances |
GET /v1/views/admin/count
Section titled “GET /v1/views/admin/count”countAllForAdmin
— Count all views in the system
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
where | query | لا | — |
includeImplicit | query | لا | boolean |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataViews model count. |
GET /v1/views/count
Section titled “GET /v1/views/count”countAll
— Count all views in the system
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
where | query | لا | — |
includeImplicit | query | لا | boolean |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataViews model count. |
GET /v1/views/end-user/{id}
Section titled “GET /v1/views/end-user/{id}”findViewForEndUser
— Find view by id without entity. This is used for end user to get the view info
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
id | path | نعم | string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataViews model instance |
GET /v1/views/end-user/{id}/permissions
Section titled “GET /v1/views/end-user/{id}/permissions”findViewPermissionsForEndUser
— Find view permissions by id without entity.
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
id | path | نعم | string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | EndUserViewsPermissionsDto model instance |
GET /v1/views/end-user/can-access/{id}
Section titled “GET /v1/views/end-user/can-access/{id}”canUserAccessView
— returns whether the user can access this view or not
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
id | path | نعم | string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | the result will be true if the user can access the view false otherwise |
GET /v1/views/end-user/modules
Section titled “GET /v1/views/end-user/modules”findModulesForEndUser
— List the modules holding views the current user can open, each with those views
الاستجابات
| الحالة | الوصف |
|---|---|
200 | LiteModuleWithViews model instances |
GET /v2/entities/{entity}/views/{id}/entries
Section titled “GET /v2/entities/{entity}/views/{id}/entries”findEntriesV2
— List entries that belongs to a specific view
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
id | path | نعم | string |
filterCriteria | query | لا | — |
search | query | لا | string |
filterFirst | query | لا | — |
include_virtual | query | لا | boolean |
appliedQuickFilters | query | لا | array of string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of DataEntry model instances |
GET /v2/entities/{entity}/views/{id}/entries/count
Section titled “GET /v2/entities/{entity}/views/{id}/entries/count”entriesCountV2
— Count of entries that belongs to a specific view
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
id | path | نعم | string |
whereCriteria | query | لا | — |
search | query | لا | string |
filterFirst | query | لا | — |
include_virtual | query | لا | boolean |
appliedQuickFilters | query | لا | array of string |
parameters | query | لا | — |
quickFilterParameters | query | لا | — |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataEntry model count. |
GET /v2/views/{id}
Section titled “GET /v2/views/{id}”findByViewId
— Get view by id
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
id | path | نعم | string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataViewsPermissionsDto model instance |
GET /v2/views/end-user/{id}
Section titled “GET /v2/views/end-user/{id}”findViewForEndUserWithRedirect
— Find view with redirection rules without entity. This is used for end user to get the view info
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
id | path | نعم | string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | EndUserViewDto model instance |
GET /v2/views/module/{moduleId}
Section titled “GET /v2/views/module/{moduleId}”findViewsInModuleByModuleId
— List views related to specific module.
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
moduleId | path | نعم | string |
filter | query | لا | — |
includeImplicit | query | لا | boolean |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of DataViews model instances |
GET /v3/entities/{entity}/views/{id}/entries
Section titled “GET /v3/entities/{entity}/views/{id}/entries”findEntriesV3
— List entries that belongs to a specific view with applied tags
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
id | path | نعم | string |
filterCriteria | query | لا | — |
search | query | لا | string |
filterFirst | query | لا | — |
include_virtual | query | لا | boolean |
appliedQuickFilters | query | لا | array of string |
appliedTagsFilters | query | لا | array of string |
parameters | query | لا | — |
groupBy | query | لا | array of string |
quickFilterParameters | query | لا | — |
الاستجابات
| الحالة | الوصف |
|---|---|
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-28