Skip to main content
POST
Upload athlete post content

Authorizations

Authorization
string
header
required

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

Body

application/json
type
string
required

Post type (e.g. athlete)

Example:

"athlete"

picture
string[]

Array of base64-encoded images (data:image/png;base64,...)

Example:
caption
string

Post caption

Example:

"My new post"

Response

200

Post uploaded