curl --request POST \
--url http://localhost/mogl/mogl-backend/api/editAthleteWebsite \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"first_name": "Shakil",
"last_name": "Dhanga",
"athlete": "athlete_slug_01",
"DOB": "1970-01-01",
"school": "Abilene Christian University",
"university_id": 1,
"location": "Austin, TX",
"skills": "Content Creation, Fitness, Gaming",
"sport_category_id": 24,
"expected_graduation_date": "2020",
"gender": "Male",
"bio": "Student-athlete and content creator.",
"highlights": "All-conference 2023",
"weight": "65",
"experience": "3 years varsity",
"contactNumber": 5846161322,
"cover_photo": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUg...",
"profile_photo": "storage/images/profile_photo/example.png",
"team_photo_profile": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUg...",
"team_photo_cover": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUg...",
"jersey_no": "786",
"height": 67,
"height_ft": 5,
"height_in": 7,
"hat_size": "5",
"shirt_size": "L - (Large)",
"pants_size": "32",
"shoes_size": "7.5",
"team_name": "Wildcats",
"team_member_color": "#1a1a2e",
"team_athlete_name": [],
"is_private": "N",
"us_citizen": "Y",
"marketing_notification": "Y"
}
'Full athlete profile update. All fields optional except those relevant to your update.
curl --request POST \
--url http://localhost/mogl/mogl-backend/api/editAthleteWebsite \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"first_name": "Shakil",
"last_name": "Dhanga",
"athlete": "athlete_slug_01",
"DOB": "1970-01-01",
"school": "Abilene Christian University",
"university_id": 1,
"location": "Austin, TX",
"skills": "Content Creation, Fitness, Gaming",
"sport_category_id": 24,
"expected_graduation_date": "2020",
"gender": "Male",
"bio": "Student-athlete and content creator.",
"highlights": "All-conference 2023",
"weight": "65",
"experience": "3 years varsity",
"contactNumber": 5846161322,
"cover_photo": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUg...",
"profile_photo": "storage/images/profile_photo/example.png",
"team_photo_profile": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUg...",
"team_photo_cover": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUg...",
"jersey_no": "786",
"height": 67,
"height_ft": 5,
"height_in": 7,
"hat_size": "5",
"shirt_size": "L - (Large)",
"pants_size": "32",
"shoes_size": "7.5",
"team_name": "Wildcats",
"team_member_color": "#1a1a2e",
"team_athlete_name": [],
"is_private": "N",
"us_citizen": "Y",
"marketing_notification": "Y"
}
'Documentation Index
Fetch the complete documentation index at: https://developer.mogl.online/llms.txt
Use this file to discover all available pages before exploring further.
JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.
"Shakil"
"Dhanga"
Athlete identifier
"athlete_slug_01"
"1970-01-01"
"Abilene Christian University"
1
"Austin, TX"
Comma-separated skill names
"Content Creation, Fitness, Gaming"
24
Graduation year
"2020"
Male, Female, Other "Male"
"Student-athlete and content creator."
"All-conference 2023"
"65"
"3 years varsity"
5846161322
Image path or base64 with data URI prefix (e.g. data:image/png;base64,...)
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUg..."
Image path or base64 encoded with data URI prefix (e.g. data:image/png;base64,...)
"storage/images/profile_photo/example.png"
Team profile photo path or base64 with data URI prefix (e.g. data:image/png;base64,...)
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUg..."
Team cover photo path or base64 with data URI prefix (e.g. data:image/png;base64,...)
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUg..."
"786"
Total height in inches
67
Height feet component
5
Height inches component
7
"5"
"L - (Large)"
"32"
"7.5"
"Wildcats"
Team color hex or name
"#1a1a2e"
Team athlete names
[]Y = private profile, N = public
Y, N "N"
US citizenship status
Y, N "Y"
Marketing notification preference
"Y"
Profile updated