Access — data-service
Section titled “Access — data-service”كل استجابة أدناه تصل داخل الغلاف الموحَّد {success, result}؛ وتتجاوزه التنزيلات والتدفّقات بنيويًّا. راجع استدعاء واجهة HTTP API.
اللقطة:
data-service.json· data-service 1.11.0 · 18 عملية
GET /v1/access-object/{id}
Section titled “GET /v1/access-object/{id}”findAccessObjectById
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
id | path | نعم | string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Return value of AccessController.findAccessObjectById |
GET /v1/access-object/can-access/{id}
Section titled “GET /v1/access-object/can-access/{id}”canAccessObject
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
id | path | نعم | string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Return value of AccessController.canAccessObject |
GET /v1/permissions/{entitlementType}/{entitledEntityType}
Section titled “GET /v1/permissions/{entitlementType}/{entitledEntityType}”getPermissions
— List users/groups with system, module, entity and view permissions
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entitlementType | path | نعم | string |
entitledEntityType | path | نعم | string |
entitlementId | query | لا | string |
filter | query | لا | — |
include_virtual | query | لا | boolean |
only_none_permission | query | لا | boolean |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of UserDto model instances |
GET /v1/permissions/{entitlementType}/{entitledEntityType}/count
Section titled “GET /v1/permissions/{entitlementType}/{entitledEntityType}/count”getPermissionsCount
— Get permission count
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entitlementType | path | نعم | string |
entitledEntityType | path | نعم | string |
entitlementId | query | لا | string |
where | query | لا | — |
include_virtual | query | لا | boolean |
only_none_permission | query | لا | boolean |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataEntry model count. |
PUT /v1/permissions/{entitlementType}/{entitlementId}/{entitledEntityType}/{entitledEntityId}
Section titled “PUT /v1/permissions/{entitlementType}/{entitlementId}/{entitledEntityType}/{entitledEntityId}”updateAccessPermission
— Update/revoke a access permissions that belongs to the user/group
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entitlementType | path | نعم | string |
entitlementId | path | نعم | string |
entitledEntityType | path | نعم | string |
entitledEntityId | path | نعم | string |
جسم الطلب: UpsertPermission
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataEntry PUT success |
PUT /v1/permissions/{systemObjectId}/{entitledEntityType}/{entitledEntityId}
Section titled “PUT /v1/permissions/{systemObjectId}/{entitledEntityType}/{entitledEntityId}”updateAccessPermissionBySystemObjectId
— Update/revoke a access permissions that belongs to the user/group
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
systemObjectId | path | نعم | string |
entitledEntityType | path | نعم | string |
entitledEntityId | path | نعم | string |
جسم الطلب: UpsertPermission
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataEntry PUT success |
GET /v1/permissions/anonymous
Section titled “GET /v1/permissions/anonymous”getAnonymousUserPermissionsDto
— Get all permissions for the user
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
filter | query | لا | — |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of UserPermissionsDto model instances |
GET /v1/permissions/current_user
Section titled “GET /v1/permissions/current_user”getUserPermissions
— Get all permissions for the current user
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of UserDto model instances |
GET /v1/permissions/group/{groupId}
Section titled “GET /v1/permissions/group/{groupId}”getPermissionsDtoByGroupId
— Get all permissions for the user
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
groupId | path | نعم | string |
filter | query | لا | — |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of UserPermissionsDto model instances |
GET /v1/permissions/group/{groupId}/admin
Section titled “GET /v1/permissions/group/{groupId}/admin”getAdminPermissionsDtoByGroupId
— Get all admin permissions for the user
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
groupId | path | نعم | string |
filter | query | لا | — |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of UserPermissionsDto model instances |
GET /v1/permissions/list/{entitledEntityType}
Section titled “GET /v1/permissions/list/{entitledEntityType}”getSystemPermissions
— List all users/groups in the system with permissions
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entitledEntityType | path | نعم | string |
moduleId | query | لا | string |
filter | query | لا | — |
include_virtual | query | لا | boolean |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of UserDto model instances |
GET /v1/permissions/list/{entitledEntityType}/count
Section titled “GET /v1/permissions/list/{entitledEntityType}/count”systemCount
— Get permissions count
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
entitledEntityType | path | نعم | string |
moduleId | query | لا | string |
where | query | لا | — |
include_virtual | query | لا | boolean |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataEntry model count. |
GET /v1/permissions/system-object/{systemObjectId}
Section titled “GET /v1/permissions/system-object/{systemObjectId}”getObjectPermissionsDtoBySystemObjectId
— Get all permissions for the system object
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
systemObjectId | path | نعم | string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of ObjectPermissionsDto model instances |
GET /v1/permissions/user/{userId}
Section titled “GET /v1/permissions/user/{userId}”getPermissionsDtoByUserId
— Get all permissions for the user
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
userId | path | نعم | string |
filter | query | لا | — |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of UserPermissionsDto model instances |
GET /v1/permissions/user/{userId}/admin
Section titled “GET /v1/permissions/user/{userId}/admin”getAdminPermissionsDtoByUserId
— Get all admin permissions for the user
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
userId | path | نعم | string |
filter | query | لا | — |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of UserPermissionsDto model instances |
GET /v1/permissions/user/{userId}/admin/count
Section titled “GET /v1/permissions/user/{userId}/admin/count”getAdminPermissionsDtoCountByUserId
— Get count of admin permissions for the user
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
userId | path | نعم | string |
where | query | لا | — |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataEntry model count. |
GET /v1/permissions/user/{userId}/count
Section titled “GET /v1/permissions/user/{userId}/count”getPermissionsDtoCountByUserId
— Get count of permissions for the user
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
userId | path | نعم | string |
where | query | لا | — |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | DataEntry model count. |
GET /v2/access-object/{id}
Section titled “GET /v2/access-object/{id}”findAccessObjectByIdV2
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
id | path | نعم | string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Return value of AccessController.findAccessObjectByIdV2 |
المنصّة 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