🔍 Debug Moodle API

Visualização completa dos dados retornados pela API do Moodle

@if(session('error'))
{{ session('error') }}
@endif

🌐 Site Info

{{ json_encode($siteInfo, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) }}

👤 User Data (getUserByEmail)

{{ json_encode($user, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) }}

📚 User Courses (getUserCourses) - {{ count($courses) }} cursos

{{ json_encode($courses, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) }}
@if($selectedCourseId)

📖 Course Details (core_course_get_courses_by_field) - ID: {{ $selectedCourseId }}

{{ json_encode($courseDetails, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) }}

📝 Course Contents (getCourseContents) - {{ count($courseContents) }} seções

{{ json_encode($courseContents, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) }}

📊 Progress (calculateCourseProgressManual)

{{ json_encode($progress, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) }}

🎯 Grades (getUserGrades)

{{ json_encode($grades, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) }}

📅 Calendar (getCalendarEvents)

{{ json_encode($calendar, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) }}
@endif

📌 Legenda

← Voltar ao Dashboard