[RSS Feed/News] Adding Tags to Existing Threads

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Using the API, what is the correct punctuation for adding tags to an existing thread?
The example:
xenforo.com

REST API endpoints (2.2)

This document assumes you have already created an API key and setup the necessary headers for your request. Learn more about using the API.
xenforo.com
xenforo.com
Does not show an example of how the tag array should be formed or expected

Currently, I have:
request1.AddParameter("add_tags", "[tag1,tag2,tag3]")

Does this need to be:
request1.AddParameter("add_tags", "[{tag1},{tag2},{tag3}]")
or
request1.AddParameter("add_tags", "[{'tag1'},{'tag2'},{'tag3'}]")

Please advise...

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom