Update sandbox fixtures: 3 events (past/ongoing/upcoming), 5 scan scenarios
Events: - #1 Brocante de Printemps (past, offline) - #2 Convention Cosplay (ongoing, online) - #3 Marche de Noel (upcoming, online) 6 categories, 8 billets across all events Scan scenarios for event #2 (ongoing): - DEMO-0001: valid, never scanned - DEMO-0002: refused, exit_definitive (already scanned with definitive exit) - DEMO-0003: accepted, unlimited entry/exit (already scanned once) - DEMO-0004: accepted, invitation (never scanned) - DEMO-0005: refused, invalid (vote type - no generated ticket) API doc: show sandbox event IDs and scan references with colored badges Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -43,7 +43,25 @@
|
||||
<p class="font-mono font-bold text-sm text-[#fabf04]" id="env-base-url">https://ticket.e-cosplay.fr/api/sandbox</p>
|
||||
</div>
|
||||
<p class="mt-2 text-xs font-bold text-gray-400" id="env-description">Environnement de test. Les donnees ne sont pas modifiees.</p>
|
||||
<p class="mt-2 text-xs font-bold text-gray-500">L'authentification (<span class="font-mono">/api/auth/login</span>) est commune aux deux environnements.</p>
|
||||
<p class="mt-2 text-xs font-bold text-gray-500">L'authentification (<span class="font-mono">/api/auth/login</span>) est commune aux deux environnements (vos vrais identifiants).</p>
|
||||
|
||||
<div class="mt-4 border-2 border-gray-700 bg-gray-800 p-4">
|
||||
<p class="text-[10px] font-black uppercase tracking-widest text-orange-400 mb-2">Donnees Sandbox</p>
|
||||
<p class="text-xs font-bold text-gray-400 mb-2">La sandbox retourne des donnees fictives identiques pour tous les utilisateurs :</p>
|
||||
<div class="flex flex-wrap gap-2 text-xs">
|
||||
<span class="font-mono px-2 py-1 border border-gray-600 text-gray-300">Event #1 <span class="text-gray-500">(passe)</span></span>
|
||||
<span class="font-mono px-2 py-1 border border-green-600 text-green-400">Event #2 <span class="text-green-600">(en cours)</span></span>
|
||||
<span class="font-mono px-2 py-1 border border-indigo-600 text-indigo-400">Event #3 <span class="text-indigo-600">(a venir)</span></span>
|
||||
</div>
|
||||
<p class="text-xs font-bold text-gray-500 mt-3">References de scan disponibles :</p>
|
||||
<div class="flex flex-wrap gap-2 mt-1 text-xs font-mono">
|
||||
<span class="px-2 py-1 border border-green-600 text-green-400">ETICKET-DEMO-0001-AAAA</span>
|
||||
<span class="px-2 py-1 border border-red-600 text-red-400">ETICKET-DEMO-0002-BBBB</span>
|
||||
<span class="px-2 py-1 border border-green-600 text-green-400">ETICKET-DEMO-0003-CCCC</span>
|
||||
<span class="px-2 py-1 border border-green-600 text-green-400">ETICKET-DEMO-0004-DDDD</span>
|
||||
<span class="px-2 py-1 border border-red-600 text-red-400">ETICKET-DEMO-0005-EEEE</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mt-8">
|
||||
|
||||
Reference in New Issue
Block a user