CompTeam Athlete Injuries API

The Athlete Injuries API from CompTeam — 13 operation(s) for athlete injuries.

GitHub OpenAPI

Operations 15

GET /api/v1/athletes/me/injuries List My Injuries #
POST /api/v1/athletes/me/injuries Create My Injury #
PATCH /api/v1/athletes/me/injuries/{injury_id} Extend My Injury #
POST /api/v1/athletes/me/injuries/{injury_id}/resolve Resolve My Injury #
POST /api/v1/athletes/me/injuries/{injury_id}/notes Add Note To My Injury #
POST /api/v1/athletes/me/injuries/{injury_id}/report Upload My Injury Report #
GET /api/v1/athletes/{athlete_id}/injuries List Athlete Injuries For Staff #
POST /api/v1/athletes/{athlete_id}/injuries/{injury_id}/notes Staff Note For Athlete Injury #
GET /api/v1/guardian/kids/{kid_id}/injuries List Guardian Kid Injuries #
POST /api/v1/guardian/kids/{kid_id}/injuries Create Guardian Kid Injury #
PATCH /api/v1/guardian/kids/{kid_id}/injuries/{injury_id} Extend Guardian Kid Injury #
POST /api/v1/guardian/kids/{kid_id}/injuries/{injury_id}/resolve Resolve Guardian Kid Injury #
POST /api/v1/guardian/kids/{kid_id}/injuries/{injury_id}/notes Add Guardian Kid Injury Note #
POST /api/v1/guardian/kids/{kid_id}/injuries/{injury_id}/report Upload Guardian Kid Injury Report #
POST /api/v1/athlete-injuries/run-resolution-sweep Run Injury Resolution Sweep #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/compteam-io:compteam-io-athlete-injuries-api"
All apis
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.

Get an API 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 Specification

compteam-io-athlete-injuries-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Compteam Io Athlete Injuries API
  version: 0.1.0
  description: 'Operations tagged Athlete Injuries 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: Athlete Injuries
paths:
  /api/v1/athletes/me/injuries:
    get:
      tags:
      - Athlete Injuries
      summary: List My Injuries
      operationId: list_my_injuries_api_v1_athletes_me_injuries_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
    post:
      tags:
      - Athlete Injuries
      summary: Create My Injury
      operationId: create_my_injury_api_v1_athletes_me_injuries_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InjuryCreate'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/v1/athletes/me/injuries/{injury_id}:
    patch:
      tags:
      - Athlete Injuries
      summary: Extend My Injury
      operationId: extend_my_injury_api_v1_athletes_me_injuries__injury_id__patch
      security:
      - HTTPBearer: []
      parameters:
      - name: injury_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Injury Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HealingDateUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/athletes/me/injuries/{injury_id}/resolve:
    post:
      tags:
      - Athlete Injuries
      summary: Resolve My Injury
      operationId: resolve_my_injury_api_v1_athletes_me_injuries__injury_id__resolve_post
      security:
      - HTTPBearer: []
      parameters:
      - name: injury_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Injury Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/athletes/me/injuries/{injury_id}/notes:
    post:
      tags:
      - Athlete Injuries
      summary: Add Note To My Injury
      operationId: add_note_to_my_injury_api_v1_athletes_me_injuries__injury_id__notes_post
      security:
      - HTTPBearer: []
      parameters:
      - name: injury_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Injury Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InjuryNoteCreate'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/athletes/me/injuries/{injury_id}/report:
    post:
      tags:
      - Athlete Injuries
      summary: Upload My Injury Report
      operationId: upload_my_injury_report_api_v1_athletes_me_injuries__injury_id__report_post
      security:
      - HTTPBearer: []
      parameters:
      - name: injury_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Injury Id
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_upload_my_injury_report_api_v1_athletes_me_injuries__injury_id__report_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/athletes/{athlete_id}/injuries:
    get:
      tags:
      - Athlete Injuries
      summary: List Athlete Injuries For Staff
      operationId: list_athlete_injuries_for_staff_api_v1_athletes__athlete_id__injuries_get
      security:
      - HTTPBearer: []
      parameters:
      - 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'
  /api/v1/athletes/{athlete_id}/injuries/{injury_id}/notes:
    post:
      tags:
      - Athlete Injuries
      summary: Staff Note For Athlete Injury
      operationId: staff_note_for_athlete_injury_api_v1_athletes__athlete_id__injuries__injury_id__notes_post
      security:
      - HTTPBearer: []
      parameters:
      - name: athlete_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Athlete Id
      - name: injury_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Injury Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InjuryNoteCreate'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/guardian/kids/{kid_id}/injuries:
    get:
      tags:
      - Athlete Injuries
      summary: List Guardian Kid Injuries
      operationId: list_guardian_kid_injuries_api_v1_guardian_kids__kid_id__injuries_get
      security:
      - HTTPBearer: []
      parameters:
      - name: kid_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Kid Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Athlete Injuries
      summary: Create Guardian Kid Injury
      operationId: create_guardian_kid_injury_api_v1_guardian_kids__kid_id__injuries_post
      security:
      - HTTPBearer: []
      parameters:
      - name: kid_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Kid Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InjuryCreate'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/guardian/kids/{kid_id}/injuries/{injury_id}:
    patch:
      tags:
      - Athlete Injuries
      summary: Extend Guardian Kid Injury
      operationId: extend_guardian_kid_injury_api_v1_guardian_kids__kid_id__injuries__injury_id__patch
      security:
      - HTTPBearer: []
      parameters:
      - name: kid_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Kid Id
      - name: injury_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Injury Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HealingDateUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/guardian/kids/{kid_id}/injuries/{injury_id}/resolve:
    post:
      tags:
      - Athlete Injuries
      summary: Resolve Guardian Kid Injury
      operationId: resolve_guardian_kid_injury_api_v1_guardian_kids__kid_id__injuries__injury_id__resolve_post
      security:
      - HTTPBearer: []
      parameters:
      - name: kid_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Kid Id
      - name: injury_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Injury Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/guardian/kids/{kid_id}/injuries/{injury_id}/notes:
    post:
      tags:
      - Athlete Injuries
      summary: Add Guardian Kid Injury Note
      operationId: add_guardian_kid_injury_note_api_v1_guardian_kids__kid_id__injuries__injury_id__notes_post
      security:
      - HTTPBearer: []
      parameters:
      - name: kid_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Kid Id
      - name: injury_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Injury Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InjuryNoteCreate'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/guardian/kids/{kid_id}/injuries/{injury_id}/report:
    post:
      tags:
      - Athlete Injuries
      summary: Upload Guardian Kid Injury Report
      operationId: upload_guardian_kid_injury_report_api_v1_guardian_kids__kid_id__injuries__injury_id__report_post
      security:
      - HTTPBearer: []
      parameters:
      - name: kid_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Kid Id
      - name: injury_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Injury Id
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_upload_guardian_kid_injury_report_api_v1_guardian_kids__kid_id__injuries__injury_id__report_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/athlete-injuries/run-resolution-sweep:
    post:
      tags:
      - Athlete Injuries
      summary: Run Injury Resolution Sweep
      operationId: run_injury_resolution_sweep_api_v1_athlete_injuries_run_resolution_sweep_post
      parameters:
      - name: x-cron-secret
        in: header
        required: false
        schema:
          type: string
          title: X-Cron-Secret
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    InjuryCreate:
      properties:
        kind:
          type: string
          enum:
          - sprain
          - strain
          - fracture
          - dislocation
          - bruise
          - cut
          - concussion
          - other
          title: Kind
        description:
          type: string
          maxLength: 200
          minLength: 1
          title: Description
        expected_healing_date:
          type: string
          format: date
          title: Expected Healing Date
      type: object
      required:
      - kind
      - description
      - expected_healing_date
      title: InjuryCreate
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    Body_upload_my_injury_report_api_v1_athletes_me_injuries__injury_id__report_post:
      properties:
        file:
          type: string
          format: binary
          title: File
      type: object
      required:
      - file
      title: Body_upload_my_injury_report_api_v1_athletes_me_injuries__injury_id__report_post
    HealingDateUpdate:
      properties:
        expected_healing_date:
          type: string
          format: date
          title: Expected Healing Date
      type: object
      required:
      - expected_healing_date
      title: HealingDateUpdate
    Body_upload_guardian_kid_injury_report_api_v1_guardian_kids__kid_id__injuries__injury_id__report_post:
      properties:
        file:
          type: string
          format: binary
          title: File
      type: object
      required:
      - file
      title: Body_upload_guardian_kid_injury_report_api_v1_guardian_kids__kid_id__injuries__injury_id__report_post
    InjuryNoteCreate:
      properties:
        content:
          type: string
          maxLength: 4000
          minLength: 1
          title: Content
      type: object
      required:
      - content
      title: InjuryNoteCreate
    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