You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The server returns a 401 error if the client is not authenticated.
The server returns a 403 error if the current user's role is not ADMIN.
The server returns a 409 error if the provided slug is already in use.
The server returns a 422 error if
slug is not between 2 and 80 characters inclusive.
the slug is not comprised solely of alphanumeric digits, hyphens, and underscores.
Name is absent or null.
Slug is absent or null.
Upon succesful leaderboard creation, the server returns 201 CREATED status and a response body that includes the newly-created leaderboard as well as its location on the server.
The content you are editing has changed. Please copy your edits and refresh the page.
POST
/leaderboards/create
.The request body includes the following fields:
The server returns a 401 error if the client is not authenticated.
The server returns a 403 error if the current user's role is not
ADMIN
.The server returns a 409 error if the provided slug is already in use.
The server returns a 422 error if
Upon succesful leaderboard creation, the server returns 201 CREATED status and a response body that includes the newly-created leaderboard as well as its location on the server.
Tasks
The text was updated successfully, but these errors were encountered: