Skip to content

Get this OpenAPI document

get /api/v1/openapi.json

The OpenAPI 3.1 description of the public API. No authentication; cached for 5 minutes.

Responses

200

OpenAPI 3.1 document

application/json

Examples

curl

curl -X GET 'https://app.pacspilot.com/api/v1/openapi.json'

JavaScript

const res = await fetch("https://app.pacspilot.com/api/v1/openapi.json", {
  method: "GET",
  headers: {
  },
});
console.log(res.status, await res.text());

Python

import os
import requests

res = requests.request(
    "GET",
    "https://app.pacspilot.com/api/v1/openapi.json",
    headers={},
)
print(res.status_code, res.text)