StatsHub Docs
APIAPI v2V2 endpoint referenceReferees

/referees

Inserts a referee.

POST
/referees

Inserts a referee.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

curl -X POST "https://example.com/referees" \  -H "Content-Type: application/json" \  -d '{    "countrySlug": "string",    "firstLeagueDebutTimestamp": 0,    "games": 0,    "id": 0,    "name": "string",    "slug": "string"  }'
{  "id": 0,  "message": "string",  "name": "string"}