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.
openapi: 3.2.0
info:
title: Clusterhack Dev Print API
version: 1.3.0
description: 'Operations tagged print 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: Print
paths:
/api/v1/print/checkout/:
post:
operationId: print_checkout_create
description: Opens a one-off Stripe session for a print order at the published price. No account needed for a poster; a guest supplies `address.email`. Badges and certificates print the guest list, so only an administrator of the evening can order them (403 otherwise). The organizer may have refused paper for the room (`allow_print`), then 403.
summary: Order a paper copy of the evening (poster, badges, certificates)
tags:
- Print
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/PrintCheckoutRequestRequest'
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/PrintCheckoutRequestRequest'
multipart/form-data:
schema:
$ref: '#/components/schemas/PrintCheckoutRequestRequest'
required: true
security:
- jwtAuth: []
- tokenAuth: []
- cookieAuth: []
- basicAuth: []
- {}
responses:
'200':
description: No response body
'400':
description: No response body
'403':
description: No response body
'503':
description: No response body
'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.
components:
schemas:
PrintCheckoutRequestRequest:
type: object
properties:
event:
type: string
minLength: 1
description: event slug
product:
$ref: '#/components/schemas/ProductEnum'
quantity:
type: integer
maximum: 20
minimum: 1
address:
type: object
additionalProperties: {}
description: name, line1, line2?, city, state?, postcode, country, email, phone?
required:
- address
- event
- product
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
ProductEnum:
enum:
- poster_a3
- poster_a2
- badges50
- certs10
type: string
description: '* `poster_a3` - poster_a3
* `poster_a2` - poster_a2
* `badges50` - badges50
* `certs10` - certs10'
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