StatsHub Docs
Endpoint referenceUser

/user/{id}/favorite

POST
/api/v2/user/{id}/favorite

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/api/v2/user/string/favorite" \  -H "Content-Type: application/json" \  -d '{    "notes": "string",    "playerId": 0,    "teamId": 0  }'
{  "$schema": "https://example.com/schemas/MessageEnvelope.json",  "message": "string"}