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: pixdress Abstimmung API
version: 0.1.0
tags:
- name: Abstimmung
paths:
/abstimmung:
get:
summary: Abstimmung Uebersicht
description: Alle laufenden Abstimmungen — eine je Kollektion.
operationId: abstimmung_uebersicht_abstimmung_get
responses:
'200':
description: Successful Response
content:
text/html:
schema:
type: string
tags:
- Abstimmung
/abstimmung/{kollektion}:
get:
summary: Abstimmung
description: 'Die woechentliche Abstimmung EINER Kollektion — der einzige Ort, an dem
sich die Seite von selbst aendert.
Je Kollektion und nicht global: Wer ueber eine Savage-Anzeige kommt, will
ueber Savage-Motive abstimmen. Ein gemischter Stimmzettel aus "den neuesten
Designs" haette weder zur Anzeige gepasst noch zu dem, was er sehen wollte.'
operationId: abstimmung_abstimmung__kollektion__get
parameters:
- name: kollektion
in: path
required: true
schema:
type: string
title: Kollektion
responses:
'200':
description: Successful Response
content:
text/html:
schema:
type: string
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Abstimmung
/api/abstimmung/stimme:
post:
summary: Api Abstimmung Stimme
description: 'Eine Stimme abgeben. Antwortet mit dem neuen Zwischenstand.
Der Zwischenstand geht bewusst SOFORT zurueck: die Belohnung fuers
Mitmachen ist zu sehen, wo man selbst steht. Kaeme sie erst am Montag,
tippt niemand.'
operationId: api_abstimmung_stimme_api_abstimmung_stimme_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- Abstimmung
/api/abstimmung/ergebnis-mailen:
post:
summary: Api Abstimmung Ergebnis Mailen
description: '„Schick mir das Ergebnis am Montag" — eine Adresse, eine Auskunft.
Der Sinn ist nicht die Adresse allein, sondern der Takt: Diese Zusage gilt
fuer GENAU DIESE Woche. Wer das Ergebnis der naechsten Woche will, stimmt
naechste Woche wieder ab. Ein Abo waere bequemer und schwaecher — es
naehme genau den Grund weg, wiederzukommen, und waere rechtlich ein
Newsletter mit Double-Opt-in statt einer bestellten Auskunft.
Kein eigener Tagesdeckel wie bei /api/r/vormerkung: hier entsteht kein
Motiv und damit keine Rechenkosten. Der IP-Riegel bleibt, damit niemand
die Liste mit erfundenen Adressen fuellt.'
operationId: api_abstimmung_ergebnis_mailen_api_abstimmung_ergebnis_mailen_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- Abstimmung
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError