nottrobin
(Robin Winslow)
2019 年 2 月 18 日午後 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)
2019 年 2 月 18 日午後 12:42
2
「いいね!」 1
nottrobin
(Robin Winslow)
2019 年 2 月 18 日午後 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)
クローズされました:
2023 年 11 月 13 日午後 1:06
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.