DataEntities — data-service
Section titled “DataEntities — data-service”كل استجابة أدناه تصل داخل الغلاف الموحَّد {success, result}؛ وتتجاوزه التنزيلات والتدفّقات بنيويًّا. راجع استدعاء واجهة HTTP API.
اللقطة:
data-service.json· data-service 1.11.0 · 20 عملية
GET /v1/entities
Section titled “GET /v1/entities”find
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
filter | query | لا | — |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Get a list of data entities |
POST /v1/entities
Section titled “POST /v1/entities”create
— Create a new data entity. isImplicit and implicitOptions are ignored for user callers: the entity is stored with isImplicit: false.
جسم الطلب: NewDataEntity
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataEntity model instance |
GET /v1/entities/{entity}/breaking-changes/{version}
Section titled “GET /v1/entities/{entity}/breaking-changes/{version}”getEntityVersionChanges
— Get breaking changes for an entity
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
version | path | نعم | number |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of DataEntityVersionChanges model instances |
DELETE /v1/entities/{id}
Section titled “DELETE /v1/entities/{id}”deleteById
— Delete a data entity
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
id | path | نعم | string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataEntity DELETE success |
GET /v1/entities/{id}
Section titled “GET /v1/entities/{id}”findById
— Get a single data entity
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
id | path | نعم | string |
filter | query | لا | — |
includeMainTitleFields | query | لا | boolean |
includeMetaDataFields | query | لا | boolean |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataEntityDto model instance |
PATCH /v1/entities/{id}
Section titled “PATCH /v1/entities/{id}”updateById
— Update data entity by id. isImplicit and implicitOptions are ignored for user callers: the stored values are kept.
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
id | path | نعم | string |
جسم الطلب: UpdateDataEntity
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataEntity model instance |
PATCH /v1/entities/{id}/breaking-changes
Section titled “PATCH /v1/entities/{id}/breaking-changes”previewBreakingChanges
— Preview breaking changes for a data entity update
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
id | path | نعم | string |
جسم الطلب: UpdateDataEntity
الاستجابات
| الحالة | الوصف |
|---|---|
200 | BreakingChangesResultDto model instance |
GET /v1/entities/{id}/index-paths Since 1.10
Section titled “GET /v1/entities/{id}/index-paths Since 1.10”getIndexPaths
— List the paths a custom index on the entity may use
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
id | path | نعم | string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Pickable index paths of the entity |
POST /v1/entities/{id}/indexes/{indexId}/retry Since 1.10
Section titled “POST /v1/entities/{id}/indexes/{indexId}/retry Since 1.10”retryIndex
— Re-run the index sync for a custom index of an entity
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
id | path | نعم | string |
indexId | path | نعم | string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Index sync requested; the body is the standard envelope {success: true, result: null} |
PATCH /v1/entities/{id}/meta/permissions
Section titled “PATCH /v1/entities/{id}/meta/permissions”updateServicePermissionsById
— Update service permissions for a data entity
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
id | path | نعم | string |
جسم الطلب: UpdateServicePermissionsDto
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataEntity model instance |
PATCH /v1/entities/{id}/module
Section titled “PATCH /v1/entities/{id}/module”moveToModule
— Move a data entity to a different module
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
id | path | نعم | string |
force | query | لا | boolean |
جسم الطلب: object
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataEntity model instance |
DELETE /v1/entities/{id}/permanent Since 1.10
Section titled “DELETE /v1/entities/{id}/permanent Since 1.10”deleteEntityPermanently
— Permanently delete a data entity, its entries and everything it owns
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
id | path | نعم | string |
الاستجابات
| الحالة | الوصف |
|---|---|
204 | The entity and everything it owned were deleted |
GET /v1/entities/all
Section titled “GET /v1/entities/all”findAll
— List all entities in the system
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
filter | query | لا | — |
includeImplicit | query | لا | boolean |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of DataEntity model instances |
GET /v1/entities/all/count
Section titled “GET /v1/entities/all/count”countAll
— Count all entities in the system
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
where | query | لا | — |
includeImplicit | query | لا | boolean |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataEntity model count. |
GET /v1/entities/count
Section titled “GET /v1/entities/count”count
— Get count of data entities in the system
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
where | query | لا | — |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataEntity model count. |
POST /v1/entities/move Since 1.10
Section titled “POST /v1/entities/move Since 1.10”moveEntitiesToModule
— Move several data entities to one module, one at a time; each entity is reported as moved or failed
جسم الطلب: MoveEntitiesRequest
الاستجابات
| الحالة | الوصف |
|---|---|
200 | MoveEntitiesResult model instance |
POST /v1/entities/virtual
Section titled “POST /v1/entities/virtual”createVirtual
— Create a new virtual data entity
جسم الطلب: NewVirtualDataEntity
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataEntity model instance |
PUT /v1/entities/virtual/{id}
Section titled “PUT /v1/entities/virtual/{id}”updateVirtualEntityById
— Update data entity by id
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
id | path | نعم | string |
جسم الطلب: UpdateVirtualDataEntity
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataEntity model instance |
GET /v2/entities
Section titled “GET /v2/entities”findV2
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
filter | query | لا | — |
offset | query | لا | number |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Get a bounded page of data entities |
GET /v2/entities/{entity}/breaking-changes
Section titled “GET /v2/entities/{entity}/breaking-changes”getEntityVersionChangesV2
— Get breaking changes for multiple entity versions (v2)
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
versions | query | لا | array of string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of DataEntityVersionChanges 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-27