CompTeam Internal Competitions API
The Internal Competitions API from CompTeam — 14 operation(s) for internal competitions.
The Internal Competitions API from CompTeam — 14 operation(s) for internal competitions.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/compteam-io:compteam-io-internal-competitions-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Compteam Io Internal Competitions API
version: 0.1.0
description: 'Operations tagged Internal Competitions across 2 of this provider''s published API definitions: compteam-io-openapi.json, compteam-io-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.compteam.io
description: C-TEAM API host serving this spec and its Swagger UI at /docs
tags:
- name: Internal Competitions
paths:
/api/v1/internal-competitions/:
get:
tags:
- Internal Competitions
summary: List Internal Competitions
operationId: list_internal_competitions_api_v1_internal_competitions__get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- HTTPBearer: []
- HTTPBearer: []
post:
tags:
- Internal Competitions
summary: Create Internal Competition
operationId: create_internal_competition_api_v1_internal_competitions__post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/InternalCompetitionCreate'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
- HTTPBearer: []
/api/v1/internal-competitions/leaderboard:
get:
tags:
- Internal Competitions
summary: List Internal Competitions Leaderboard
operationId: list_internal_competitions_leaderboard_api_v1_internal_competitions_leaderboard_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- HTTPBearer: []
- HTTPBearer: []
/api/v1/internal-competitions/{competition_id}/photos:
get:
tags:
- Internal Competitions
summary: List Internal Competition Photos
operationId: list_internal_competition_photos_api_v1_internal_competitions__competition_id__photos_get
security:
- HTTPBearer: []
- HTTPBearer: []
parameters:
- name: competition_id
in: path
required: true
schema:
type: string
format: uuid
title: Competition Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
post:
tags:
- Internal Competitions
summary: Upload Internal Competition Photo
operationId: upload_internal_competition_photo_api_v1_internal_competitions__competition_id__photos_post
security:
- HTTPBearer: []
- HTTPBearer: []
parameters:
- name: competition_id
in: path
required: true
schema:
type: string
format: uuid
title: Competition Id
requestBody:
required: true
content:
multipart/form-data:
schema:
$ref: '#/components/schemas/Body_upload_internal_competition_photo_api_v1_internal_competitions__competition_id__photos_post'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/internal-competitions/{competition_id}/photos/{photo_id}/download:
get:
tags:
- Internal Competitions
summary: Download Internal Competition Photo
operationId: download_internal_competition_photo_api_v1_internal_competitions__competition_id__photos__photo_id__download_get
security:
- HTTPBearer: []
- HTTPBearer: []
parameters:
- name: competition_id
in: path
required: true
schema:
type: string
format: uuid
title: Competition Id
- name: photo_id
in: path
required: true
schema:
type: string
format: uuid
title: Photo Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/internal-competitions/{competition_id}/photos/{photo_id}:
delete:
tags:
- Internal Competitions
summary: Delete Internal Competition Photo
operationId: delete_internal_competition_photo_api_v1_internal_competitions__competition_id__photos__photo_id__delete
security:
- HTTPBearer: []
- HTTPBearer: []
parameters:
- name: competition_id
in: path
required: true
schema:
type: string
format: uuid
title: Competition Id
- name: photo_id
in: path
required: true
schema:
type: string
format: uuid
title: Photo Id
responses:
'204':
description: Successful Response
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/internal-competitions/{competition_id}/photo-athletes:
get:
tags:
- Internal Competitions
summary: List Internal Competition Photo Athletes
operationId: list_internal_competition_photo_athletes_api_v1_internal_competitions__competition_id__photo_athletes_get
security:
- HTTPBearer: []
- HTTPBearer: []
parameters:
- name: competition_id
in: path
required: true
schema:
type: string
format: uuid
title: Competition Id
- name: q
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Q
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/internal-competitions/{competition_id}/photos/{photo_id}/athletes/{athlete_id}:
put:
tags:
- Internal Competitions
summary: Link Internal Competition Photo Athlete
operationId: link_internal_competition_photo_athlete_api_v1_internal_competitions__competition_id__photos__photo_id__athletes__athlete_id__put
security:
- HTTPBearer: []
- HTTPBearer: []
parameters:
- name: competition_id
in: path
required: true
schema:
type: string
format: uuid
title: Competition Id
- name: photo_id
in: path
required: true
schema:
type: string
format: uuid
title: Photo Id
- name: athlete_id
in: path
required: true
schema:
type: string
format: uuid
title: Athlete Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- Internal Competitions
summary: Unlink Internal Competition Photo Athlete
operationId: unlink_internal_competition_photo_athlete_api_v1_internal_competitions__competition_id__photos__photo_id__athletes__athlete_id__delete
security:
- HTTPBearer: []
- HTTPBearer: []
parameters:
- name: competition_id
in: path
required: true
schema:
type: string
format: uuid
title: Competition Id
- name: photo_id
in: path
required: true
schema:
type: string
format: uuid
title: Photo Id
- name: athlete_id
in: path
required: true
schema:
type: string
format: uuid
title: Athlete Id
responses:
'204':
description: Successful Response
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/internal-competitions/{competition_id}:
get:
tags:
- Internal Competitions
summary: Get Internal Competition
operationId: get_internal_competition_api_v1_internal_competitions__competition_id__get
security:
- HTTPBearer: []
- HTTPBearer: []
parameters:
- name: competition_id
in: path
required: true
schema:
type: string
format: uuid
title: Competition Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
patch:
tags:
- Internal Competitions
summary: Update Internal Competition
operationId: update_internal_competition_api_v1_internal_competitions__competition_id__patch
security:
- HTTPBearer: []
- HTTPBearer: []
parameters:
- name: competition_id
in: path
required: true
schema:
type: string
format: uuid
title: Competition Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/InternalCompetitionUpdate'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/internal-competitions/{competition_id}/participants:
post:
tags:
- Internal Competitions
summary: Add Internal Competition Participant
operationId: add_internal_competition_participant_api_v1_internal_competitions__competition_id__participants_post
security:
- HTTPBearer: []
- HTTPBearer: []
parameters:
- name: competition_id
in: path
required: true
schema:
type: string
format: uuid
title: Competition Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ParticipantCreate'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/internal-competitions/{competition_id}/athletes:
get:
tags:
- Internal Competitions
summary: List Internal Competition Athletes
operationId: list_internal_competition_athletes_api_v1_internal_competitions__competition_id__athletes_get
security:
- HTTPBearer: []
- HTTPBearer: []
parameters:
- name: competition_id
in: path
required: true
schema:
type: string
format: uuid
title: Competition Id
- name: q
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Q
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/internal-competitions/{competition_id}/matches:
post:
tags:
- Internal Competitions
summary: Create Internal Competition Match
operationId: create_internal_competition_match_api_v1_internal_competitions__competition_id__matches_post
security:
- HTTPBearer: []
- HTTPBearer: []
parameters:
- name: competition_id
in: path
required: true
schema:
type: string
format: uuid
title: Competition Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/MatchCreate'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/internal-competitions/matches/{match_id}:
patch:
tags:
- Internal Competitions
summary: Update Internal Competition Match
operationId: update_internal_competition_match_api_v1_internal_competitions_matches__match_id__patch
security:
- HTTPBearer: []
- HTTPBearer: []
parameters:
- name: match_id
in: path
required: true
schema:
type: string
format: uuid
title: Match Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/MatchUpdate'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/internal-competitions/matches/{match_id}/link-opponent:
post:
tags:
- Internal Competitions
summary: Link Internal Competition Opponent
operationId: link_internal_competition_opponent_api_v1_internal_competitions_matches__match_id__link_opponent_post
security:
- HTTPBearer: []
- HTTPBearer: []
parameters:
- name: match_id
in: path
required: true
schema:
type: string
format: uuid
title: Match Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/OpponentLink'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/internal-competitions/matches/{match_id}/history:
get:
tags:
- Internal Competitions
summary: Get Internal Competition Match History
operationId: get_internal_competition_match_history_api_v1_internal_competitions_matches__match_id__history_get
security:
- HTTPBearer: []
- HTTPBearer: []
parameters:
- name: match_id
in: path
required: true
schema:
type: string
format: uuid
title: Match Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
ParticipantCreate:
properties:
athlete_id:
type: string
format: uuid
title: Athlete Id
type: object
required:
- athlete_id
title: ParticipantCreate
Body_upload_internal_competition_photo_api_v1_internal_competitions__competition_id__photos_post:
properties:
file:
type: string
format: binary
title: File
type: object
required:
- file
title: Body_upload_internal_competition_photo_api_v1_internal_competitions__competition_id__photos_post
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
InternalCompetitionUpdate:
properties:
name:
anyOf:
- type: string
- type: 'null'
title: Name
event_date:
anyOf:
- type: string
format: date
- type: 'null'
title: Event Date
competition_type:
anyOf:
- type: string
- type: 'null'
title: Competition Type
training_location_id:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Training Location Id
location:
anyOf:
- type: string
- type: 'null'
title: Location
training_occurrence_key:
anyOf:
- type: string
- type: 'null'
title: Training Occurrence Key
notes:
anyOf:
- type: string
- type: 'null'
title: Notes
type: object
title: InternalCompetitionUpdate
OpponentLink:
properties:
opponent_athlete_id:
type: string
format: uuid
title: Opponent Athlete Id
type: object
required:
- opponent_athlete_id
title: OpponentLink
InternalCompetitionCreate:
properties:
name:
type: string
title: Name
event_date:
type: string
format: date
title: Event Date
competition_type:
type: string
title: Competition Type
default: sparring
training_location_id:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Training Location Id
location:
anyOf:
- type: string
- type: 'null'
title: Location
training_occurrence_key:
anyOf:
- type: string
- type: 'null'
title: Training Occurrence Key
notes:
anyOf:
- type: string
- type: 'null'
title: Notes
type: object
required:
- name
- event_date
title: InternalCompetitionCreate
MatchUpdate:
properties:
participant_points:
anyOf:
- type: integer
- type: 'null'
title: Participant Points
opponent_points:
anyOf:
- type: integer
- type: 'null'
title: Opponent Points
winner_side:
anyOf:
- type: string
- type: 'null'
title: Winner Side
win_method:
anyOf:
- type: string
- type: 'null'
title: Win Method
weight_class:
anyOf:
- type: string
- type: 'null'
title: Weight Class
gender:
anyOf:
- type: string
- type: 'null'
title: Gender
opponent_name:
anyOf:
- type: string
- type: 'null'
title: Opponent Name
referee_athlete_id:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Referee Athlete Id
referee_name:
anyOf:
- type: string
- type: 'null'
title: Referee Name
notes:
anyOf:
- type: string
- type: 'null'
title: Notes
type: object
title: MatchUpdate
MatchCreate:
properties:
participant_athlete_id:
type: string
format: uuid
title: Participant Athlete Id
opponent_athlete_id:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Opponent Athlete Id
opponent_name:
anyOf:
- type: string
- type: 'null'
title: Opponent Name
referee_athlete_id:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Referee Athlete Id
referee_name:
anyOf:
- type: string
- type: 'null'
title: Referee Name
participant_points:
type: integer
title: Participant Points
default: 0
opponent_points:
type: integer
title: Opponent Points
default: 0
winner_side:
type: string
title: Winner Side
win_method:
anyOf:
- type: string
- type: 'null'
title: Win Method
weight_class:
anyOf:
- type: string
- type: 'null'
title: Weight Class
gender:
anyOf:
- type: string
- type: 'null'
title: Gender
notes:
anyOf:
- type: string
- type: 'null'
title: Notes
type: object
required:
- participant_athlete_id
- winner_side
title: MatchCreate
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
securitySchemes:
HTTPBearer:
type: http
scheme: bearer
x-refined-from:
- compteam-io-openapi.json
- compteam-io-openapi.yml