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.”
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
| HTTP | error | message |
|---|---|---|
| 405 | method_not_allowed | GET only. |