API v1 docs redesign and UI adjustments

contents (3)

This post covers recent website updates (/api/v1/docs/ redesign and UI adjustments).

API v1 docs#

Redesigned /api/v1/docs/ to match the rest of the site

  • Replaced plain headings for bars with endpoint count
  • Converted bunch of Overview stuff into tables
  • Added syntax highlighting for path params, query params, JSON, examples, try
  • Added filter for HTTP methods (ALL, GET, POST, PATCH, DELETE, HEAD)
  • Added curl/fetch (js) examples
  • Updated the try panel style and fixed HEAD method

Site#

  • Unified headers in /api/, /api/bug-reporting/, /contact/, /nip/, /paste/, /redirect/, /sacred/ with Title Case headings
  • Updated code blocks on /nip/ and /sacred/ to use the correct with copy buttons

Other changes#

  • Minor copy adjustments on /home/ and /nip/