StatsHub Docs
APIEndpoint referenceModels

/models

POST
/api/models

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/models" \  -H "Content-Type: application/json" \  -d '{    "description": "string",    "group": "string",    "lastXMatches": 0,    "marketType": "string",    "minimumMatches": 0,    "name": "string",    "onlyIfPlayerStarted": true,    "opponentMultiplier": "string",    "status": "string"  }'
{  "createdAt": "string",  "description": "string",  "group": 0,  "id": 0,  "lastXMatches": 0,  "marketType": "string",  "minimumMatches": 0,  "name": "string",  "onlyIfPlayerStarted": true,  "opponentMultiplier": "string",  "status": "string",  "updatedAt": "string"}