SeleniumLab

Work area (not study track)

HelpDesk API

Env 1.0.0

JSON API for contract/API lessons. Log in first (session cookie). CSRF is not required for these JSON endpoints when using session auth from tools that send cookies.

GET  /lab/api/health/              → { "status": "ok", "service": "helpdesk", "release": "…" }
GET  /lab/api/tickets/             → { "count": N, "results": [ ticket… ] }   (auth)
POST /lab/api/tickets/             → 201 ticket                               (auth, JSON body)
GET  /lab/api/tickets/<id>/        → ticket                                   (auth, owner only)

Ticket contract:
{
  "id": 1,
  "subject": "string",
  "description": "string",
  "priority": "low|medium|high",
  "status": "open|in_progress|resolved",
  "created_at": "ISO-8601",
  "priority_label": "…"   // on detail; may be wrong on buggy releases
}

POST body example:
{ "subject": "VPN down", "description": "Cannot connect", "priority": "high" }

Open HelpDesk UI · Work board