# API endpoint for cloning?

**URL:** <https://pressbooks.community/t/api-endpoint-for-cloning/711>\
**Category:** Developer Questions\
**Created:** [October 1, 2018, 10:12pm UTC](https://pressbooks.community/t/api-endpoint-for-cloning/711 "2018-10-01T22:12:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bessfernandez](https://pressbooks.community/user_avatar/pressbooks.community/bessfernandez/32/548_2.png) [@bessfernandez](https://pressbooks.community/u/bessfernandez)\
**Post date:** [October 1, 2018, 10:12pm UTC](https://pressbooks.community/t/api-endpoint-for-cloning/711/1 "2018-10-01T22:12:33Z")

</div>

Hi there! My name is Bess and I’ve just started getting my head wrapped around PB and what it offers for OER. Nice to see this forum and to meet you all! Hoping to initiate book cloning outside of the cloning WP interface via an API request, and wondering if there is an API endpoint that might support that or is in the works? I am struggling to find API documentation for V2 so thought I would ask here. Thanks all!

- Bess

---

<div class="post-metadata">

**Author:** ![dac.chartrand](https://pressbooks.community/user_avatar/pressbooks.community/dac.chartrand/32/152_2.png) [@dac.chartrand](https://pressbooks.community/u/dac.chartrand)\
**Post date:** [October 1, 2018, 11:26pm UTC](https://pressbooks.community/t/api-endpoint-for-cloning/711/2 "2018-10-01T23:26:33Z")

</div>

I think this recent thread is similar?

> [@Cloning individual book pages](https://pressbooks.community/t/cloning-individual-book-pages/698):
>
> Hi everyone! Apologies in advance if this has been asked already and I just couldn’t find it. I’ve been tasked with so many other projects I’ve had to stop following discourse for a while. I’m curious about the current functionality of Book cloning. Is it at all possible to clone an individual page or pages of a book and not all of its content? From my quick stint at user testing, I’m not seeing that as a feature right now. Thoughts? Bryan PS - looks like I’ll be able to spend a bit more…

---

<div class="post-metadata">

**Author:** ![bryan](https://pressbooks.community/user_avatar/pressbooks.community/bryan/32/46_2.png) [@bryan](https://pressbooks.community/u/bryan)\
**Post date:** [October 2, 2018, 2:31am UTC](https://pressbooks.community/t/api-endpoint-for-cloning/711/3 "2018-10-02T02:31:00Z")

</div>

Good eye @dac.chartrand.

@bessfernandez is a fellow engineer at Lumen Learning and is taking lead on a project we’re working on related to the book cloning stuff I was inquiring about.

Good to see you on here @bessfernandez! 👋

---

<div class="post-metadata">

**Author:** ![PhilBarker](https://pressbooks.community/user_avatar/pressbooks.community/philbarker/32/234_2.png) [@PhilBarker](https://pressbooks.community/u/PhilBarker)\
**Post date:** [October 2, 2018, 11:02am UTC](https://pressbooks.community/t/api-endpoint-for-cloning/711/4 "2018-10-02T11:02:49Z")

</div>

Hello Bess. I had success using the WordPress API to post chapters from a book on WikiSource to Pressbooks. If that’s relevant have a look at [https://blogs.pjjk.net/phil/using-the-wordpress-rest-api-to-post-a-book-from-wikisource-to-pressbooks-with-python/](https://blogs.pjjk.net/phil/using-the-wordpress-rest-api-to-post-a-book-from-wikisource-to-pressbooks-with-python/)

---

<div class="post-metadata">

**Author:** ![bessfernandez](https://pressbooks.community/user_avatar/pressbooks.community/bessfernandez/32/548_2.png) [@bessfernandez](https://pressbooks.community/u/bessfernandez)\
**Post date:** [October 3, 2018, 6:24pm UTC](https://pressbooks.community/t/api-endpoint-for-cloning/711/5 "2018-10-03T18:24:57Z")

</div>

Oh thanks for that example - very helpful!
