Users Ghazal_Taimur and Faizan_Zahid are experiencing issues adding tags to posts via the API endpoint. They have tried using the tags array parameter and setting a minimum tags check in admin settings, but to no avail.
Faizan_Zahid shared their PHP CURL call, which creates the topic but not the tags, while blake suggested the correct syntax might be getting lost due to PHP. blake demonstrated a working CURL command, but noted that including a topic_id might be incorrect.
Ghazal_Taimur eventually found the solution, which is to use the following syntax for tags: "tags" : ["test-tag"]. This worked for them, and they confirmed that including a topic_id has no effect.
But when i pass the tags in same format in the API call, it doesn’t seem to work. it only creates the topic but never creates any tag, even if old tag exists? Any ideas what am i doing wrong? @tshenry@blake