XF 2.2 How can update content a threads throught API

I wanna update thread content (message) but not see this param is REST API Document threads/{id}, I try use message params but not working? Why XF don't support this case I see can update message of post (posts/{id})

Screen Shot 2021-10-24 at 21.34.58.webp
 
Thread entities do not have a message in and of themselves. The POST threads/[id]/ endpoint is similar to the "Edit thread" overlay. Instead, you can query the thread via GET threads/[id]/ with the with_first_post parameter, and then use the POST posts/[id]/ endpoint.
 
Thread entities do not have a message in and of themselves. The POST threads/[id]/ endpoint is similar to the "Edit thread" overlay. Instead, you can query the thread via GET threads/[id]/ with the with_first_post parameter, and then use the POST posts/[id]/ endpoint.
Thank support, it working with first_post_id response via GET threads/[id]/ and use in POST posts/[first_post_id]/ endpoint.
 
Top Bottom