Web (Site Kurucu)

course-sections

2 endpoints · /api/web/v1/course-sections

Request examples are generated from each endpoint's REAL method and path. 2 endpoints have no hand-verified body example yet; their skeleton has no body — we do not invent field names.

PUT/api/web/v1/course-sections/{id}

PUT /api/web/v1/course-sections/{id}

OturumYol parametresi: id
İstek
curl -X PUT "https://{slug}--panel.web.blesyum.app/api/web/v1/course-sections/<id>" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
DELETE/api/web/v1/course-sections/{id}

DELETE /api/web/v1/course-sections/{id}

OturumYol parametresi: id

⚠ Bölüm silinince İÇİNDEKİ DERSLER de gider (on delete cascade). Panel bunu SÖYLER — söylemeyen bir silme, on ders kaybettirir.

İstek
curl -X DELETE "https://{slug}--panel.web.blesyum.app/api/web/v1/course-sections/<id>" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
Bu sayfa işine yaradı mı?