Total Parks Health API

The health API from Total Parks — 1 operation(s) for health.

GitHub OpenAPI

Operations 1

GET /health Health Check #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/totalparks-com-au:totalparks-com-au-health-api"
All apis
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.

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.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

totalparks-com-au-health-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Total Parks Public Health API
  description: 'Total Parks public API for park discovery, availability, carts, trips, and bookings. Agents should prefer the MCP connector for park Q&A, pet and rig checks, and planning calendars.


    ## Versioning and deprecation


    The current public REST surface is major version 1. Unversioned URL paths (/carts, /properties, and other existing routes) are v1.


    Send optional header `API-Version: 1`, or omit the header. Both select v1. An unknown major returns HTTP 400 with application/problem+json.


    Additive, backward-compatible changes stay on v1. Breaking changes require a new major version.


    When an operation is retired it is marked `deprecated: true` in this document. Responses then include RFC 9745 `Deprecation: @`, RFC 8594 `Sunset: `, and `Link` with `rel="deprecation"`. Deprecated operations remain available for at least 90 days after Sunset is first advertised. The current v1 surface is not deprecated.


    ## Rate limits


    Responses carry the IETF RateLimit fields (draft-ietf-httpapi-ratelimit-headers). `RateLimit-Policy` names each quota policy with its quota `q` and window `w` in seconds. `RateLimit` gives the remaining quota `r` and the seconds `t` until the window resets, for example `RateLimit-Policy: "default";q=300;w=60` and `RateLimit: "default";r=297;t=42`.


    The `default` policy is an API-wide budget per caller: anonymous callers are counted per client IP, and PAT or OAuth callers per token. Cart, auth, and booking operations add a tighter `endpoint` policy. When a policy is exceeded the API may answer HTTP 429 with `Retry-After` in seconds. Wait that long before retrying, and pace requests so `r` stays above zero. The policy values are hints, not a service guarantee.'
  version: 1.0.0
servers:
- url: https://api.totalparks.com.au
  description: Total Parks Public API
tags:
- name: Health
paths:
  /health:
    get:
      tags:
      - Health
      summary: Health Check
      description: 'Health check verifying Redis, async PostgreSQL, and the public sync read path.


        Returns 200 if all components healthy, 503 if any fail.

        Used by Docker Compose healthcheck, ECS container health checks, and ALB target groups.'
      operationId: health_check_health_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HealthResponse'
      parameters:
      - $ref: '#/components/parameters/ApiVersion'
components:
  parameters:
    ApiVersion:
      name: API-Version
      in: header
      required: false
      description: Major API version. Omit or send 1 for the current v1 surface. Retired operations use RFC 9745 Deprecation and RFC 8594 Sunset headers.
      schema:
        type: string
        enum:
        - '1'
        default: '1'
  schemas:
    HealthResponse:
      properties:
        status:
          type: string
          title: Status
        version:
          type: string
          title: Version
        checks:
          additionalProperties:
            $ref: '#/components/schemas/ComponentHealth'
          type: object
          title: Checks
          default: {}
      type: object
      required:
      - status
      - version
      title: HealthResponse
      description: Response model for /health endpoint.
    ComponentHealth:
      properties:
        status:
          type: string
          title: Status
        latency_ms:
          anyOf:
          - type: number
          - type: 'null'
          title: Latency Ms
        error:
          anyOf:
          - type: string
          - type: 'null'
          title: Error
      type: object
      required:
      - status
      title: ComponentHealth
      description: Health status of an individual component.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
      description: Operations that list scopes accept a personal access token (tp_pat_...) carrying those scopes, or a signed-in session token. Signed-in users create personal access tokens, and choose their scopes, at https://totalparks.com.au/account/tokens. Operations that list no scopes expect a signed-in session token.
    oauth2:
      type: oauth2
      description: 'OAuth 2.0 Authorization Code flow. PKCE with S256 is required. Authorization server metadata (RFC 8414): https://api.totalparks.com.au/.well-known/oauth-authorization-server. Protected resource metadata (RFC 9728): https://api.totalparks.com.au/.well-known/oauth-protected-resource. Request only the scopes the operation lists.'
      flows:
        authorizationCode:
          authorizationUrl: https://api.totalparks.com.au/oauth/authorize
          tokenUrl: https://api.totalparks.com.au/oauth/token
          refreshUrl: https://api.totalparks.com.au/oauth/token
          scopes:
            bookings:read: View your booking history and booking details
            carts:write: Create, modify, prepare, and confirm carts on your behalf
            mcp:read: Read public Total Parks MCP property facts and stay assessments
            tokens:manage: Create, list, rename, and revoke your personal access tokens
            trips:read: View your saved trips
            trips:write: Create, change, and delete your saved trips
    cartToken:
      type: http
      scheme: bearer
      description: Guest cart token (tp_cart_...) returned by POST /carts. It opens one cart only and is not an OAuth access token.