2026-02-10 19:40:52 -08:00
|
|
|
---
|
|
|
|
|
name: org-agenda-api-production
|
|
|
|
|
description: Use when investigating production org-agenda-api state, testing endpoints, or debugging production issues
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
# org-agenda-api Production Access
|
|
|
|
|
|
|
|
|
|
## Overview
|
|
|
|
|
|
|
|
|
|
Access the production org-agenda-api instance at https://colonelpanic-org-agenda.fly.dev/ for debugging, testing, or verification.
|
|
|
|
|
|
|
|
|
|
## Credentials
|
|
|
|
|
|
2026-02-15 11:43:50 -08:00
|
|
|
Get the password from `pass`:
|
2026-02-10 19:40:52 -08:00
|
|
|
```bash
|
2026-02-15 11:43:50 -08:00
|
|
|
pass show org-agenda-api/imalison
|
2026-02-10 19:40:52 -08:00
|
|
|
```
|
|
|
|
|
|
2026-02-15 11:43:50 -08:00
|
|
|
Username is currently `imalison`.
|
2026-02-10 19:40:52 -08:00
|
|
|
|
|
|
|
|
## Quick Access with just
|
|
|
|
|
|
2026-02-15 11:43:50 -08:00
|
|
|
This repo includes a `justfile` under `~/dotfiles/org-agenda-api` with pre-configured commands:
|
2026-02-10 19:40:52 -08:00
|
|
|
|
|
|
|
|
```bash
|
2026-02-15 11:43:50 -08:00
|
|
|
cd ~/dotfiles/org-agenda-api
|
|
|
|
|
just health
|
|
|
|
|
just get-all-todos
|
|
|
|
|
just get-todays-agenda
|
|
|
|
|
just agenda
|
|
|
|
|
just agenda-files
|
|
|
|
|
just todo-states
|
|
|
|
|
just create-todo "Test todo"
|
2026-02-10 19:40:52 -08:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Manual curl
|
|
|
|
|
|
|
|
|
|
```bash
|
2026-02-15 11:43:50 -08:00
|
|
|
curl -s -u "imalison:$(pass show org-agenda-api/imalison | head -1)" \
|
2026-02-10 19:40:52 -08:00
|
|
|
https://colonelpanic-org-agenda.fly.dev/health | jq
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Key Endpoints
|
|
|
|
|
|
|
|
|
|
| Endpoint | Method | Description |
|
|
|
|
|
|----------|--------|-------------|
|
|
|
|
|
| /health | GET | Health check |
|
|
|
|
|
| /version | GET | API version |
|
|
|
|
|
| /get-all-todos | GET | All TODO items |
|
|
|
|
|
| /agenda | GET | Agenda (span=day\|week) |
|
|
|
|
|
| /capture | POST | Create entry |
|
|
|
|
|
| /update | POST | Update heading |
|
|
|
|
|
| /complete | POST | Complete item |
|
|
|
|
|
| /delete | POST | Delete heading |
|