TestRPG API endpoints
Some test endpoints for you to use
GET builds
Get build information
GET: /api/builds
Accepts an optional build parameter.
This parameter has the following valid values: thief, knight, mage, brigadier
POST build
Post build information
POST: /api/builds
Post build information to the API. This endpoint will only accept requests with a JSON body that matches the following schema:
{
"build": {
"name": "string",
"strength": "number",
"agility": "number",
"wisdom": "number",
"magic": "number"
}
}Name cannot be an existing name and no skill can have a level higher than 10. 10 is also the maximum for the sum of all skills combined.