Endpoint: POST /api/v1/auth/login/send-otp
Schema: OTPLoginSendRequest
{
"phone_number": "string" // ✅ CORRECT
}Endpoint: POST /api/v1/auth/login/verify-otp
Schema: OTPLoginVerifyRequest
{
"phone_number": "string", // ✅ CORRECT
"otp_code": "string" // ✅ CORRECT (4-8 chars)
}Endpoint: POST /api/v1/auth/signup/send-otp
Schema: OTPSignupSendRequest
{
"phone_number": "string" // ✅ CORRECT
}Endpoint: POST /api/v1/auth/signup/verify-otp
Schema: OTPSignupVerifyRequest
{
"phone_number": "string", // ✅ CORRECT
"otp_code": "string", // ✅ CORRECT (4-8 chars)
"name": "string", // ✅ CORRECT (1-100 chars)
"email": "string|null", // ✅ OPTIONAL
"password": "string", // ✅ CORRECT (min 8 chars)
"has_given_consent": boolean // ✅ CORRECT (required)
}Endpoint: POST /api/v1/records/
Schema: RecordCreate
{
"title": "string", // ✅ CORRECT (1-200 chars)
"description": "string|null", // ✅ CORRECT (max 1000 chars)
"media_type": "MediaType", // ✅ CORRECT (text|audio|video|image|document)
"release_rights": "ReleaseRights", // ⚠️ CHECK: creator|family_or_friend|downloaded|NA
"language": "Language", // ✅ CORRECT (enum values)
"user_id": "uuid", // ✅ CORRECT
"category_id": "uuid", // ✅ CORRECT
"location": "Coordinates|null" // ✅ OPTIONAL
}Endpoint: POST /api/v1/records/upload/chunk
Content-Type: multipart/form-data
{
"chunk": "binary", // ✅ CORRECT
"filename": "string", // ✅ CORRECT
"chunk_index": "integer", // ✅ CORRECT
"total_chunks": "integer", // ✅ CORRECT
"upload_uuid": "string" // ✅ CORRECT
}Endpoint: POST /api/v1/records/upload
Content-Type: application/x-www-form-urlencoded
{
"title": "string",
"description": "string|null",
"category_id": "string",
"user_id": "string",
"media_type": "MediaType",
"upload_uuid": "string",
"filename": "string",
"total_chunks": "integer",
"latitude": "number|null",
"longitude": "number|null",
"release_rights": "ReleaseRights", // ⚠️ CHECK VALUES
"language": "Language"
}- Fables 📚 - Traditional stories with moral lessons
- Events 🎉 - Happenings, celebrations, and special occasions
- Music 🎵 - Musical content, songs, instruments
- Places 🏛️ - Locations, landmarks, and geographical content
- Food 🍽️ - Culinary content, recipes, and food-related information
- People 👥 - Individuals, personalities, and human-related content
- Literature 📖 - Books, poems, writings, and literary works
- Architecture 🏗️ - Buildings, structures, and architectural designs
- Skills ⚡ - Abilities, talents, and learning resources
- Images 🖼️ - Visual content, pictures, and graphic materials
- Culture 🎭 - Cultural traditions, customs, and heritage
- Flora & Fauna 🌿 - Plants, animals, and natural life forms
- Education 🎓 - Learning materials, courses, and educational content
- Vegetation 🌱 - Plant life, gardening, and botanical content
- Folk Tales 📓 - Stories passed orally across generations
- Folk Songs 🎶 - Traditional music reflecting cultural heritage
- Traditional Skills 🛠️ - Local artisanal and craft practices
- Local Cultural History 🏛️ - Cultural events, rituals, and customs
- Local History 📜 - Historical events and figures significant to region
- Food & Agriculture 🌾 - Traditional recipes, cooking methods, practices
- Newspapers Older Than 1980s 📰 - From libraries or archives
- Gradient Header: Purple gradient with white text
- Card Layout: Rounded cards with hover effects and scale animation
- Grid System: Responsive grid (1-4 columns based on screen size)
- Clean Typography: Clear hierarchy with emoji, title, description
- Hover Effects: Scale transform and shadow changes
- User Actions: Profile and logout buttons in header
- Modern Design: Clean, minimal, professional appearance
- Fix release_rights mapping - Check enum values
- Update categories to match Swecha's 21 categories
- Improve UI styling to match Swecha's modern design
- Add proper form validation for all required fields