DataCollections — data-service
Section titled “DataCollections — data-service”كل استجابة أدناه تصل داخل الغلاف الموحَّد {success, result}؛ وتتجاوزه التنزيلات والتدفّقات بنيويًّا. راجع استدعاء واجهة HTTP API.
اللقطة:
data-service.json· data-service 1.11.0 · 21 عملية
GET /v1/collections
Section titled “GET /v1/collections”findAll
— Get all collections
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
filter | query | لا | — |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of DataCollections model instances |
GET /v1/collections/{id}
Section titled “GET /v1/collections/{id}”findByIdWithoutEntity
— Get all collections
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
id | path | نعم | string |
filter | query | لا | — |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of DataCollections model instances |
GET /v1/collections/count
Section titled “GET /v1/collections/count”countAll
— Get collections count
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
where | query | لا | — |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataCollections model count. |
GET /v1/collections/my
Section titled “GET /v1/collections/my”findMyCollections
— List all user collections in a specific view or in all views
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
filter | query | لا | — |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of DataCollections model instances |
GET /v1/collections/shared
Section titled “GET /v1/collections/shared”findSharedCollections
— List all user shared collections in a specific view or in all views
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
filter | query | لا | — |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of DataCollections model instances |
GET /v1/entities/{entity}/collections
Section titled “GET /v1/entities/{entity}/collections”find
— Get all entity collections
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
filter | query | لا | — |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of DataCollections model instances |
POST /v1/entities/{entity}/collections
Section titled “POST /v1/entities/{entity}/collections”create
— Create new data collection
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
جسم الطلب: NewDataCollections
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataCollections model instance |
DELETE /v1/entities/{entity}/collections/{id}
Section titled “DELETE /v1/entities/{entity}/collections/{id}”deleteById
— Delete specific entity collection
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
id | path | نعم | string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataCollections DELETE success |
GET /v1/entities/{entity}/collections/{id}
Section titled “GET /v1/entities/{entity}/collections/{id}”findById
— Get specific entity collection
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
id | path | نعم | string |
filter | query | لا | — |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataCollectionsPermissionsDto model instance |
PATCH /v1/entities/{entity}/collections/{id}
Section titled “PATCH /v1/entities/{entity}/collections/{id}”updateById
— Update specific entity collection
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
id | path | نعم | string |
جسم الطلب: DataCollectionsPartialExcluding_id-updateInfo-creationInfo-isImplicit-relatedTo-module_
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataCollections PATCH success |
PUT /v1/entities/{entity}/collections/{id}
Section titled “PUT /v1/entities/{entity}/collections/{id}”replaceById
— Update specific entity collection
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
id | path | نعم | string |
جسم الطلب: ReplaceDataCollections
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataCollections PUT success |
POST /v1/entities/{entity}/collections/{id}/duplicate
Section titled “POST /v1/entities/{entity}/collections/{id}/duplicate”duplicate
— Duplicate data collection
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
id | path | نعم | string |
جسم الطلب: DuplicatedDataCollections
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataCollections model instance |
GET /v1/entities/{entity}/collections/{id}/entries
Section titled “GET /v1/entities/{entity}/collections/{id}/entries”findEntries
— Get specific entity collection
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
id | path | نعم | string |
filter | query | لا | — |
include_virtual | query | لا | boolean |
appliedQuickFilters | query | لا | array of string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of DataEntry model instances |
PATCH /v1/entities/{entity}/collections/{id}/entries
Section titled “PATCH /v1/entities/{entity}/collections/{id}/entries”updateCollectionItems
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
id | path | نعم | string |
جسم الطلب: array of object
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Update collection items |
GET /v1/entities/{entity}/collections/{id}/entries/count
Section titled “GET /v1/entities/{entity}/collections/{id}/entries/count”findEntriesCount
— Get specific entity collection count
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
id | path | نعم | string |
where | query | لا | — |
include_virtual | query | لا | boolean |
appliedQuickFilters | query | لا | array of string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataEntry model count. |
PATCH /v1/entities/{entity}/collections/{id}/share
Section titled “PATCH /v1/entities/{entity}/collections/{id}/share”share
— Share collection
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
id | path | نعم | string |
جسم الطلب: DataCollectionsShareModel
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataCollections PATCH success |
GET /v1/entities/{entity}/collections/count
Section titled “GET /v1/entities/{entity}/collections/count”count
— Count specific entity collections
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
where | query | لا | — |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataCollections model count. |
POST /v2/entities/{entity}/collections
Section titled “POST /v2/entities/{entity}/collections”createV2
— Create new data collection
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
جسم الطلب: NewDataCollectionsV2
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataCollections model instance |
GET /v2/entities/{entity}/collections/{id}/entries
Section titled “GET /v2/entities/{entity}/collections/{id}/entries”findEntriesV2
— Get specific entity collection with applied tags
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
id | path | نعم | string |
filter | query | لا | — |
search | query | لا | string |
include_virtual | query | لا | boolean |
appliedQuickFilters | query | لا | array of string |
appliedTagsFilters | query | لا | array of string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataEntriesResponseV3 model instance |
PATCH /v2/entities/{entity}/collections/{id}/entries
Section titled “PATCH /v2/entities/{entity}/collections/{id}/entries”updateCollectionItemsV2
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
id | path | نعم | string |
جسم الطلب: PatchDataCollectionItemsDto
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Set or unset collection items with select all ability |
GET /v2/entities/{entity}/collections/{id}/entries/count
Section titled “GET /v2/entities/{entity}/collections/{id}/entries/count”findEntriesCountV2
— Get specific entity collection count
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entity | path | نعم | string |
id | path | نعم | string |
where | query | لا | — |
search | query | لا | string |
include_virtual | query | لا | boolean |
appliedQuickFilters | query | لا | array of string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataEntry 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-28