PaxHelm の API。 あなたのデータを、すぐ手の届くところに。
ワークスペースのタスク、プロジェクト、メモ、リマインダー、フォローアップ、人物を HTTPS と JSON で。アプリと同じ権限で使えます。API から削除できるものはありません。
認証
設定 › セキュリティ › API で個人トークンを作成し、毎回のリクエストで送信します:Authorization: Bearer pxa_…。トークンは一度だけ表示され、有効期限を付けられ、いつでも取り消せます。スコープ:pdash.read, pdash.write。
curl -H "Authorization: Bearer pxa_…" https://paxhelm.com/api/v1/tasks?status=openリスト、バージョン、上限
リストは新しい順にページ単位で返ります。変更のたびに読み取った expectedVersion を送り、その間にレコードが変わっていれば 409 を返します。トークンごとに毎分 120 リクエストまで、本文は 64 KB まで。
エンドポイント
エンドポイントの説明は、OpenAPI ドキュメントと同じく英語です。
| メソッド | パス | スコープ | 内容 |
|---|---|---|---|
GET | /api/v1/tasks | pdash.read | List tasks, newest first |
POST | /api/v1/tasks | pdash.write | Create a task |
GET | /api/v1/tasks/{id} | pdash.read | Get one task |
PATCH | /api/v1/tasks/{id} | pdash.write | Change a task (send only the fields to change, with expectedVersion) |
POST | /api/v1/tasks/{id}/complete | pdash.write | Complete a task |
POST | /api/v1/tasks/{id}/reopen | pdash.write | Reopen a task |
GET | /api/v1/projects | pdash.read | List projects, newest first |
POST | /api/v1/projects | pdash.write | Create a project |
GET | /api/v1/projects/{id} | pdash.read | Get one project |
PATCH | /api/v1/projects/{id} | pdash.write | Change a project (send only the fields to change, with expectedVersion) |
GET | /api/v1/notes | pdash.read | List notes, newest first |
POST | /api/v1/notes | pdash.write | Create a note |
GET | /api/v1/notes/{id} | pdash.read | Get one note |
PATCH | /api/v1/notes/{id} | pdash.write | Change a note (send only the fields to change, with expectedVersion) |
GET | /api/v1/reminders | pdash.read | List reminders, newest first |
POST | /api/v1/reminders | pdash.write | Create a reminder |
GET | /api/v1/reminders/{id} | pdash.read | Get one reminder |
PATCH | /api/v1/reminders/{id} | pdash.write | Change a reminder (send only the fields to change, with expectedVersion) |
POST | /api/v1/reminders/{id}/complete | pdash.write | Complete a reminder |
POST | /api/v1/reminders/{id}/snooze | pdash.write | Snooze a reminder |
GET | /api/v1/follow-ups | pdash.read | List follow-ups, newest first |
POST | /api/v1/follow-ups | pdash.write | Create a follow-up |
GET | /api/v1/follow-ups/{id} | pdash.read | Get one follow-up |
PATCH | /api/v1/follow-ups/{id} | pdash.write | Change a follow-up (send only the fields to change, with expectedVersion) |
POST | /api/v1/follow-ups/{id}/close | pdash.write | Close a follow-up |
GET | /api/v1/people | pdash.read | List people, newest first |
POST | /api/v1/people | pdash.write | Create a person |
GET | /api/v1/people/{id} | pdash.read | Get one person |
PATCH | /api/v1/people/{id} | pdash.write | Change a person (send only the fields to change, with expectedVersion) |
Webhook
何かが変わると、PaxHelm はあなたの HTTPS アドレスに通知します。通知ごとに HMAC-SHA256 署名が付き、サーバーが応答しない場合は再試行します。イベント:
task.createdtask.updatedtask.completedproject.createdproject.updatedproject.completednote.creatednote.updatednote.archivedreminder.createdreminder.updatedreminder.completedfollow_up.createdfollow_up.updatedfollow_up.closed