<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div><br></div>Hi Joshua and all,<div><br></div><div>The public version of as_history probably won’t work outside of the QSA context - very heavily customized AS.</div><div><br></div><div>We do have a generalized version that works on vanilla AS, but it isn’t open.</div><div><br></div><div>Feel free to get in touch if you’re interested in trying it out. It gives full version tracking with diffs etc through the staff UI.</div><div><br></div><div><br></div><div>Cheers,</div><div>James</div><div><br></div><div><div><br><blockquote type="cite"><div>On May 3, 2023, at 3:30 AM, Dan Michelson <dmichelson@smith.edu> wrote:</div><br class="Apple-interchange-newline"><div><div dir="ltr"><div>Hi All,</div><div><br></div><div>Something related to this issue that I learned today from Brian Hoffman is that whenever ArchivesSpace saves a top-level record, all the subrecords are actually deleted and recreated.  This means that it is not possible to reliably track when notes or other subrecords are created or modified.</div><div><br></div><div>All the best,</div><div><br></div><div>Dan<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 2, 2023 at 12:12 PM Joshua D. Shaw <<a href="mailto:Joshua.D.Shaw@dartmouth.edu">Joshua.D.Shaw@dartmouth.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg8147699696668514059">




<div dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
There is an extensive set of changes for the Queensland State Archives that includes functionality like this. I have not used or tested this, so not sure how customized it is to QSA's needs, but it was developed by Hudson Molonglo, so it should be good stuff!
<a href="https://gitlab.gaiaresources.com.au/qsa/as_history" id="m_-848509400727842525LPlnk901795" target="_blank">
https://gitlab.gaiaresources.com.au/qsa/as_history</a> It may or may not work with the latest version of AS.<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
Best,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
Joshua<br>
</div>
<div id="m_-848509400727842525appendonsend"></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_-848509400727842525divRplyFwdMsg" dir="ltr"><font style="font-size: 11pt;" face="Calibri, sans-serif"><b>From:</b> <a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_group-bounces@lyralists.lyrasis.org</a> <<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_group-bounces@lyralists.lyrasis.org</a>> on behalf of Corey
 Schmidt <<a href="mailto:Corey.Schmidt@uga.edu" target="_blank">Corey.Schmidt@uga.edu</a>><br>
<b>Sent:</b> Tuesday, May 2, 2023 11:44 AM<br>
<b>To:</b> Archivesspace Users Group <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org" target="_blank">archivesspace_users_group@lyralists.lyrasis.org</a>><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] Audit changes (through API)</font>
<div> </div>
</div>
<div lang="EN-US">
<div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="">Hey Scott,<br>
<br>
>From my understanding, you are correct that besides a last modified timestamp, that’s as deep as ASpace goes in tracking changes to data. We’ve had colleagues here express similar interest in wanting to track more detailed changes to records, such as when an
 archivist publishes a record or edits a note, but that functionality doesn’t exist as far as I’m aware.<br>
<br>
If your local practice is to track changes to records using events, then it’s possible the user could access the “<a href="https://archivesspace.github.io/archivesspace/api/?python#get-a-list-of-events-for-a-repository" target="_blank">Get
 a list of Events for a Repository</a>” API endpoint (if they are a user in your ArchivesSpace instance) and filter the results based on records related to a specific resource. That requires your ArchivesSpace users to be using events in that way to work.<br>
<br>
The only other methods that I can think of is possibly using something like the <a href="https://archive.org/web/" target="_blank">
WayBack Machine</a> or a web scraper like <a href="https://beautiful-soup-4.readthedocs.io/en/latest/" target="_blank">
BeautifulSoup</a> with Python to track changes to any public facing websites you have. WayBack would only be good for occasional captures and BeautifulSoup would need to scrape your public-facing website for any updates/newly published records. I did something
 like that in grad school, but it was with a blog website and not finding aids.</span></div><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:"Calibri",sans-serif">
<span style=""> </span></p><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="">I hope this was helpful. Anyone here, please correct me if I’m wrong or forgetting anything.<br>
<br>
Sincerely,<br>
<br>
Corey</span></div><p style="margin:0in 0in 12pt;font-size:11pt;font-family:"Calibri",sans-serif">
<b><span style="font-size: 9pt; font-family: Georgia, serif;">Corey Schmidt</span></b><span style="font-size: 9pt; font-family: Georgia, serif;">
<br>
Special Collections Libraries | <i>Project Management Librarian/Archivist</i> </span>
</p><p style="margin:0in 0in 12pt;font-size:11pt;font-family:"Calibri",sans-serif">
<span style="font-size: 9pt; font-family: Georgia, serif;"><a href="mailto:Corey.Schmidt@uga.edu" target="_blank"><span style="color:blue">Corey.Schmidt@uga.edu</span></a>
</span></p><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:"Calibri",sans-serif">
<span style=""> </span></p>
<div>
<div style="border-color:rgb(225,225,225) currentcolor currentcolor;border-style:solid none none;border-width:1pt medium medium;padding:3pt 0in 0in"><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<b>From:</b> <a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_group-bounces@lyralists.lyrasis.org</a> <<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_group-bounces@lyralists.lyrasis.org</a>>
<b>On Behalf Of </b>Scott Renton<br>
<b>Sent:</b> Friday, April 28, 2023 5:55 AM<br>
<b>To:</b> <a href="mailto:archivesspace_users_group@lyralists.lyrasis.org" target="_blank">archivesspace_users_group@lyralists.lyrasis.org</a><br>
<b>Subject:</b> [Archivesspace_Users_Group] Audit changes (through API)</div>
</div>
</div><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:"Calibri",sans-serif">
 </p><p style="margin:0in 0in 12pt;font-size:11pt;font-family:"Calibri",sans-serif">
<span style="color:rgb(186,12,47)">[EXTERNAL SENDER - PROCEED CAUTIOUSLY]</span></p>
<div>
<div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="font-size: 12pt;">Hi there folks</span></div>
</div>
<div><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:"Calibri",sans-serif">
<span style="font-size: 12pt;"> </span></p>
</div>
<div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="font-size: 12pt;">We've had a user request to see if we can extract lists of records that have changed and what the change is (eg list of records that have changed from unpublished to publish- part of their work is working through
 an unpublished repository and tracking how much they're making available periodically). They'd like to be able to build something round the API for this.</span></div>
</div>
<div><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:"Calibri",sans-serif">
<span style="font-size: 12pt;"> </span></p>
</div>
<div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="font-size: 12pt;">I didn't think AS went down to that level- we'd see a last modified timestamp, but I didn't think there was anything deeper. Is that correct? I know "event" is accessible through the API, but I still couldn't see
 how that would get down to a specific data change.</span></div>
</div>
<div><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:"Calibri",sans-serif">
<span style="font-size: 12pt;"> </span></p>
</div>
<div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="font-size: 12pt;">Cheers</span></div>
</div>
<div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="font-size: 12pt;">Scott</span></div>
</div>
<div>
<div><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:"Calibri",sans-serif">
<span style="font-size: 12pt;"> </span></p>
</div>
<div id="m_-848509400727842525x_Signature">
<div>
<div id="m_-848509400727842525x_divtagdefaultwrapper"><div><span style="font-size: 12pt;"> </span><br class="webkit-block-placeholder"></div><p><span style="font-size: 12pt;">==========</span></p><p><span style="font-size: 12pt;">Scott Renton</span></p><p><span style="font-size: 12pt;">Digital Library Development & Systems</span></p><p><span style="font-size: 12pt;">Floor F East</span></p><p><span style="font-size: 12pt;">Argyle House</span></p><p><span style="font-size: 12pt;">515219</span></p>
</div>
</div>
</div>
</div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. Is e buidheann carthannais a th’ ann an Oilthigh Dhùn Èideann, clàraichte an Alba, àireamh clàraidh SC005336.
</div>
</div>
</div>
</div>
<div id="m_-848509400727842525appendonsend"></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_-848509400727842525divRplyFwdMsg" dir="ltr"><font style="font-size: 11pt;" face="Calibri, sans-serif"><b>From:</b> <a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_group-bounces@lyralists.lyrasis.org</a> <<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_group-bounces@lyralists.lyrasis.org</a>> on behalf of Corey
 Schmidt <<a href="mailto:Corey.Schmidt@uga.edu" target="_blank">Corey.Schmidt@uga.edu</a>><br>
<b>Sent:</b> Tuesday, May 2, 2023 11:44 AM<br>
<b>To:</b> Archivesspace Users Group <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org" target="_blank">archivesspace_users_group@lyralists.lyrasis.org</a>><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] Audit changes (through API)</font>
<div> </div>
</div>
<div lang="EN-US">
<div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="">Hey Scott,<br>
<br>
>From my understanding, you are correct that besides a last modified timestamp, that’s as deep as ASpace goes in tracking changes to data. We’ve had colleagues here express similar interest in wanting to track more detailed changes to records, such as when an
 archivist publishes a record or edits a note, but that functionality doesn’t exist as far as I’m aware.<br>
<br>
If your local practice is to track changes to records using events, then it’s possible the user could access the “<a href="https://archivesspace.github.io/archivesspace/api/?python#get-a-list-of-events-for-a-repository" target="_blank">Get
 a list of Events for a Repository</a>” API endpoint (if they are a user in your ArchivesSpace instance) and filter the results based on records related to a specific resource. That requires your ArchivesSpace users to be using events in that way to work.<br>
<br>
The only other methods that I can think of is possibly using something like the <a href="https://archive.org/web/" target="_blank">
WayBack Machine</a> or a web scraper like <a href="https://beautiful-soup-4.readthedocs.io/en/latest/" target="_blank">
BeautifulSoup</a> with Python to track changes to any public facing websites you have. WayBack would only be good for occasional captures and BeautifulSoup would need to scrape your public-facing website for any updates/newly published records. I did something
 like that in grad school, but it was with a blog website and not finding aids.</span></div><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:"Calibri",sans-serif">
<span style=""> </span></p><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="">I hope this was helpful. Anyone here, please correct me if I’m wrong or forgetting anything.<br>
<br>
Sincerely,<br>
<br>
Corey</span></div><p style="margin:0in 0in 12pt;font-size:11pt;font-family:"Calibri",sans-serif">
<b><span style="font-size: 9pt; font-family: Georgia, serif;">Corey Schmidt</span></b><span style="font-size: 9pt; font-family: Georgia, serif;">
<br>
Special Collections Libraries | <i>Project Management Librarian/Archivist</i> </span>
</p><p style="margin:0in 0in 12pt;font-size:11pt;font-family:"Calibri",sans-serif">
<span style="font-size: 9pt; font-family: Georgia, serif;"><a href="mailto:Corey.Schmidt@uga.edu" target="_blank"><span style="color:blue">Corey.Schmidt@uga.edu</span></a>
</span></p><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:"Calibri",sans-serif">
<span style=""> </span></p>
<div>
<div style="border-color:rgb(225,225,225) currentcolor currentcolor;border-style:solid none none;border-width:1pt medium medium;padding:3pt 0in 0in"><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<b>From:</b> <a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_group-bounces@lyralists.lyrasis.org</a> <<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_group-bounces@lyralists.lyrasis.org</a>>
<b>On Behalf Of </b>Scott Renton<br>
<b>Sent:</b> Friday, April 28, 2023 5:55 AM<br>
<b>To:</b> <a href="mailto:archivesspace_users_group@lyralists.lyrasis.org" target="_blank">archivesspace_users_group@lyralists.lyrasis.org</a><br>
<b>Subject:</b> [Archivesspace_Users_Group] Audit changes (through API)</div>
</div>
</div><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:"Calibri",sans-serif">
 </p><p style="margin:0in 0in 12pt;font-size:11pt;font-family:"Calibri",sans-serif">
<span style="color:rgb(186,12,47)">[EXTERNAL SENDER - PROCEED CAUTIOUSLY]</span></p>
<div>
<div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="font-size: 12pt;">Hi there folks</span></div>
</div>
<div><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:"Calibri",sans-serif">
<span style="font-size: 12pt;"> </span></p>
</div>
<div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="font-size: 12pt;">We've had a user request to see if we can extract lists of records that have changed and what the change is (eg list of records that have changed from unpublished to publish- part of their work is working through
 an unpublished repository and tracking how much they're making available periodically). They'd like to be able to build something round the API for this.</span></div>
</div>
<div><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:"Calibri",sans-serif">
<span style="font-size: 12pt;"> </span></p>
</div>
<div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="font-size: 12pt;">I didn't think AS went down to that level- we'd see a last modified timestamp, but I didn't think there was anything deeper. Is that correct? I know "event" is accessible through the API, but I still couldn't see
 how that would get down to a specific data change.</span></div>
</div>
<div><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:"Calibri",sans-serif">
<span style="font-size: 12pt;"> </span></p>
</div>
<div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="font-size: 12pt;">Cheers</span></div>
</div>
<div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<span style="font-size: 12pt;">Scott</span></div>
</div>
<div>
<div><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:"Calibri",sans-serif">
<span style="font-size: 12pt;"> </span></p>
</div>
<div id="m_-848509400727842525x_Signature">
<div>
<div id="m_-848509400727842525x_divtagdefaultwrapper"><div><span style="font-size: 12pt;"> </span><br class="webkit-block-placeholder"></div><p><span style="font-size: 12pt;">==========</span></p><p><span style="font-size: 12pt;">Scott Renton</span></p><p><span style="font-size: 12pt;">Digital Library Development & Systems</span></p><p><span style="font-size: 12pt;">Floor F East</span></p><p><span style="font-size: 12pt;">Argyle House</span></p><p><span style="font-size: 12pt;">515219</span></p>
</div>
</div>
</div>
</div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. Is e buidheann carthannais a th’ ann an Oilthigh Dhùn Èideann, clàraichte an Alba, àireamh clàraidh SC005336.
</div>
</div>
</div>
</div>
</div>

_______________________________________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br>
</div></blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Dan Michelson</div><div>Collections Archivist<br></div><div>Smith College Special Collections</div><div><br></div><div><span><span style="font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">For current library access and services details, see </span><a href="https://libraries.smith.edu/library-services-during-covid-19" target="_blank"><span style="font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap">Library Services During COVID-19</span></a><span style="font-family: Arial; background-color: transparent; vertical-align: baseline; white-space: pre-wrap;">.</span></span></div></div></div></div></div></div></div></div></div></div></div>
_______________________________________________<br>Archivesspace_Users_Group mailing list<br>Archivesspace_Users_Group@lyralists.lyrasis.org<br>http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group<br></div></blockquote></div><br></div></body></html>