Vai al contenuto

L’API di PaxHelm. I tuoi dati, a portata di mano.

Le attività, i progetti, le note, i promemoria, i solleciti e le persone del tuo spazio, via HTTPS e in JSON, con gli stessi permessi che hai nell’app. Tramite l’API non si elimina nulla.

Autenticazione

Crea un token personale in Impostazioni › Sicurezza › API e invialo con ogni richiesta: Authorization: Bearer pxa_…. Il token si vede una sola volta, può scadere e si revoca in qualsiasi momento. Ambiti: pdash.read, pdash.write.

curl -H "Authorization: Bearer pxa_…" https://paxhelm.com/api/v1/tasks?status=open

Elenchi, versioni e limiti

Gli elenchi arrivano a pagine, dai più recenti ai più vecchi. Ogni modifica porta l’expectedVersion letto e risponde 409 se il record è cambiato nel frattempo. Fino a 120 richieste al minuto per token; corpi fino a 64 KB.

Endpoint

Le descrizioni degli endpoint sono in inglese, come il documento OpenAPI.

MetodoPercorsoAmbitoCosa fa
GET/api/v1/taskspdash.readList tasks, newest first
POST/api/v1/taskspdash.writeCreate a task
GET/api/v1/tasks/{id}pdash.readGet one task
PATCH/api/v1/tasks/{id}pdash.writeChange a task (send only the fields to change, with expectedVersion)
POST/api/v1/tasks/{id}/completepdash.writeComplete a task
POST/api/v1/tasks/{id}/reopenpdash.writeReopen a task
GET/api/v1/projectspdash.readList projects, newest first
POST/api/v1/projectspdash.writeCreate a project
GET/api/v1/projects/{id}pdash.readGet one project
PATCH/api/v1/projects/{id}pdash.writeChange a project (send only the fields to change, with expectedVersion)
GET/api/v1/notespdash.readList notes, newest first
POST/api/v1/notespdash.writeCreate a note
GET/api/v1/notes/{id}pdash.readGet one note
PATCH/api/v1/notes/{id}pdash.writeChange a note (send only the fields to change, with expectedVersion)
GET/api/v1/reminderspdash.readList reminders, newest first
POST/api/v1/reminderspdash.writeCreate a reminder
GET/api/v1/reminders/{id}pdash.readGet one reminder
PATCH/api/v1/reminders/{id}pdash.writeChange a reminder (send only the fields to change, with expectedVersion)
POST/api/v1/reminders/{id}/completepdash.writeComplete a reminder
POST/api/v1/reminders/{id}/snoozepdash.writeSnooze a reminder
GET/api/v1/follow-upspdash.readList follow-ups, newest first
POST/api/v1/follow-upspdash.writeCreate a follow-up
GET/api/v1/follow-ups/{id}pdash.readGet one follow-up
PATCH/api/v1/follow-ups/{id}pdash.writeChange a follow-up (send only the fields to change, with expectedVersion)
POST/api/v1/follow-ups/{id}/closepdash.writeClose a follow-up
GET/api/v1/peoplepdash.readList people, newest first
POST/api/v1/peoplepdash.writeCreate a person
GET/api/v1/people/{id}pdash.readGet one person
PATCH/api/v1/people/{id}pdash.writeChange a person (send only the fields to change, with expectedVersion)

Webhook

PaxHelm avvisa un tuo indirizzo HTTPS quando qualcosa cambia, con una firma HMAC-SHA256 su ogni avviso e nuovi tentativi quando il tuo server non risponde. Eventi:

  • task.created
  • task.updated
  • task.completed
  • project.created
  • project.updated
  • project.completed
  • note.created
  • note.updated
  • note.archived
  • reminder.created
  • reminder.updated
  • reminder.completed
  • follow_up.created
  • follow_up.updated
  • follow_up.closed