# Seeding a new forum by creating users and content

**URL:** https://meta.discourse.org/t/seeding-a-new-forum-by-creating-users-and-content/49345
**Category:** Support
**Created:** [28.Август.2016 20:29:52 UTC](https://meta.discourse.org/t/seeding-a-new-forum-by-creating-users-and-content/49345 "2016-08-28T20:29:52Z")
**Posts on this page:** 1
**Showing post:** 15

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [19.Апрель.2017 15:36:15 UTC](https://meta.discourse.org/t/seeding-a-new-forum-by-creating-users-and-content/49345/15 "2017-04-19T15:36:15Z")

</div>

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

```plaintext
/t/{id}/change-owner

```

which seems to take two parameters

```plaintext
{
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.

> [@vas](#):
>
> Can you point out the link here?

> [@Reverse engineer the Discourse API](https://meta.discourse.org/t/how-to-reverse-engineer-the-discourse-api/20576):
>
> Discourse is backed by a complete JSON api. Anything you can do on the site you can also do using the JSON api. The API is documented at [docs.discourse.org](https://docs.discourse.org). You can also use the [discourse\_api](https://github.com/discourse/discourse_api) Ruby gem as a client library. However, not every endpoint is documented. To determine how to do something with the JSON API here are some steps you can follow. Example: recategorize a topic. Go to a topic and start editing a category: Open Chrome dev tools, switch to the Network tab, select …

---

_[View the full topic](https://meta.discourse.org/t/seeding-a-new-forum-by-creating-users-and-content/49345)._
