Proje: Okul Platform · Hub: Okul Platform — Domain

Public SchoolComment Endpoint’leri

GET /school-comments (optional auth)

Sıralama: id, created_at, rated_up
Filtreler: school_id, school_ids

POST /school-comments (optional auth)

Yorum gönder. Login olmadan da yorum yapılabilir (commenter_name, commenter_email ile).

POST /school-comments/{id}/rate (optional auth)

Up/down vote.

GET /school-comments/best-commented-schools

En çok yorum alan okullar. Resource: BestCommentedSchoolResource

GET /school-comments/latest-by-city

Şehre göre son yorumlar. Resource: LatestCommentResource

GET /school-comments/bulk-statistics

Toplu yorum istatistikleri. Resource: SchoolStatisticsResource

Resource’lar

General/BestCommentedSchoolResource
General/LatestCommentResource
General/SchoolCommentListResource
General/SchoolStatisticsResource

Test

Tests\Feature\Api\General\School\SchoolCommentTest