yuuvis® Q&A

0 votes
in yuuvis Momentum by (2.4k points)

Hi Yuuvis Team

Is there a way to PATCH an objects table so that only a single row is replaced (by some key matching), deleted or added without know the content of the other rows?

In one use case I would like to update metadata and a tag in a single request. Is this possible somehow?
In another I would simply like to add an entry to a table, no matter what has been added in the past.

Kind regards
Nicole

1 Answer

0 votes
by (440 points)
selected by
 
Best answer
Hi Nicole,

no, in updates you can only replace the whole old table by a whole new table.

And tags are similar. On a normal metadata update you can only replace the whole set of tags by a new set of tags like this:
{
    "objects": [
        {
            "properties": {
                "system:tags": {
                    "value": [["tag1",222],["tag1",222]]
                },
                "name": {
                    "value": "tagtest"
                }
            }
        }
    ]
}

Perhaps there will be other ways in future.

Kind Regards
nils
...