API Reference
Appearance
API Reference
JSON endpoints for automation and integration.
Read
# Get page content curl "https://archive.ejfox.com/api.php?action=query&format=json&titles=Projects&prop=revisions&rvprop=content" # List category members curl "https://archive.ejfox.com/api.php?action=query&format=json&list=categorymembers&cmtitle=Category:Projects" # Search curl "https://archive.ejfox.com/api.php?action=query&format=json&list=search&srsearch=election" # Recent changes curl "https://archive.ejfox.com/api.php?action=query&format=json&list=recentchanges&rclimit=10" | jq -r '.query.recentchanges[].title'
Analyze
# Missing pages (knowledge gaps) curl "https://archive.ejfox.com/api.php?action=query&format=json&list=querypage&qppage=Wantedpages" | jq -r '.query.querypage.results[].title' # What links to this page curl "https://archive.ejfox.com/api.php?action=query&format=json&list=backlinks&bltitle=Technical" | jq -r '.query.backlinks[].title' # Archive stats curl "https://archive.ejfox.com/api.php?action=query&format=json&meta=siteinfo&siprop=statistics" | jq '.query.statistics'
Write
# Upload files (requires auth) curl -F "[email protected]" -F "filename=project_diagram.png" "https://archive.ejfox.com/api.php?action=upload" # Reference in pages [[File:project_diagram.png|thumb|Architecture overview]]
| ⚡ Technical | |
|---|---|
| Core | Technical · CLI · Dotfiles · Nvim · SSH · VPS |
| Tools | Sketchybar · ArchiveBox · ThinkPad Linux |
| Systems | Automation · Personal APIs · Quantified Self |
| Reference | Runbooks · New Computer Runbook · Syntax guide |