Implement the redesigned REST write endpoints for the simple table resources: person, organisation, event, event_type, presentation_type, category. Might want one for every table.
Each gets three routes:
POST /{resource} — create (insert)
PATCH /{resource}/{id} — update
DELETE /{resource}/{id} — delete
Refactor import.Table (currently a single upsert function) into separate create/update/delete handlers.
Decide on the :Hold 'SQL.db' lock: keep the global lock for now or narrow it per-table.
To do:
Implement the redesigned REST write endpoints for the simple table resources:
person,organisation,event,event_type,presentation_type,category. Might want one for every table.Each gets three routes:
POST /{resource}— create (insert)PATCH /{resource}/{id}— updateDELETE /{resource}/{id}— deleteRefactor
import.Table(currently a single upsert function) into separate create/update/delete handlers.Decide on the
:Hold 'SQL.db'lock: keep the global lock for now or narrow it per-table.To do: