1e51ef7def
- Konzept/, didaktik_geografie/, didaktik_simulation/, v2-modules/, v2-platform/ - 12 code-workspace-Files - STATUS-*.md - viele M/D/R-Änderungen an bereits getrackten Files - .gitignore verstärkt: **/.humaninput/, **/secret_keys.txt Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
22 lines
553 B
PHP
22 lines
553 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
require_once __DIR__ . '/../../lib/bootstrap.php';
|
|
|
|
v2_validate_method('GET');
|
|
v2_auth_require('any');
|
|
mock_log('GET /api/modules/all', []);
|
|
|
|
v2_response_ok(['modules' => [
|
|
[
|
|
'slug' => 'hallo-welt',
|
|
'displayName' => 'Hallo Welt',
|
|
'displayNameEasy' => 'Erste Aufgabe',
|
|
'icon' => '👋',
|
|
'status' => 'stable',
|
|
'estimatedDurationMin' => 2,
|
|
'difficultyLevels' => [
|
|
['id' => 'L1', 'label' => 'Einsteiger', 'labelEasy' => 'Leicht'],
|
|
],
|
|
],
|
|
]]);
|