I'm relatively new to using the confluence REST API and have been having issues with attributes in my HTML content being dropped when uploaded to the page.
For example, if I uploaded the following
<table id="my_table_1">
<tr>
<th>Company</th>
<th>Contact</th>
<th>Country</th>
</tr>
<tr>
<td>Centro comercial Moctezuma</td>
<td>Francisco Chang</td>
<td>Mexico</td>
</tr>
</table>
The content uploaded to the confluence page (which I get from making another pull from the page) drops the id attribute:
<table border="1">
<tr>
<th>Company</th>
<th>Contact</th>
<th>Country</th>
</tr>
<tr>
<td>Centro comercial Moctezuma</td>
<td>Francisco Chang</td>
<td>Mexico</td>
</tr>
</table>
I know this is because confluence uses their own storage format called 'XHTML' (https://confluence.atlassian.com/doc/confluence-storage-format-790796544.html).
So is there any way to add an ID to an XHTML storage object? Or is there a storage object we can use to ID other storage objects?
Any help is appreciated