POST endpoints require the Auth-Key header. See Server API Overview for authentication details.
POST /createSkillBuild
Persists a new skill build to the database. Votes are initialised to zero and aCreated timestamp is set automatically.
Request
JSON-encoded skill build object.
Example request body
Response
true if the build was created successfully.Error message string. Empty on success.
POST /removeSkillBuild
Deletes a skill build by ID. AllUserFavorites rows referencing the build are deleted first.
Request
JSON-encoded removal request.
Example request body
Response
Returns HTTP 200 with an empty body on success. Returns HTTP 401 if authentication fails.GET /getSkillBuilds
Returns an ordered, paginated list of all skill builds. Each build includes aggregated up-vote and down-vote Steam ID lists.Request
Number of records to skip (0-based offset for pagination).
Response
Array of skill build objects ordered by creation date (oldest first).Database primary key.
Ability names in the build.
Primary attribute (
strength, agility, intelligence).Build description.
Internal hero name.
Author’s Steam ID.
Tag strings.
Build title.
Total upvote count.
Total downvote count.
Steam IDs of players who upvoted.
Steam IDs of players who downvoted.
ISO 8601 creation timestamp.
Example response
POST /setFavoriteSkillBuild
Adds or removes a skill build from a player’s favorites list.Request
JSON-encoded favorite action.
Example request bodies
Response
HTTP 200 with an empty body on success.POST /voteSkillBuild
Casts an upvote or downvote on a skill build. Each Steam ID may only vote once per build — a second vote from the same player returns HTTP 400.Request
JSON-encoded vote action.
Example request bodies
Response
| Status | Meaning |
|---|---|
200 OK | Vote recorded successfully. |
400 Bad Request | Player has already voted on this build. |
401 Unauthorized | Missing or invalid Auth-Key header. |
404 Not Found | No skill build with the specified id. |
GET /getFavoriteSkillBuilds
Returns the list of skill build IDs that a player has favorited.Request
64-bit Steam ID of the player whose favorites are being retrieved.
Alias for
steamId. Accepted but currently unused by the query logic.
