nottrobin
(Robin Winslow)
18 فبراير 2019، 12:40م
1
I’m trying to change the ownership of posts through the API, but can’t work out how to do it.
I tried using PUT to /posts/{id}.json
with setting post[username]
and post[user_id]
, but neither of those seemed to work.
Anyone know how to do this?
pfaffman
(Jay Pfaffman)
18 فبراير 2019، 12:42م
2
إعجاب واحد (1)
nottrobin
(Robin Winslow)
18 فبراير 2019، 2:02م
3
No I’ve not done that yet. I know how to do it, but I don’t have time just this second. I’ll post here if I get around to it and discover the answer =)
إعجاب واحد (1)
Do a post request to the URL /t/[TOPIC_ID]/change-owner.json
with the form data post_ids[]
and username
.
5 إعجابات
system
(system)
تم إغلاقه في
13 نوفمبر 2023، 1:06م
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.