Login | Sign Up
  • FA
  • EN

API Docs

POST /api/v1/users/{user-id}/championships

Create a championship record for a user.


Permissions

PermissionDescription
championships.createCreate championships for yourself
championships.create_anyCreate championships for any user

Request Body Parameters

NameTypeRequiredDescription
titlestringYesTitle of the championship (max 255)
descriptionstringNoOptional description (max 2000)
datestringYesDate of the championship (date)

Response

201 Created

{ /* championship resource */ }

Error Responses

StatusDescriptionReference
422Validation errorValidation error
401UnauthorizedAuthentication error
403Forbidden (no permission)Permission error

footer wave
logo

Dambel, the smart world of fitness and nutrition

LinkedinInstagramXYoutubeTelegramGitHub