Web (Site Kurucu)

course-sections

2 uç · /api/web/v1/course-sections

İstek örnekleri ucun GERÇEK metodu ve yolundan üretilir. 2 ucun elle doğrulanmış gövde örneği henüz yok; o uçlarda iskelet gövdesizdir — uydurma bir alan yazmıyoruz.

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ı?