If https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/XWikiRESTfulAPI should work with a PUT on https://funky.mos-eisley.dk/rest/wikis/xwiki/spaces/Main/pages/AtlassianHome/tags with XML:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<tags xmlns="http://www.xwiki.org">
<tag name="food"></tag>
</tags>
I cant get it to work.
Browsing and looking around I found [xwiki-users] XWiki RESTful API: TAGS and unicode - but I guess/assume that is the old Xwiki style of REST?
It looks like the page you want to add object to is non terminal and the object needs to be added to
https://funky.mos-eisley.dk/rest/wikis/xwiki/spaces/Main/spaces/atlassian-home/pages/WebHome
instead of
https://funky.mos-eisley.dk/rest/wikis/xwiki/spaces/Main/pages/atlassian-home
So your endpoint is https://funky.mos-eisley.dk/rest/wikis/xwiki/spaces/Main/spaces/atlassian-home/pages/WebHome/objects
I do get 201 created now - but the tag is not visible in the UI:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<object
xmlns="http://www.xwiki.org">
<link href="http://funky.mos-eisley.dk/rest/wikis/xwiki/spaces/Main/spaces/atlassian-home/pages/WebHome/objects/XWiki.TagClass/0" rel="self"/>
<id>xwiki:Main.atlassian-home.WebHome:bcebc248-73da-4bb8-a046-e9875bea080f</id>
<guid>bcebc248-73da-4bb8-a046-e9875bea080f</guid>
<pageId>xwiki:Main.atlassian-home.WebHome</pageId>
<pageVersion>2.1</pageVersion>
<wiki>xwiki</wiki>
<space>Main.atlassian-home</space>
<pageName>WebHome</pageName>
<pageAuthor>XWiki.bnp</pageAuthor>
<className>XWiki.TagClass</className>
<number>0</number>
<headline></headline>
<property name="tags" type="StaticList">
<link href="http://funky.mos-eisley.dk/rest/wikis/xwiki/spaces/Main/spaces/atlassian-home/pages/WebHome/objects/XWiki.TagClass/0/properties/tags" rel="self"/>
<attribute name="name" value="tags"/>
<attribute name="prettyName" value="Tags"/>
<attribute name="unmodifiable" value="0"/>
<attribute name="disabled" value="0"/>
<attribute name="relationalStorage" value="1"/>
<attribute name="displayType" value="input"/>
<attribute name="multiSelect" value="1"/>
<attribute name="size" value="30"/>
<attribute name="separator" value="|"/>
<attribute name="cache" value="0"/>
<attribute name="separators" value="|,"/>
<attribute name="freeText" value="forbidden"/>
<attribute name="largeStorage" value="0"/>
<attribute name="number" value="1"/>
<attribute name="values" value=""/>
<value></value>
</property>
</object>
I can see that the versioning is adding up for each tag "added"
You are using the wrong property name. It is tags and not text in <property name=”tags”>