<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">If you want to move all the records in a repository to another repository, you can. But if you have a subset of records to transfer you need to hit the endpoint for each transfer. You can see how this works in the unit test for the controller:<div class=""><br class=""></div><div class=""><a href="https://github.com/archivesspace/archivesspace/blob/4c26d82b1b0e343b7e1aea86a11913dcf6ff5b6f/backend/spec/controller_repo_transfers_spec.rb" class="">https://github.com/archivesspace/archivesspace/blob/4c26d82b1b0e343b7e1aea86a11913dcf6ff5b6f/backend/spec/controller_repo_transfers_spec.rb</a></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Feb 2, 2016, at 6:29 PM, Jason Loeffler <<a href="mailto:j@minorscience.com" class="">j@minorscience.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><div class="">Got it. Thanks, Brian. Away from my desk but would it take wildcard or an 'all' parameter or would I have to iterate over a sequence in order to move all records?<br class=""><br class=""><div class="acompli_signature"></div><br class=""></div><br class=""><br class=""><br class="">
<div class="gmail_quote">On Tue, Feb 2, 2016 at 3:15 PM -0800, "Brian Hoffman" <span dir="ltr" class=""><<a href="mailto:brianjhoffman@gmail.com" target="_blank" class="">brianjhoffman@gmail.com</a>></span> wrote:<br class="">
<br class="">

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="3D"ltr"" class="">
<meta http-equiv="Content-Type" content="text/html charset=us-ascii" class="">You should be able to just append it like a normal query param. So for instance to transfer accession 1 from repo 1 to repo 2:<div class=""><br class=""></div><div class="">POST <a href="http://yourhost.yourdomain/repositories/1/accessions/1/transfer?target_repo=/repositories/2" class="">http://yourhost.yourdomain/repositories/1/accessions/1/transfer?target_repo=/repositories/2</a></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Feb 2, 2016, at 5:37 PM, Jason Loeffler <<a href="mailto:j@minorscience.com" class="">j@minorscience.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">I have a large volume of d.o. that I'd like to transfer to another repo. The only sane way to accomplish this appears to be via the API but I'm having a hard time understanding the correct POST method pattern for accomplishing this. Looking at the <a href="http://bit.ly/1SWxkoz" class="">repository transfer controller</a>, how is the <span style="color:rgb(24,54,145);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.8px;white-space:pre" class="">target_repo </span>sent in the request? Can someone send an example? </div><div class=""><br class=""></div><div class="">Many thanks, JL</div><div class=""><br class=""></div><div class=""><br class=""></div><br clear="all" class=""><div class=""><div class="gmail_signature"><div dir="ltr" class=""><div class=""><div class=""><font size="2" face="garamond, serif" style="background-color:rgb(255,255,255)" color="#666666" class="">Jason Loeffler</font></div><div class=""><font color="#666666" face="garamond, serif" class="">Technology Consultant</font></div><div class=""><font size="2" face="garamond, serif" style="background-color:rgb(255,255,255)" color="#666666" class="">Minor Science | Application Development & Metadata Strategy</font></div><div class=""><font size="2" face="garamond, serif" style="background-color:rgb(255,255,255)" color="#666666" class="">Brooklyn, New York</font></div></div><div class=""><br class=""></div></div></div></div>
</div>
_______________________________________________<br class="">Archivesspace_Users_Group mailing list<br class=""><a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" class="">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br class=""><a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" class="">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br class=""></div></blockquote></div><br class=""></div>
</div>

</blockquote>
</div>
</div>_______________________________________________<br class="">Archivesspace_Users_Group mailing list<br class=""><a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" class="">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br class="">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group<br class=""></div></blockquote></div><br class=""></div></body></html>