DataEntityFields — data-service
Section titled “DataEntityFields — data-service”كل استجابة أدناه تصل داخل الغلاف الموحَّد {success, result}؛ وتتجاوزه التنزيلات والتدفّقات بنيويًّا. راجع استدعاء واجهة HTTP API.
اللقطة:
data-service.json· data-service 1.11.0 · 7 عملية
GET /v1/entities/{entity}/fields
Section titled “GET /v1/entities/{entity}/fields”find
— Get all fields of specific entity
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
filter | query | لا | — |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of DataEntityField model instances |
POST /v1/entities/{entity}/fields
Section titled “POST /v1/entities/{entity}/fields”create
— Add field to specific entity
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
جسم الطلب: NewDataViewFields
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataEntityField model instance |
DELETE /v1/entities/{entity}/fields/{fieldId}
Section titled “DELETE /v1/entities/{entity}/fields/{fieldId}”deleteById
— Delete single field of specific entity
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
fieldId | path | نعم | string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataEntityField DELETE success |
GET /v1/entities/{entity}/fields/{fieldId}
Section titled “GET /v1/entities/{entity}/fields/{fieldId}”findById
— Get single field of specific entity
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
fieldId | path | نعم | string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataEntityField model instance |
PATCH /v1/entities/{entity}/fields/{fieldId}
Section titled “PATCH /v1/entities/{entity}/fields/{fieldId}”updateById
— Update single field of specific entity
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
fieldId | path | نعم | string |
updateIdentifier | query | لا | string |
جسم الطلب: DataEntityFieldPartialExcluding_id_
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataEntityField PATCH success |
GET /v1/entities/{entity}/fields/count
Section titled “GET /v1/entities/{entity}/fields/count”count
— Get total fields of specific entity
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataEntityField model count. |
GET /v1/entities/fields/system
Section titled “GET /v1/entities/fields/system”findSystemFields
— Get all system fields
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of DataEntityField model instances |
المنصّة 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