ReportEntry — data-service
Section titled “ReportEntry — data-service”كل استجابة أدناه تصل داخل الغلاف الموحَّد {success, result}؛ وتتجاوزه التنزيلات والتدفّقات بنيويًّا. راجع استدعاء واجهة HTTP API.
اللقطة:
data-service.json· data-service 1.11.0 · 12 عملية
GET /v1/reports
Section titled “GET /v1/reports”find
— Get all reports defined in the system
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
filter | query | لا | — |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of ReportEntry model instances |
POST /v1/reports
Section titled “POST /v1/reports”create
— Create a new report
جسم الطلب: NewReportEntry
الاستجابات
| الحالة | الوصف |
|---|---|
200 | ReportEntryDto model instance |
DELETE /v1/reports/{id}
Section titled “DELETE /v1/reports/{id}”deleteById
— Delete report with id
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
id | path | نعم | string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | ReportEntry DELETE success |
GET /v1/reports/{id}
Section titled “GET /v1/reports/{id}”findById
— Get report by id
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
id | path | نعم | string |
filter | query | لا | — |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | ReportEntryDto model instance |
PATCH /v1/reports/{id}
Section titled “PATCH /v1/reports/{id}”updateById
— Update report entry by id
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
id | path | نعم | string |
جسم الطلب: ReportEntryUpdateById
الاستجابات
| الحالة | الوصف |
|---|---|
200 | ReportEntry PATCH success |
GET /v1/reports/{id}/entries
Section titled “GET /v1/reports/{id}/entries”executeReport
— Execute Report and returns the result as DataEntry[]
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
id | path | نعم | string |
filter | query | لا | — |
include_virtual | query | لا | boolean |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of ReportEntry model instances |
GET /v1/reports/{id}/entries/count
Section titled “GET /v1/reports/{id}/entries/count”executeReportCount
— Get records count for the report execution
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
id | path | نعم | string |
where | query | لا | — |
include_virtual | query | لا | boolean |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | ReportEntryDto model count. |
PATCH /v1/reports/{id}/permissions
Section titled “PATCH /v1/reports/{id}/permissions”updatePermissionsById
— Update report entry by id
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
id | path | نعم | string |
جسم الطلب: UpdateReportEntryPermissions
الاستجابات
| الحالة | الوصف |
|---|---|
200 | ReportEntry PATCH success |
GET /v1/reports/count
Section titled “GET /v1/reports/count”count
— Get report entry count
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
where | query | لا | — |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | ReportEntryDto model count. |
GET /v2/reports/{id}/entries
Section titled “GET /v2/reports/{id}/entries”executeReportV2
— Execute Report and returns the result as DataEntry[]
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
id | path | نعم | string |
filterCriteria | query | لا | — |
include_virtual | query | لا | boolean |
search | query | لا | string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of ReportEntry model instances |
GET /v2/reports/{id}/entries/count
Section titled “GET /v2/reports/{id}/entries/count”executeReportCountV2
— Get records count for the report execution
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
id | path | نعم | string |
whereCriteria | query | لا | — |
search | query | لا | string |
include_virtual | query | لا | boolean |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | ReportEntryDto model count. |
GET /v2/reports/{id}/export/{format}
Section titled “GET /v2/reports/{id}/export/{format}”exportReportV2
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
id | path | نعم | string |
format | path | نعم | string |
filterCriteria | query | لا | — |
search | query | لا | string |
include_virtual | query | لا | boolean |
selectedColumns | query | لا | array of string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | The file content |
المنصّة 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