Hey,
I’m unable to add content as it gives unrecognized property and bad request. Here is my query:
mutation CreateTableBlock($docId: ID!, $type: DocBlockContentType!, $content: JSON!) {
create_doc_block(
doc_id: $docId,
type: $type,
content: $content
) {
id
}
}
{
"docId": 123456,
"type": "table",
"content": "{\\"column_count\\": 5, \\"row_count\\": 2, \\"deltaFormat\\": :{\\"insert\\":{\\"columns\\":5,\\"rows\\":"{\\"cells\\":"{\\"insert\\":\\"File\\"},{\\"insert\\":\\"Line\\"},{\\"insert\\":\\"Match\\"},{\\"insert\\":\\"Commit By\\"},{\\"insert\\":\\"Open ticket day\\"}]},{\\"cells\\":"{\\"insert\\":\\"path/to/file\\"},{\\"insert\\":\\"100\\"},{\\"insert\\":\\"example match\\"},{\\"insert\\":\\"username\\"},{\\"insert\\":\\"2024-03-05\\"}]}]}}]}"
}
Could you please check what’s wrong here.
Thanks in advance