ClusterHack Team Requests API

The team-requests API from ClusterHack — 2 operation(s) for team-requests.

GitHub OpenAPI

Operations 5

GET /api/v1/team-requests/ Team requests list #
DELETE /api/v1/team-requests/{id}/ Team requests destroy #
PATCH /api/v1/team-requests/{id}/ Team requests partial update #
PUT /api/v1/team-requests/{id}/ Team requests update #
GET /api/v1/team-requests/{id}/ Team requests retrieve #

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/clusterhack-dev:clusterhack-dev-team-requests-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

clusterhack-dev-team-requests-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Clusterhack Dev Team Requests API
  version: 1.3.0
  description: 'Operations tagged team-requests across 2 of this provider''s published API definitions: clusterhack-dev-openapi-original.json, clusterhack-dev-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://clusterhack.dev
  description: Production. Not stated in the provider spec (no servers[]); the spec is served from https://clusterhack.dev/api/schema/ and its paths are rooted at /api/v1 and /geo-api.
tags:
- name: team-requests
paths:
  /api/v1/team-requests/:
    get:
      operationId: team_requests_list
      description: 'Read / withdraw a join request. NO create: see the note below.


        wave 2e: the router POST here could never work — TeamScopedPermission''s

        POST branch demands ``can_manage_team`` of the very person asking to join —

        and ``POST /api/v1/teams//membership-request/`` already carries the real

        rules (you must be on the event''s participant list, the team must not be

        full, duplicates collapse into one row). Rather than opening a second,

        rule-free way in, the dead verb is dropped from the advertised set: the

        router list route now answers 405 with an honest ``Allow`` header.'
      parameters:
      - name: ordering
        required: false
        in: query
        description: Which field to use when ordering the results.
        schema:
          type: string
      - name: page
        required: false
        in: query
        description: A page number within the paginated result set.
        schema:
          type: integer
      - name: page_size
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      - in: query
        name: team
        schema:
          type: integer
      - in: query
        name: user
        schema:
          type: integer
      tags:
      - team-requests
      security:
      - jwtAuth: []
      - tokenAuth: []
      - cookieAuth: []
      - basicAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedRequestMemberList'
          description: ''
        '401':
          description: 'Not authenticated. The response carries `WWW-Authenticate: Bearer realm="api"`; obtain or refresh a token and retry.'
          headers:
            WWW-Authenticate:
              description: Always `Bearer realm="api"`.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '403':
          description: Authenticated, but not permitted to perform this action on this object.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '429':
          description: Rate limit exceeded (see `DEFAULT_THROTTLE_RATES`). `Retry-After` gives the number of seconds to wait.
          headers:
            Retry-After:
              description: Seconds until the caller may retry.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '500':
          description: Unhandled server error.
      summary: Team requests list
      x-summary-source: derived
  /api/v1/team-requests/{id}/:
    delete:
      operationId: team_requests_destroy
      description: 'Read / withdraw a join request. NO create: see the note below.


        wave 2e: the router POST here could never work — TeamScopedPermission''s

        POST branch demands ``can_manage_team`` of the very person asking to join —

        and ``POST /api/v1/teams//membership-request/`` already carries the real

        rules (you must be on the event''s participant list, the team must not be

        full, duplicates collapse into one row). Rather than opening a second,

        rule-free way in, the dead verb is dropped from the advertised set: the

        router list route now answers 405 with an honest ``Allow`` header.'
      parameters:
      - in: path
        name: id
        schema:
          type: integer
        description: A unique integer value identifying this Team application.
        required: true
      tags:
      - team-requests
      security:
      - jwtAuth: []
      - tokenAuth: []
      - cookieAuth: []
      - basicAuth: []
      responses:
        '204':
          description: No response body
        '401':
          description: 'Not authenticated. The response carries `WWW-Authenticate: Bearer realm="api"`; obtain or refresh a token and retry.'
          headers:
            WWW-Authenticate:
              description: Always `Bearer realm="api"`.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '403':
          description: Authenticated, but not permitted to perform this action on this object.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '404':
          description: No such object, or it is not visible to you.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '429':
          description: Rate limit exceeded (see `DEFAULT_THROTTLE_RATES`). `Retry-After` gives the number of seconds to wait.
          headers:
            Retry-After:
              description: Seconds until the caller may retry.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '500':
          description: Unhandled server error.
      summary: Team requests destroy
      x-summary-source: derived
    patch:
      operationId: team_requests_partial_update
      description: 'Read / withdraw a join request. NO create: see the note below.


        wave 2e: the router POST here could never work — TeamScopedPermission''s

        POST branch demands ``can_manage_team`` of the very person asking to join —

        and ``POST /api/v1/teams//membership-request/`` already carries the real

        rules (you must be on the event''s participant list, the team must not be

        full, duplicates collapse into one row). Rather than opening a second,

        rule-free way in, the dead verb is dropped from the advertised set: the

        router list route now answers 405 with an honest ``Allow`` header.'
      parameters:
      - in: path
        name: id
        schema:
          type: integer
        description: A unique integer value identifying this Team application.
        required: true
      tags:
      - team-requests
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedRequestMemberRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedRequestMemberRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedRequestMemberRequest'
      security:
      - jwtAuth: []
      - tokenAuth: []
      - cookieAuth: []
      - basicAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RequestMember'
          description: ''
        '400':
          description: The request body failed validation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationError'
        '401':
          description: 'Not authenticated. The response carries `WWW-Authenticate: Bearer realm="api"`; obtain or refresh a token and retry.'
          headers:
            WWW-Authenticate:
              description: Always `Bearer realm="api"`.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '403':
          description: Authenticated, but not permitted to perform this action on this object.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '404':
          description: No such object, or it is not visible to you.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '429':
          description: Rate limit exceeded (see `DEFAULT_THROTTLE_RATES`). `Retry-After` gives the number of seconds to wait.
          headers:
            Retry-After:
              description: Seconds until the caller may retry.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '500':
          description: Unhandled server error.
      summary: Team requests partial update
      x-summary-source: derived
    put:
      operationId: team_requests_update
      description: 'Read / withdraw a join request. NO create: see the note below.


        wave 2e: the router POST here could never work — TeamScopedPermission''s

        POST branch demands ``can_manage_team`` of the very person asking to join —

        and ``POST /api/v1/teams//membership-request/`` already carries the real

        rules (you must be on the event''s participant list, the team must not be

        full, duplicates collapse into one row). Rather than opening a second,

        rule-free way in, the dead verb is dropped from the advertised set: the

        router list route now answers 405 with an honest ``Allow`` header.'
      parameters:
      - in: path
        name: id
        schema:
          type: integer
        description: A unique integer value identifying this Team application.
        required: true
      tags:
      - team-requests
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RequestMemberRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/RequestMemberRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/RequestMemberRequest'
        required: true
      security:
      - jwtAuth: []
      - tokenAuth: []
      - cookieAuth: []
      - basicAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RequestMember'
          description: ''
        '400':
          description: The request body failed validation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationError'
        '401':
          description: 'Not authenticated. The response carries `WWW-Authenticate: Bearer realm="api"`; obtain or refresh a token and retry.'
          headers:
            WWW-Authenticate:
              description: Always `Bearer realm="api"`.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '403':
          description: Authenticated, but not permitted to perform this action on this object.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '404':
          description: No such object, or it is not visible to you.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '429':
          description: Rate limit exceeded (see `DEFAULT_THROTTLE_RATES`). `Retry-After` gives the number of seconds to wait.
          headers:
            Retry-After:
              description: Seconds until the caller may retry.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '500':
          description: Unhandled server error.
      summary: Team requests update
      x-summary-source: derived
    get:
      operationId: team_requests_retrieve
      description: 'Read / withdraw a join request. NO create: see the note below.


        wave 2e: the router POST here could never work — TeamScopedPermission''s

        POST branch demands ``can_manage_team`` of the very person asking to join —

        and ``POST /api/v1/teams//membership-request/`` already carries the real

        rules (you must be on the event''s participant list, the team must not be

        full, duplicates collapse into one row). Rather than opening a second,

        rule-free way in, the dead verb is dropped from the advertised set: the

        router list route now answers 405 with an honest ``Allow`` header.'
      parameters:
      - in: path
        name: id
        schema:
          type: integer
        description: A unique integer value identifying this Team application.
        required: true
      tags:
      - team-requests
      security:
      - jwtAuth: []
      - tokenAuth: []
      - cookieAuth: []
      - basicAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RequestMember'
          description: ''
        '401':
          description: 'Not authenticated. The response carries `WWW-Authenticate: Bearer realm="api"`; obtain or refresh a token and retry.'
          headers:
            WWW-Authenticate:
              description: Always `Bearer realm="api"`.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '403':
          description: Authenticated, but not permitted to perform this action on this object.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '404':
          description: No such object, or it is not visible to you.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '429':
          description: Rate limit exceeded (see `DEFAULT_THROTTLE_RATES`). `Retry-After` gives the number of seconds to wait.
          headers:
            Retry-After:
              description: Seconds until the caller may retry.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '500':
          description: Unhandled server error.
      summary: Team requests retrieve
      x-summary-source: derived
components:
  schemas:
    ErrorDetail:
      type: object
      description: The body DRF returns for a handled error.
      properties:
        detail:
          type: string
          description: Human-readable explanation of the failure.
      required:
      - detail
    PatchedRequestMemberRequest:
      type: object
      properties:
        user:
          type:
          - integer
          - 'null'
          title: Participant
        team:
          type: integer
          title: What team
    RequestMember:
      type: object
      properties:
        id:
          type: integer
          readOnly: true
        user:
          type:
          - integer
          - 'null'
          title: Participant
        team:
          type: integer
          title: What team
      required:
      - id
      - team
    RequestMemberRequest:
      type: object
      properties:
        user:
          type:
          - integer
          - 'null'
          title: Participant
        team:
          type: integer
          title: What team
      required:
      - team
    ValidationError:
      type: object
      description: Field-keyed validation errors. Errors that belong to no single field appear under `non_field_errors`.
      additionalProperties:
        type: array
        items:
          type: string
    PaginatedRequestMemberList:
      type: object
      required:
      - count
      - results
      properties:
        count:
          type: integer
          example: 123
        next:
          type:
          - string
          - 'null'
          format: uri
          example: http://api.example.org/accounts/?page=4
        previous:
          type:
          - string
          - 'null'
          format: uri
          example: http://api.example.org/accounts/?page=2
        results:
          type: array
          items:
            $ref: '#/components/schemas/RequestMember'
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
    cookieAuth:
      type: apiKey
      in: cookie
      name: sessionid
    jwtAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'Access token from `POST /api/v1/auth/jwt/`, refreshed at `POST /api/v1/auth/jwt/refresh/`. Send as `Authorization: Bearer <access>`.'
    tokenAuth:
      type: apiKey
      in: header
      name: Authorization
      description: Token-based authentication with required prefix "Token"
x-refined-from:
- clusterhack-dev-openapi-original.json
- clusterhack-dev-openapi.yml