Seeding a new forum by creating users and content

It doesn’t seem to be in the API docs, but there is a POST endpoint for

/t/{id}/change-owner

which seems to take two parameters

{
post_ids[]:{post-id-to-change},
username:{user-to-change-ownership-to}
}

(I found that by watching my chrome dev tools while clicking the “change ownership” button on a post)

Maybe you use that to create posts using one user, then change their owner.

3 Likes