DataEntityBlocks — data-service
Section titled “DataEntityBlocks — data-service”كل استجابة أدناه تصل داخل الغلاف الموحَّد {success, result}؛ وتتجاوزه التنزيلات والتدفّقات بنيويًّا. راجع استدعاء واجهة HTTP API.
اللقطة:
data-service.json· data-service 1.11.0 · 6 عملية
GET /v1/entities/{entity}/blocks
Section titled “GET /v1/entities/{entity}/blocks”find
— Get all blocks for specific entity
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
filter | query | لا | — |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of InternalEntity model instances |
POST /v1/entities/{entity}/blocks
Section titled “POST /v1/entities/{entity}/blocks”create
— Create block for specific entity
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
جسم الطلب: NewInternalEntity
الاستجابات
| الحالة | الوصف |
|---|---|
200 | InternalEntity model instance |
DELETE /v1/entities/{entity}/blocks/{id}
Section titled “DELETE /v1/entities/{entity}/blocks/{id}”deleteById
— Delete block for specific entity
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
id | path | نعم | string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | InternalEntity DELETE success |
GET /v1/entities/{entity}/blocks/{id}
Section titled “GET /v1/entities/{entity}/blocks/{id}”findById
— Get block for specific entity
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
id | path | نعم | string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | InternalEntity model instance |
PATCH /v1/entities/{entity}/blocks/{id}
Section titled “PATCH /v1/entities/{entity}/blocks/{id}”updateById
— Update specific block in specific entity
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
id | path | نعم | string |
جسم الطلب: InternalEntityPartialExcluding_id_
الاستجابات
| الحالة | الوصف |
|---|---|
200 | InternalEntity PATCH success |
GET /v1/entities/{entity}/blocks/count
Section titled “GET /v1/entities/{entity}/blocks/count”count
— Count blocks for specific entity
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | InternalEntity model count. |
المنصّة 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