DataReaction — reaction-service
Section titled “DataReaction — reaction-service”كل استجابة أدناه تصل داخل الغلاف الموحَّد {success, result}؛ وتتجاوزه التنزيلات والتدفّقات بنيويًّا. راجع استدعاء واجهة HTTP API.
اللقطة:
reaction-service.json· reaction 0.51.5 · 12 عملية
GET /v1/reaction/{entity}
Section titled “GET /v1/reaction/{entity}”find
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
filter | query | لا | — |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of Reaction model instances, each with its execution and failure counts |
POST /v1/reaction/{entity}
Section titled “POST /v1/reaction/{entity}”create
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
جسم الطلب: NewDataReaction
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Create a new reaction |
DELETE /v1/reaction/{entity}/{id}
Section titled “DELETE /v1/reaction/{entity}/{id}”deleteById
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
id | path | نعم | string |
الاستجابات
| الحالة | الوصف |
|---|---|
204 | Reaction DELETE success |
GET /v1/reaction/{entity}/{id}
Section titled “GET /v1/reaction/{entity}/{id}”findById
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
id | path | نعم | string |
filter | query | لا | — |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Reaction model instance |
PATCH /v1/reaction/{entity}/{id}
Section titled “PATCH /v1/reaction/{entity}/{id}”updateById
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
id | path | نعم | string |
جسم الطلب: DataReactionPatch
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Reaction PATCH success |
GET /v1/reaction/{entity}/{id}/history Since 1.10
Section titled “GET /v1/reaction/{entity}/{id}/history Since 1.10”history
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
id | path | نعم | string |
outcome | query | لا | string |
from | query | لا | string |
to | query | لا | string |
before | query | لا | string |
limit | query | لا | number |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | A page of the reaction’s recorded runs, newest first |
GET /v1/reaction/{entity}/count
Section titled “GET /v1/reaction/{entity}/count”count
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
where | query | لا | — |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Reaction model count |
GET /v1/reactions
Section titled “GET /v1/reactions”findAll
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
filter | query | لا | — |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of all Reaction model instances |
GET /v1/reactions/{id}
Section titled “GET /v1/reactions/{id}”findOneById
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
id | path | نعم | string |
filter | query | لا | — |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Reaction model instance by ID |
GET /v1/reactions/count
Section titled “GET /v1/reactions/count”countAll
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
where | query | لا | — |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Count of all Reaction model instances |
GET /v1/reactions/custom-actions Since 1.8
Section titled “GET /v1/reactions/custom-actions Since 1.8”findCustomActionCandidates
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
moduleId | query | نعم | string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Custom actions callable from the given module via Execute Custom Action |
GET /v1/reactions/module/{moduleId} Since 1.8
Section titled “GET /v1/reactions/module/{moduleId} Since 1.8”findByModule
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
moduleId | path | نعم | string |
filter | query | لا | — |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of Reaction model instances defined on entities within the module |
المنصّة 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