Hello,
I had a conversation but a bubble support specialist and they told me this:
To add to a subthing array without pulling the records, merging them, and posting back, you should use the ‘Make changes to a thing by ID’ request. This allows you to update selected fields of a record without affecting other fields. When using this request, ensure that the keys match the names of the keys returned via a GET request and that the values are correctly formatted. This method avoids the need to handle the entire array, which is beneficial if the array is over the 200 size limit.
It’s important to note that the PUT HTTP method will overwrite all editable fields on a record, and any field not given a new value will be left empty or reset to the default value they are given in the Data Type editor. Non-editable fields include Unique ID, Created date, and Modified date. Also, make sure that the ‘Modify via API’ setting in the Thing’s Privacy Rule is enabled for this request to work. For more details on how to format your request, you can refer to the documentation on Data API endpoints.
Im trying to leverage this endpoint to append new data to an array, but its just overwriting the entire thing. I need to be able to easily append new items as opposed to having to call for the existing data, modifying the list, then POSTing back. Has anyone been able to find a solution?