caduh

Posts tagged “api

Tiny explainers grouped by topic. Spend less time Googling, more time building.

OpenAPI Done Right — contracts, not just docs

Practical patterns for rock‑solid APIs: spec styleguide, reusable components, Problem Details errors, auth & versioning, pagination, idempotency, testing, and CI gates. Includes a copy‑paste 3.1 template.

devapiopenapi

Google Ads API — the essentials (tiny playbook)

Developer token + OAuth, account hierarchy (manager vs customer), GAQL for reporting, safe mutations with validate_only/partial_failure, quotas, and offline conversions.

devapiads

A Practical Guide to API Error Handling

Status codes you should actually use, consistent error shapes (Problem Details, JSend), and production‑ready logging/observability—so clients get clear signals and you get actionable telemetry.

devapihttp