Post API v1 user sport

Changed on
post/api/v1/user/sport/

Request

  • The document declares no server URL.
  • Auth: HTTP bearer

Request body

$schemastring uri

A URL to the JSON Schema for this object.

sport_idstring required

ID of the Sport

Example request

{
  "$schema": "https://example.com/schemas/CreateSportFollowBody.json",
  "sport_id": "123e4567-e89b-12d3-a456-426614174000"
}

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

idstring required

ID of the sport follow created

sport_idstring required

ID of the Sport

user_idstring required

ID of the user

Example response

{
  "$schema": "https://example.com/schemas/CreateSportFollowResponse.json",
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "sport_id": "123e4567-e89b-12d3-a456-426614174000",
  "user_id": "123e4567-e89b-12d3-a456-426614174000"
}

Changes