Skip to main content
POST
/
service
/
athletes
Get athletes providing services
curl --request POST \
  --url http://localhost/mogl/mogl-backend/api/service/athletes \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "keyword": "video",
  "service_category_id": "1",
  "university_id": 1,
  "sport_category_id": 1,
  "gender": "M",
  "is_current_athlete": "Y",
  "page": 1,
  "limit": 10,
  "page_limit": 10
}
'

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.

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.

Body

application/json
keyword
string

Name search (NOT search)

Example:

"video"

service_category_id
string

Comma-separated category IDs (NOT category_id)

Example:

"1"

university_id
integer
Example:

1

sport_category_id
integer
Example:

1

gender
string
Example:

"M"

is_current_athlete
string
Example:

"Y"

page
integer
Example:

1

limit
integer
Example:

10

page_limit
integer

Alias for limit

Example:

10

Response

200

Athletes list