1. Education Materials
  • 01 - Overview
  • 02 - User Guide
  • 03 - Technical Guide
  • 04 - Operations
  • App
    • Get application hello response
      GET
  • Users
    • Kullanıcı profili
      GET
    • Update current user profile
      PATCH
    • Opsiyonel kimlik doğrulama
      GET
    • Tüm kullanıcıları listele
      GET
    • Get user by id (Admin)
      GET
    • Kullanıcı sil
      DELETE
    • Update user profile by id (Admin)
      PATCH
    • Update user email by id (Admin)
      PATCH
    • Update user role by id (Superadmin)
      PATCH
  • Auth
    • Token yenileme
      POST
    • Kullanıcı çıkışı
      POST
    • Request OTP (Login or Register)
      POST
    • Verify OTP (Login or Register)
      POST
    • Complete registration
      POST
    • Get registration status
      GET
  • Courses
    • Create a new course (Admin only)
    • Get all courses
    • Duplicate an existing course
    • Kurs detayını görüntüle
    • Update an existing course (Admin only)
    • Delete a course (Admin only)
  • Storage
    • Upload a file to storage
  • Proficiency Tests
    • Create a new proficiency test
    • List available proficiency tests
    • Duplicate an existing proficiency test
    • Update an existing proficiency test
    • Get test details
    • Delete proficiency test (Admin)
    • Get available target languages
    • Get detailed test result (Admin)
    • Delete test result (Admin)
    • Get all test results (Admin)
    • Get test results for a specific user (Admin)
    • Get current user results
    • Get detailed test result
    • Check if user has completed the test
    • Submit a proficiency test
  • Settings
    • Get setting by key
    • Create or update a setting (Admin)
  • Education Materials
    • Create a new education material with multiple PDFs and videos
      POST
    • List all education materials with optional locale filtering
      GET
    • Assign an education material to one or more users (Admin)
      POST
    • Get assigned education materials for current user
      GET
    • Get assigned education materials for a specific user (Admin)
      GET
    • Get detailed information about a specific education material
      GET
    • Update education material details and/or add new PDFs
      PATCH
    • Delete an education material
      DELETE
  • Contact
    • Submit a contact request
    • Get contact requests (Admin)
    • Reply to a contact request (Admin)
    • Delete a contact request (Admin)
    • Update contact status (Admin)
  • Admin Dashboard
    • Get aggregated dashboard metrics for admin panel
  • Schemas
    • UserDocument
    • BaseResponseDto
    • RequestOtpDto
    • VerifyOtpDto
    • HelloResponseDto
    • AuthResponseDto
    • UserProfileDto
    • UserProfileResponseDto
    • UserResponseDto
    • UpdateMeProfileDto
    • OptionalAuthResponseDto
    • PaginationDto
    • AdminUpdateUserProfileDto
    • AdminUpdateUserEmailDto
    • OtpResponseDto
    • UpdateUserRoleDto
    • DeleteResponseDto
    • RefreshTokenDto
    • LogoutResponseDto
    • RequestOtpUnifiedDto
    • VerifyOtpUnifiedDto
    • CompleteRegistrationResponseDto
    • CompleteRegistrationDto
    • RegistrationStatusResponseDto
    • CourseResponseDto
    • UploadFileResponseDto
    • LevelRangeResponseDto
    • ProficiencyOptionResponseDto
    • ProficiencyQuestionResponseDto
    • ProficiencyTestDetailResponseDto
    • OptionDto
    • QuestionDto
    • LevelRangeDto
    • CreateProficiencyTestDto
    • UpdateProficiencyTestDto
    • ProficiencyTestListResponseDto
    • TargetLanguagesResponseDto
    • UserTestAnswerResponseDto
    • UserTestResultUserSummaryDto
    • UserTestResultTestSummaryDto
    • UserTestResultResponseDto
    • DeleteUserTestResultResponseDto
    • UserTestResultListResponseDto
    • UserTestStatusSummaryDto
    • UserTestStatusResponseDto
    • DeleteProficiencyTestResponseDto
    • AnswerDto
    • SubmitTestDto
    • SettingValueResponseDto
    • SettingResponseDto
    • UpsertSettingDto
    • MaterialPdfResponseDto
    • MaterialVideoResponseDto
    • EducationMaterialResponseDto
    • CreateEducationMaterialDto
    • AssignEducationMaterialSummaryDto
    • AssignEducationMaterialDto
    • AssignedByResponseDto
    • AssignedEducationMaterialResponseDto
    • MyAssignedEducationMaterialsResponseDto
    • UserSummaryForAssignmentsDto
    • AdminUserAssignedMaterialsResponseDto
    • UpdateEducationMaterialDto
    • DeleteEducationMaterialResponseDto
    • ContactResponseDto
    • CreateContactRequestDto
    • ReplyContactRequestDto
    • UpdateContactStatusRequestDto
    • DashboardUsersOverviewDto
    • DashboardCoursesOverviewDto
    • DashboardTestsOverviewDto
    • DashboardContactsOverviewDto
    • DashboardMaterialsOverviewDto
    • DashboardOverviewDto
    • DashboardTrendDto
    • DashboardDistributionItemDto
    • DashboardLevelDistributionItemDto
    • DashboardLanguageDistributionItemDto
    • DashboardDistributionsDto
    • DashboardRecentContactDto
    • DashboardRecentResultDto
    • DashboardRecentActivityDto
    • AdminDashboardStatsResponseDto
  1. Education Materials

Update education material details and/or add new PDFs

PATCH
/education-materials/{id}
Updates metadata and/or uploaded files of an education material by id.

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Path Params

Body Params multipart/form-dataRequired

Responses

🟢200
application/json
Education material updated successfully.
Body

🟠403
🟠404
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH '/education-materials/' \
--header 'Authorization: Bearer <token>' \
--form 'name="Advanced Grammar Guide"' \
--form 'description="A comprehensive guide to advanced grammar rules."' \
--form 'locale="en"' \
--form 'videos=""' \
--form 'files=""'
Response Response Example
200 - Example 1
{
    "isSuccess": true,
    "statusCode": 200,
    "data": {
        "id": "string",
        "name": "string",
        "description": "string",
        "pdfs": [
            {
                "url": "string",
                "originalName": "string"
            }
        ],
        "videos": [
            {
                "url": "string",
                "title": "string"
            }
        ],
        "locale": "tr",
        "createdAt": "2019-08-24T14:15:22.123Z",
        "updatedAt": "2019-08-24T14:15:22.123Z"
    },
    "errors": [
        "Error messages..."
    ],
    "timestamp": "2026-02-14T09:58:22.133Z"
}
Modified at 2026-02-14 10:03:30
Previous
Get detailed information about a specific education material
Next
Delete an education material
Built with