pixdress Admin API
The Admin API from pixdress — 30 operation(s) for admin.
The Admin API from pixdress — 30 operation(s) for admin.
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/pixdress-de:pixdress-de-admin-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: pixdress Admin API
version: 0.1.0
tags:
- name: Admin
paths:
/admin/design/{design_id}/emma-mockup:
post:
summary: Admin Emma Mockup
description: 'Admin/Mama-only: Model- und Szenenbilder fuer ein Design erzeugen und an
community_designs.lifestyle_mockups haengen (erscheinen im Shop NACH
Front/Back). Laeuft im Hintergrund (Printful, 0 fal: die Gesichter sind
einmalig eingerichtet).
Body {"looks": ["w2_sweat:front", ...]} — ohne Body die Emma-Bilder.
Bis 05.10.2026 las der Knopf die Panels aus dem Studio-Job
(output/designs//). Die raeumt der naechtliche Aufraeumer nach 30 Tagen
weg — bei aelteren Designs lief der Knopf still ins Leere. Jetzt:
eingefrorener Shop-Snapshot (bild_fuer_design) und ein Status, den der
Knopf abfragt.'
operationId: admin_emma_mockup_admin_design__design_id__emma_mockup_post
parameters:
- name: design_id
in: path
required: true
schema:
type: string
title: Design Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
get:
summary: Admin Emma Mockup Status
description: 'Status fuer den Knopf (Datei statt Speicher: zwei gunicorn-Worker).'
operationId: admin_emma_mockup_status_admin_design__design_id__emma_mockup_get
parameters:
- name: design_id
in: path
required: true
schema:
type: string
title: Design Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
/admin/design/{design_id}/zusatzbild-entfernen:
post:
summary: Admin Zusatzbild Entfernen
description: 'Ein Zusatzbild (lifestyle_mockups) wieder aus der Galerie nehmen.
Die Datei bleibt liegen — nur die Anzeige verschwindet.'
operationId: admin_zusatzbild_entfernen_admin_design__design_id__zusatzbild_entfernen_post
parameters:
- name: design_id
in: path
required: true
schema:
type: string
title: Design Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
/admin/login:
post:
summary: Admin Login
description: Admin login from anywhere - sets studio cookie and redirects back.
operationId: admin_login_admin_login_post
requestBody:
content:
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/Body_admin_login_admin_login_post'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
/admin/logout:
get:
summary: Admin Logout
description: 'Logout admin - clear studio cookie.
Loescht die Sitzung jetzt auch serverseitig. Vorher wurde nur das Cookie im
Browser entfernt — der Wert selbst blieb gueltig, weil er fest aus dem
Passwort abgeleitet war. Wer ihn irgendwo notiert hatte, kam danach weiter
hinein.'
operationId: admin_logout_admin_logout_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- Admin
/admin/analytics:
get:
summary: Admin Analytics
description: 'Admin analytics dashboard — traffic, preferences, funnel, devices.
Time window is selected via `period` (today | yesterday | 7 | 30 | 90 | 365).
Legacy `?days=N` links still work and map to the nearest period token.'
operationId: admin_analytics_admin_analytics_get
parameters:
- name: period
in: query
required: false
schema:
type: string
default: '30'
title: Period
- name: days
in: query
required: false
schema:
anyOf:
- type: integer
- type: 'null'
title: Days
- name: lernen
in: query
required: false
schema:
type: string
default: winter
title: Lernen
responses:
'200':
description: Successful Response
content:
text/html:
schema:
type: string
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
/admin/analytics/bots:
get:
summary: Admin Analytics Bots
description: 'Bot-Reiter als eigenes Bruchstueck — bewusst NICHT im Dashboard-Render.
Die Auswertung liest die nginx-Logs (~35.000 Zeilen pro Tag) und braucht
dafuer Sekunden. Wuerde sie in `admin_analytics` mitlaufen, waere jeder
Aufruf des Dashboards genauso langsam, obwohl der Reiter meist gar nicht
angesehen wird. Alpine holt ihn deshalb erst beim ersten Klick nach.'
operationId: admin_analytics_bots_admin_analytics_bots_get
parameters:
- name: days
in: query
required: false
schema:
type: integer
default: 1
title: Days
responses:
'200':
description: Successful Response
content:
text/html:
schema:
type: string
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
/admin/analytics/wege:
get:
summary: Admin Analytics Wege
description: 'Reiter „Wege" (28.10.2026): je Besucher eine Zeitleiste, per htmx geladen.
Eigenes Bruchstueck wie der Bot-Reiter: ueber 30 Tage liest es rund 20.000
Ereignisse, das soll nicht jeden Dashboard-Aufruf bremsen. `def` statt
`async def`, damit die SQLite-Arbeit in einem Thread laeuft und nicht den
Worker anhaelt, der gerade echte Besucher bedient.'
operationId: admin_analytics_wege_admin_analytics_wege_get
parameters:
- name: period
in: query
required: false
schema:
type: string
default: today
title: Period
- name: ziel
in: query
required: false
schema:
type: string
default: ''
title: Ziel
responses:
'200':
description: Successful Response
content:
text/html:
schema:
type: string
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
/api/admin/active-now:
get:
summary: Admin Active Now Api
description: Lightweight JSON poll used by the dashboard for live 'active now' updates.
operationId: admin_active_now_api_api_admin_active_now_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- Admin
/api/admin/cloudflare:
get:
summary: Admin Cloudflare Panel
description: 'Cloudflare-Reiter im Analytics-Dashboard (wird per htmx nachgeladen).
Bewusst `def` statt `async def`: Die Cloudflare-Abfragen sind blockierende
HTTP-Aufrufe von 2-6 Sekunden. In einer async-Route wuerden sie den ganzen
Worker anhalten — bei zwei gunicorn-Workern heisst das, dass waehrenddessen
echte Besucher warten. Als sync-Route legt FastAPI sie in einen Thread.
Ohne `day` wird GESTERN gezeigt, nicht heute: Ein angebrochener Tag sieht
in jeder Quote anders aus als ein vollstaendiger, und der Vergleich mit der
eigenen Analytik waere schief.'
operationId: admin_cloudflare_panel_api_admin_cloudflare_get
parameters:
- name: day
in: query
required: false
schema:
type: string
default: ''
title: Day
responses:
'200':
description: Successful Response
content:
text/html:
schema:
type: string
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
/admin/analytics/purge-test-data:
post:
summary: Admin Purge Test Data
description: 'Delete tracking rows for admin/test users.
scope=''excluded_emails'' -> delete only rows tied to TRACKING_EXCLUDED_EMAILS users.
scope=''all'' -> wipe ALL analytics rows (pre-launch clean slate).'
operationId: admin_purge_test_data_admin_analytics_purge_test_data_post
requestBody:
content:
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/Body_admin_purge_test_data_admin_analytics_purge_test_data_post'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
/admin/archive-events:
post:
summary: Admin Archive Events
description: 'Run the monthly archive script (YYYY-MM), default: month before current.'
operationId: admin_archive_events_admin_archive_events_post
requestBody:
content:
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/Body_admin_archive_events_admin_archive_events_post'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
/admin/designs:
get:
summary: Admin Designs Page
description: 'Admin page: view and manage all existing designs.'
operationId: admin_designs_page_admin_designs_get
responses:
'200':
description: Successful Response
content:
text/html:
schema:
type: string
tags:
- Admin
/admin/users:
get:
summary: Admin Users Page
description: 'Admin page: overview of all registered users/designers.'
operationId: admin_users_page_admin_users_get
responses:
'200':
description: Successful Response
content:
text/html:
schema:
type: string
tags:
- Admin
/admin/merchize/{order_id}.zip:
get:
summary: Admin Merchize Zip
description: Druckdateien eines Merchize-Auftrags (auftraege/merchize/.zip, nicht oeffentlich).
operationId: admin_merchize_zip_admin_merchize__order_id__zip_get
parameters:
- name: order_id
in: path
required: true
schema:
type: string
title: Order Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
/admin/printful/submit/{order_id}:
post:
summary: Admin Printful Submit
description: 'Manually submit an order to Printful (e.g. after auto-submit failure
or when ENABLE_PRINTFUL_AUTO_SUBMIT is off). Returns JSON status.'
operationId: admin_printful_submit_admin_printful_submit__order_id__post
parameters:
- name: order_id
in: path
required: true
schema:
type: string
title: Order Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
/admin/printful/cancel/{order_id}:
post:
summary: Admin Printful Cancel
description: Cancel a Printful Draft (only works while still in draft state).
operationId: admin_printful_cancel_admin_printful_cancel__order_id__post
parameters:
- name: order_id
in: path
required: true
schema:
type: string
title: Order Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
/admin/buchhaltung:
get:
summary: Admin Buchhaltung
description: 'Admin page: invoice archive for accounting / Steuerberater handover.
Lists all invoices, optionally filtered by year/month, with links to view,
plus CSV + ZIP exports of the filtered set.
Testbestellungen (kein echter Zahlungseingang, markiert per
scripts/maREDACTED_STRIPE_KEY.py) sind standardmaessig ausgeblendet — sonst
zaehlt die Entwicklungsphase als Umsatz. `?tests=1` blendet sie wieder ein.
Verkaufte Gutscheine stehen in einer eigenen Tabelle: sie haben keine
Rechnung, sind aber Geldeingang.'
operationId: admin_buchhaltung_admin_buchhaltung_get
parameters:
- name: year
in: query
required: false
schema:
type: string
default: ''
title: Year
- name: month
in: query
required: false
schema:
type: string
default: ''
title: Month
- name: tests
in: query
required: false
schema:
type: string
default: ''
title: Tests
responses:
'200':
description: Successful Response
content:
text/html:
schema:
type: string
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
/admin/buchhaltung/export.csv:
get:
summary: Admin Buchhaltung Csv
description: CSV export of invoices for the Steuerberater (Excel/DATEV-friendly).
operationId: admin_buchhaltung_csv_admin_buchhaltung_export_csv_get
parameters:
- name: year
in: query
required: false
schema:
type: string
default: ''
title: Year
- name: month
in: query
required: false
schema:
type: string
default: ''
title: Month
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
/admin/buchhaltung/export.zip:
get:
summary: Admin Buchhaltung Zip
description: ZIP-download of all invoice HTML snapshots for the filtered period.
operationId: admin_buchhaltung_zip_admin_buchhaltung_export_zip_get
parameters:
- name: year
in: query
required: false
schema:
type: string
default: ''
title: Year
- name: month
in: query
required: false
schema:
type: string
default: ''
title: Month
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
/admin/finanzen:
get:
summary: Admin Finances Page
description: 'Admin page: financial overview — sales, costs, payouts, net profit.
Testbestellungen (kein echter Zahlungseingang, markiert von
scripts/maREDACTED_STRIPE_KEY.py) sind draussen — sonst zaehlt die
Entwicklungsphase als Umsatz. `?tests=1` blendet sie wieder ein.'
operationId: admin_finances_page_admin_finanzen_get
parameters:
- name: tests
in: query
required: false
schema:
type: string
default: ''
title: Tests
responses:
'200':
description: Successful Response
content:
text/html:
schema:
type: string
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
/admin/design/open/{design_id}:
get:
summary: Admin Open Design In Studio
description: 'Open a community design in the studio. Admins may open ANY design; a
logged-in designer may open their OWN (Mein Bereich -> Designverwaltung).
Creates a job from the design''s panels if none exists yet.'
operationId: admin_open_design_in_studio_admin_design_open__design_id__get
parameters:
- name: design_id
in: path
required: true
schema:
type: string
title: Design Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
/admin/mockup-editor:
get:
summary: Admin Mockup Editor
description: 'Admin-only page: configure text overlay positions on community design mockups.'
operationId: admin_mockup_editor_admin_mockup_editor_get
responses:
'200':
description: Successful Response
content:
text/html:
schema:
type: string
tags:
- Admin
/api/admin/save-text-template:
post:
summary: Api Admin Save Text Template
description: Save text template config for a community design.
operationId: api_admin_save_text_template_api_admin_save_text_template_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- Admin
/api/admin/text-template/{design_id}:
get:
summary: Api Admin Get Text Template
description: Get saved text template for a community design.
operationId: api_admin_get_text_template_api_admin_text_template__design_id__get
parameters:
- name: design_id
in: path
required: true
schema:
type: string
title: Design Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
/api/admin/design/{design_id}/status:
post:
summary: Api Admin Toggle Design Status
description: 'Admin ODER Owner: toggle community design status.'
operationId: api_admin_toggle_design_status_api_admin_design__design_id__status_post
parameters:
- name: design_id
in: path
required: true
schema:
type: string
title: Design Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
/api/admin/design/{design_id}/update:
post:
summary: Api Admin Update Design
description: 'Admin ODER Owner: update community design title and description.'
operationId: api_admin_update_design_api_admin_design__design_id__update_post
parameters:
- name: design_id
in: path
required: true
schema:
type: string
title: Design Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
/api/admin/payout/{payout_id}/status:
post:
summary: Api Admin Payout Status
description: 'Admin: update payout status (completed, failed, cancelled).'
operationId: api_admin_payout_status_api_admin_payout__payout_id__status_post
parameters:
- name: payout_id
in: path
required: true
schema:
type: string
title: Payout Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
/api/admin/community-designs/{design_id}:
delete:
summary: Api Admin Delete Community Design
description: 'Admin ODER Owner: permanently delete a community design and related records.'
operationId: api_admin_delete_community_design_api_admin_community_designs__design_id__delete
parameters:
- name: design_id
in: path
required: true
schema:
type: string
title: Design Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
/api/admin/community-designs/{design_id}/variant-group:
post:
summary: Api Admin Set Variant Group
description: 'Group two community designs as color variants. Body: {"other_id": "..."}.'
operationId: api_admin_set_variant_group_api_admin_community_designs__design_id__variant_group_post
parameters:
- name: design_id
in: path
required: true
schema:
type: string
title: Design Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
delete:
summary: Api Admin Remove From Variant Group
description: Remove a community design from its variant group.
operationId: api_admin_remove_from_variant_group_api_admin_community_designs__design_id__variant_group_delete
parameters:
- name: design_id
in: path
required: true
schema:
type: string
title: Design Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
/api/admin/design-jobs/{job_id}:
delete:
summary: Api Admin Delete Design Job
description: 'Admin: permanently delete a design job (no session check).'
operationId: api_admin_delete_design_job_api_admin_design_jobs__job_id__delete
parameters:
- name: job_id
in: path
required: true
schema:
type: string
title: Job Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
components:
schemas:
Body_admin_archive_events_admin_archive_events_post:
properties:
month:
type: string
title: Month
default: ''
type: object
title: Body_admin_archive_events_admin_archive_events_post
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
Body_admin_purge_test_data_admin_analytics_purge_test_data_post:
properties:
scope:
type: string
title: Scope
default: excluded_emails
type: object
title: Body_admin_purge_test_data_admin_analytics_purge_test_data_post
Body_admin_login_admin_login_post:
properties:
password:
type: string
title: Password
redirect:
type: string
title: Redirect
default: /design
type: object
required:
- password
title: Body_admin_login_admin_login_post
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