🗂️ File Service API

Lightweight landing page and Quick Start

✅ Service is Running

🔑 Authentication (3 steps)

1) Include X-PowerSchool-User and X-PowerSchool-Role headers
2) Roles: admin can access all; regular users access their own files
3) Dev shortcut: append ?devUser=testuser to requests in Development

🚀 Quick cURL Test

Copy-paste to verify your connection:

curl -i http://localhost:5090/api/files?all=false \
  -H "X-PowerSchool-User=testuser" \
  -H "X-PowerSchool-Role=admin"
            

📋 Core Endpoints

POST/api/files/begin-upload
POST/api/files/complete-upload/{id}
GET/api/files
GET/api/files/{id}
DELETE/api/files/{id}