Skip to main content
POST
/
listPostUpload
List athlete posts
curl --request POST \
  --url http://localhost/mogl/mogl-backend/api/listPostUpload \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": 1,
  "type": "athlete",
  "self": "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.

Authorizations

Authorization
string
header
required

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

Query Parameters

page
integer

Page number

Example:

1

page_limit
integer

Items per page (default 10)

Example:

10

Body

application/json
id
integer

User ID (defaults to auth user)

Example:

1

type
string

Post type filter (e.g. athlete)

Example:

"athlete"

self
string

Set to view own posts

Example:

"Y"

Response

200

Post list