Document Superadmin API for AI Skill Retrieval Profiles and Update Access Layer
Deploy Development / deploy (push) Successful in 38s
Test Suite / pytest-backend (push) Successful in 43s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 12s
Test Suite / k6 /health Baseline (push) Successful in 33s
Test Suite / playwright-tests (push) Has been cancelled
Deploy Development / deploy (push) Successful in 38s
Test Suite / pytest-backend (push) Successful in 43s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 12s
Test Suite / k6 /health Baseline (push) Successful in 33s
Test Suite / playwright-tests (push) Has been cancelled
- Added documentation for the new Superadmin CRUD endpoints for managing AI Skill Retrieval Profiles (`/api/admin/ai-skill-retrieval-profiles*`). - Updated the ACCESS_LAYER_ENDPOINT_AUDIT.md to include the new Superadmin API and its exempt status. - Registered the ai_skill_retrieval_admin router in the backend and updated versioning to reflect the changes. - Enhanced the frontend with a new Admin page for AI Skill Retrieval, including navigation and API integration for profile management.
This commit is contained in:
1 parent
294b09a5d9
commit
286c36e9d7
11 files changed
+871
-10
No files matched your search
@@ -361,6 +361,33 @@ export async function getAdminHierarchy() {
|
||||
return request('/api/admin/hierarchy')
|
||||
}
|
||||
|
||||
// Superadmin: KI Skill-Retrieval-Profile (Migration 068, exercise_ai)
|
||||
export async function listAiSkillRetrievalProfiles() {
|
||||
return request('/api/admin/ai-skill-retrieval-profiles')
|
||||
}
|
||||
|
||||
export async function getAiSkillRetrievalProfile(profileId) {
|
||||
return request(`/api/admin/ai-skill-retrieval-profiles/${profileId}`)
|
||||
}
|
||||
|
||||
export async function createAiSkillRetrievalProfile(data) {
|
||||
return request('/api/admin/ai-skill-retrieval-profiles', {
|
||||
method: 'POST',
|
||||
body: JSON.stringify(data),
|
||||
})
|
||||
}
|
||||
|
||||
export async function updateAiSkillRetrievalProfile(profileId, data) {
|
||||
return request(`/api/admin/ai-skill-retrieval-profiles/${profileId}`, {
|
||||
method: 'PUT',
|
||||
body: JSON.stringify(data),
|
||||
})
|
||||
}
|
||||
|
||||
export async function deleteAiSkillRetrievalProfile(profileId) {
|
||||
return request(`/api/admin/ai-skill-retrieval-profiles/${profileId}`, { method: 'DELETE' })
|
||||
}
|
||||
|
||||
// ============================================================================
|
||||
// Reifegradmodelle / Fähigkeitsmatrix
|
||||
// ============================================================================
|
||||
@@ -764,6 +791,11 @@ export const api = {
|
||||
updateFocusArea,
|
||||
deleteFocusArea,
|
||||
getAdminHierarchy,
|
||||
listAiSkillRetrievalProfiles,
|
||||
getAiSkillRetrievalProfile,
|
||||
createAiSkillRetrievalProfile,
|
||||
updateAiSkillRetrievalProfile,
|
||||
deleteAiSkillRetrievalProfile,
|
||||
listStyleDirections,
|
||||
listTrainingStyles,
|
||||
createStyleDirection,
|
||||
|
||||
Reference in new issue
Block a user