User — data-service
Section titled “User — data-service”كل استجابة أدناه تصل داخل الغلاف الموحَّد {success, result}؛ وتتجاوزه التنزيلات والتدفّقات بنيويًّا. راجع استدعاء واجهة HTTP API.
اللقطة:
data-service.json· data-service 1.11.0 · 11 عملية
POST /v1/users/{userId}/activate
Section titled “POST /v1/users/{userId}/activate”activateUser
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
userId | path | نعم | string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Return value of UserController.activateUser |
POST /v1/users/{userId}/deactivate
Section titled “POST /v1/users/{userId}/deactivate”deactivateUser
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
userId | path | نعم | string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Return value of UserController.deactivateUser |
POST /v1/users/{userId}/regenerate-app-token
Section titled “POST /v1/users/{userId}/regenerate-app-token”regenerateAppToken
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
userId | path | نعم | string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Return value of UserController.regenerateAppToken |
POST /v1/users/{userId}/reset-password
Section titled “POST /v1/users/{userId}/reset-password”resetUserPasswordBySystem
المعاملات
| الاسم | الموضع | مطلوب | النوع |
|---|---|---|---|
userId | path | نعم | string |
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Return value of UserController.resetUserPasswordBySystem |
GET /v1/users/direct-manager
Section titled “GET /v1/users/direct-manager”getUserDirectManager
— Get current user direct manager
الاستجابات
| الحالة | الوصف |
|---|---|
200 | UserOrgUnitDto model instance |
GET /v1/users/my-groups
Section titled “GET /v1/users/my-groups”getMyGroups
— Get user profile info
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of DataEntry model instances |
GET /v1/users/my-orgunit
Section titled “GET /v1/users/my-orgunit”getUserOrgUnitUsers
— Returns the list of users inside the org unit of current person related to the signed in user and the parent org unit and all children org units
الاستجابات
| الحالة | الوصف |
|---|---|
200 | Array of DataEntry model instances |
GET /v1/users/profile
Section titled “GET /v1/users/profile”getUserProfile
— Get user profile info
الاستجابات
| الحالة | الوصف |
|---|---|
200 | UserProfileDto model instance |
GET /v1/users/state
Section titled “GET /v1/users/state”getUserState
— return the current user state. If a state doesn’t exist for current user, create one with default options and return the newly created state
الاستجابات
| الحالة | الوصف |
|---|---|
200 | UserStateDataEntryValue model instance |
PUT /v1/users/state
Section titled “PUT /v1/users/state”updateUserState
— return the current user state. If a state doesn’t exist for current user, create one with default options and return the newly created state
جسم الطلب: UserStateDataEntryValueExcluding_user-firstLogin_
الاستجابات
| الحالة | الوصف |
|---|---|
200 | UserStateDataEntryValue model instance |
PUT /v1/users/state/reset
Section titled “PUT /v1/users/state/reset”resetUserState
— Reset the current user state
الاستجابات
| الحالة | الوصف |
|---|---|
200 | UserStateDataEntryValue model instance |
المنصّة 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