Docs
Endpoints · Spec

GET/v1/openapi.json

This OpenAPI document: one source of truth for the docs.

What it does

This document, read-only and public: no key. Cached for five minutes (Cache-Control: public, max-age=300). The docs pages are drawn from it, and the suite checks it against the API's routes.

No key: it is public. Any method but GET answers 405 method_not_allowed: “GET only.”

GET /v1/openapi.jsonCopy
curl "https://printwisp.com/v1/openapi.json"
<?php
$answer = json_decode(file_get_contents('https://printwisp.com/v1/openapi.json'), true);
// Node
const r = await fetch('https://printwisp.com/v1/openapi.json');
const answer = await r.json();
import requests

r = requests.get(
    "https://printwisp.com/v1/openapi.json",
)
answer = r.json()

Response

200 application/json. The OpenAPI 3.1 document.

Errors

HTTPerrormessage
405method_not_allowedGET only.
{ "error": "method_not_allowed", "message": "GET only." }

← Every routeQuickstart →