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
string
required
JSON-encoded skill build object.
Example request body
Response
boolean
true if the build was created successfully.string
Error message string. Empty on success.
POST /removeSkillBuild
Deletes a skill build by ID. AllUserFavorites rows referencing the build are deleted first.
Request
string
required
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
integer
required
Number of records to skip (0-based offset for pagination).
Response
Array of skill build objects ordered by creation date (oldest first).integer
Database primary key.
string[]
Ability names in the build.
string
Primary attribute (
strength, agility, intelligence).string
Build description.
string
Internal hero name.
string
Author’s Steam ID.
string[]
Tag strings.
string
Build title.
integer
Total upvote count.
integer
Total downvote count.
string[]
Steam IDs of players who upvoted.
string[]
Steam IDs of players who downvoted.
string
ISO 8601 creation timestamp.
Example response
POST /setFavoriteSkillBuild
Adds or removes a skill build from a player’s favorites list.Request
string
required
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
string
required
JSON-encoded vote action.
Example request bodies
Response
GET /getFavoriteSkillBuilds
Returns the list of skill build IDs that a player has favorited.Request
string
required
64-bit Steam ID of the player whose favorites are being retrieved.
string
Alias for
steamId. Accepted but currently unused by the query logic.
