<div dir="ltr">See Noah Huffman's blog post on this topic (<a href="https://blogs.library.duke.edu/bitstreams/2016/09/21/archivesspace-api-fun/">https://blogs.library.duke.edu/bitstreams/2016/09/21/archivesspace-api-fun/</a>) and the associated scripts on github (<a href="https://github.com/duke-libraries/archivesspace-duke-scripts/tree/master/python">https://github.com/duke-libraries/archivesspace-duke-scripts/tree/master/python</a>).<div><br></div><div>Another example of updating a simple field (EAD ID) that I've written can be found at <a href="https://github.com/seth-shaw-unlv/small-stuff/blob/master/as-coll-mint/as_coll_mint.py">https://github.com/seth-shaw-unlv/small-stuff/blob/master/as-coll-mint/as_coll_mint.py</a></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 5, 2017 at 11:11 AM, Suszczynski, Jeffrey <span dir="ltr"><<a href="mailto:jsuszczynski@library.rochester.edu" target="_blank">jsuszczynski@library.rochester.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="m_-360930617223176501WordSection1">
<p class="MsoNormal">Hello, all – <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I’ve been working with the ArchivesSpace API for a while now, and can successfully pull resource records out of a repository, etc.  More recently, though, I’ve been trying to update an existing resource within a repository, and keep receiving
 errors.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Does anyone out there have a working code example of updating a resource in ArchivesSpace, using a local file (preferably PHP, but Python or other languages could be instructive as well)?  I feel like I’m missing something easy and obvious…<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks much in advance!<br>
jeff<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Jeff Suszczynski<u></u><u></u></p>
<p class="MsoNormal">Web Applications Programmer, River Campus Libraries<u></u><u></u></p>
<p class="MsoNormal">University of Rochester<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>

<br>______________________________<wbr>_________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@<wbr>lyralists.lyrasis.org</a><br>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank">http://lyralists.lyrasis.org/<wbr>mailman/listinfo/<wbr>archivesspace_users_group</a><br>
<br></blockquote></div><br></div>