table_save (post)

The command is used to add, edit or delete records from a specific table. The body is made up of two arrays. One with the records to be added or modified and the other containing the global identifiers of the records to be deleted.

To add a new record you will have to pass a non-existing guid currently inside the table. In case you want to make a change you will pass the guid of the record itself.



Name of the table to be queried


Name of the database containing the table


User identification token.




"rows": [ { dictionary of record values, must have the GGUID set }, ... ],

"delete": [ array of GGUIDs to be deleted ]


The dictionary to be used within the array rows can be the template record obtainable through the table_info command. It is however possible to pass only the values that you intend to modify or add. The important thing is that the guid key is always present.



The requested table does not exist


You do not have viewing permissions for the requested table