GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — python/templates/API_SPEC.md at master · flypythoncom/python

Expand file tree

/

API_SPEC.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
41 lines (34 loc) · 651 Bytes
/

API_SPEC.md

Copy path

File metadata and controls

41 lines (34 loc) · 651 Bytes
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Public API Specification

  • Endpoint: POST /v1/transactions
  • Authentication: Bearer <api_key>
  • Idempotency: Supported via Idempotency-Key header

Request Contract

{
  "user_id": 101,
  "amount": 99.95,
  "currency": "USD",
  "status": "pending"
}

Response Contract (200 OK)

{
  "transaction_id": "txn_8f7b2c",
  "user_id": 101,
  "amount": 99.95,
  "currency": "USD",
  "status": "pending",
  "created_at": "2026-09-02T12:00:00Z"
}

Error Contract (4xx / 5xx)

{
  "error": {
    "code": "INVALID_PARAM",
    "message": "amount must be greater than 0",
    "field": "amount"
  }
}
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.