ClusterHack Judges API
The judges API from ClusterHack — 3 operation(s) for judges.
The judges API from ClusterHack — 3 operation(s) for judges.
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/clusterhack-dev:clusterhack-dev-judges-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: Clusterhack Dev Judges API
version: 1.3.0
description: 'Operations tagged judges 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: judges
paths:
/api/v1/judges/:
post:
operationId: judges_create
tags:
- judges
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/JudgeRequest'
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/JudgeRequest'
multipart/form-data:
schema:
$ref: '#/components/schemas/JudgeRequest'
required: true
security:
- jwtAuth: []
- tokenAuth: []
- cookieAuth: []
- basicAuth: []
responses:
'201':
content:
application/json:
schema:
$ref: '#/components/schemas/Judge'
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'
'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: Judges create
x-summary-source: derived
get:
operationId: judges_list
parameters:
- in: query
name: event
schema:
type: string
description: Narrow to one event, by **slug or numeric id** — an all-digits value is matched against the event id, anything else against the slug.
- 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
tags:
- judges
security:
- jwtAuth: []
- tokenAuth: []
- cookieAuth: []
- basicAuth: []
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedJudgeList'
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: Judges list
x-summary-source: derived
/api/v1/judges/{id}/:
delete:
operationId: judges_destroy
parameters:
- in: path
name: id
schema:
type: integer
description: A unique integer value identifying this Judge.
required: true
tags:
- judges
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: Judges destroy
x-summary-source: derived
patch:
operationId: judges_partial_update
parameters:
- in: path
name: id
schema:
type: integer
description: A unique integer value identifying this Judge.
required: true
tags:
- judges
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/PatchedJudgeRequest'
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/PatchedJudgeRequest'
multipart/form-data:
schema:
$ref: '#/components/schemas/PatchedJudgeRequest'
security:
- jwtAuth: []
- tokenAuth: []
- cookieAuth: []
- basicAuth: []
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/Judge'
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: Judges partial update
x-summary-source: derived
put:
operationId: judges_update
parameters:
- in: path
name: id
schema:
type: integer
description: A unique integer value identifying this Judge.
required: true
tags:
- judges
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/JudgeRequest'
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/JudgeRequest'
multipart/form-data:
schema:
$ref: '#/components/schemas/JudgeRequest'
required: true
security:
- jwtAuth: []
- tokenAuth: []
- cookieAuth: []
- basicAuth: []
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/Judge'
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: Judges update
x-summary-source: derived
get:
operationId: judges_retrieve
parameters:
- in: path
name: id
schema:
type: integer
description: A unique integer value identifying this Judge.
required: true
tags:
- judges
security:
- jwtAuth: []
- tokenAuth: []
- cookieAuth: []
- basicAuth: []
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/Judge'
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: Judges retrieve
x-summary-source: derived
/api/v1/judges/{id}/resend-invite/:
post:
operationId: judges_resend_invite_create
description: 'POST /api/v1/judges//resend-invite/ — mail the link again.
Invites get lost in spam folders. A delivery failure is reported as a
failure (``sent: false``) and the raw link comes back either way, so
the organizer can hand it over by other means — never a false "sent".'
parameters:
- in: path
name: id
schema:
type: integer
description: A unique integer value identifying this Judge.
required: true
tags:
- judges
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/JudgeRequest'
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/JudgeRequest'
multipart/form-data:
schema:
$ref: '#/components/schemas/JudgeRequest'
required: true
security:
- jwtAuth: []
- tokenAuth: []
- cookieAuth: []
- basicAuth: []
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/Judge'
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: Judges resend invite create
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
JudgeRequest:
type: object
properties:
event:
type: integer
user:
type:
- integer
- 'null'
title: Judge
email:
title: Judge email
oneOf:
- type: string
format: email
maxLength: 254
- type: string
maxLength: 0
display_name:
type: string
maxLength: 200
required:
- event
PaginatedJudgeList:
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/Judge'
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
PatchedJudgeRequest:
type: object
properties:
event:
type: integer
user:
type:
- integer
- 'null'
title: Judge
email:
title: Judge email
oneOf:
- type: string
format: email
maxLength: 254
- type: string
maxLength: 0
display_name:
type: string
maxLength: 200
Judge:
type: object
properties:
id:
type: integer
readOnly: true
event:
type: integer
user:
type:
- integer
- 'null'
title: Judge
username:
type: string
readOnly: true
email:
title: Judge email
oneOf:
- type: string
format: email
maxLength: 254
- type: string
maxLength: 0
display_name:
type: string
maxLength: 200
invite_url:
type: string
description: 'The personal scoring link, for accountless (email) judges only.
A judge with an account signs in normally, so there is no link to hand
out; exposing one would be a second, weaker way into their scores.'
readOnly: true
invited_at:
type: string
format: date-time
readOnly: true
accepted_at:
type:
- string
- 'null'
format: date-time
readOnly: true
has_name_consent:
type: boolean
description: True once this judge agreed to be named on public project pages.
readOnly: true
needs_name_consent:
type: boolean
description: True until the judge has answered the naming question, either way.
readOnly: true
public_name:
type: string
description: 'The byline for public pages — empty unless the judge agreed to it.
Publishing a name needs BOTH signatures: the organizer''s, who typed
``display_name`` on the invite under their own reputation, and the
judge''s own consent. Nothing is copied onto the Score at write time, so
withdrawing consent empties the byline on every page at once — the
quote itself stays, unsigned.'
readOnly: true
name_consent_at:
type:
- string
- 'null'
format: date-time
readOnly: true
title: Agreed to be named at
name_consent_answered_at:
type:
- string
- 'null'
format: date-time
readOnly: true
title: Naming question answered at
required:
- accepted_at
- event
- has_name_consent
- id
- invite_url
- invited_at
- name_consent_answered_at
- name_consent_at
- needs_name_consent
- public_name
- username
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