# .json endpoint to receive array of arbitrary posts with a single request

**URL:** <https://meta.discourse.org/t/json-endpoint-to-receive-array-of-arbitrary-posts-with-a-single-request/272127>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [July 19, 2023, 1:59pm UTC](https://meta.discourse.org/t/json-endpoint-to-receive-array-of-arbitrary-posts-with-a-single-request/272127 "2023-07-19T13:59:18Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [July 19, 2023, 7:57pm UTC](https://meta.discourse.org/t/json-endpoint-to-receive-array-of-arbitrary-posts-with-a-single-request/272127/5 "2023-07-19T19:57:21Z")

</div>

> [@pipkin](#):
>
> Building a proof-of-concept of a Discourse-powered shared-bookmarking system.

I’d do that in a plugin so you could create your own endpoint that returned `/bookmarks/user/USERNAME` or whatever you want.

Or even easier might be to just add to some serializer the bookmarks you want.

---

_[View the full topic](https://meta.discourse.org/t/json-endpoint-to-receive-array-of-arbitrary-posts-with-a-single-request/272127)._
