Write one row in the app store
dropyour_records_writeWrite (or replace) ONE row in a graduated app's store, without republishing anything. The store is the app's queryable database (tier 4); this is the same table your app code reads with records.list/get. OPTIMISTIC CONCURRENCY: pass expectedUpdatedAt (the value you got from records_list) and the write is refused with version_conflict if the row changed since. Omit it to create, or to overwrite unconditionally — that is last-write-wins, and it is your choice, not an accident. The row is attributed to 'agent': authorship says WHO wrote, so it is set by the server and never accepted from you. There is no delete verb, deliberately: removing a row cannot be undone, and this platform requires a living human for anything it cannot take back.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The row id, unique within the collection. Writing an existing id REPLACES it. | |
| doc | Yes | The row content as a JSON object. | |
| dropId | Yes | ||
| collection | Yes | The collection name, as your app code reads it. | |
| managementToken | No | ||
| expectedUpdatedAt | No | The updatedAt you read. If the row changed since, the write is refused (version_conflict) instead of silently overwriting. |