DataQuery — data-service
Section titled “DataQuery — data-service”كل استجابة أدناه تصل داخل الغلاف الموحَّد {success, result}؛ وتتجاوزه التنزيلات والتدفّقات بنيويًّا. راجع استدعاء واجهة HTTP API.
اللقطة:
data-service.json· data-service 1.11.0 · 10 عملية
GET /v1/entities/{entity}/queries
Section titled “GET /v1/entities/{entity}/queries”find
— List all queries for specific entity
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
filter | query | لا | — |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of DataQueryWithTagDto model instances |
POST /v1/entities/{entity}/queries
Section titled “POST /v1/entities/{entity}/queries”create
— Create new query for specific entity
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
جسم الطلب: NewDataQueries
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataQueryWithTagDto model instance |
DELETE /v1/entities/{entity}/queries/{id}
Section titled “DELETE /v1/entities/{entity}/queries/{id}”deleteById
— Delete query by id
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
id | path | نعم | string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataQuery DELETE success |
GET /v1/entities/{entity}/queries/{id}
Section titled “GET /v1/entities/{entity}/queries/{id}”findById
— Get query by id
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
id | path | نعم | string |
filter | query | لا | — |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataQueryWithTagDto model instance |
PATCH /v1/entities/{entity}/queries/{id}
Section titled “PATCH /v1/entities/{entity}/queries/{id}”updateById
— Update query by id
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
id | path | نعم | string |
جسم الطلب: DataQueryWithTagDtoPartialExcluding_id-relatedTo-creationInfo-updateInfo_
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataQueryWithTagDto model instance |
GET /v1/entities/{entity}/queries/count
Section titled “GET /v1/entities/{entity}/queries/count”count
— Count all queries for specific entity
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
where | query | لا | — |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataQuery model count. |
GET /v1/queries
Section titled “GET /v1/queries”findAll
— List all queries in the system
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
filter | query | لا | — |
includeImplicit | query | لا | boolean |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of DataQueryWithTagDto model instances |
GET /v1/queries/count
Section titled “GET /v1/queries/count”countAll
— Count all queries in the system
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
where | query | لا | — |
includeImplicit | query | لا | boolean |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataQuery model count. |
GET /v1/queries/my
Section titled “GET /v1/queries/my”findMyQueries
— List all queries for current user in a view or in all views
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
filter | query | لا | — |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of MyQueryDto model instances |
POST /v1/queries/parser
Section titled “POST /v1/queries/parser”criteriaParser
جسم الطلب: filterExpressionCriteria
الاستجابات
| الحالة | الوصف |
|---|---|
200 | renderedCriteria |
المنصّة 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