<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi ArchivesSpace folks,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
We noticed a problem today in trying to use the "Redirect to resource identified by ARK Name" API call ([:GET] /ark*/:naan/:id) in our newly-upgrade 3.2.0 ArchivesSpace. Any call to it returns "404 Not Found". </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I poked around in the code a bit and found that the 2.8.1 version of the backend > controllers/ark_name.rb routine declares an Endpoint for this call (Endpoint.get("/ark*/:naan/:id")) and then has code to find the entity data: find_entity_data().</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
The 3.2.0 version of the backend > controllers/ark_name.rb no longer has this Endpoint declared, nor does it have code to find the entity data.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Not being a Ruby on RAILS expert, I'd still say that this code would be required for the API call to work. Did it get left out intentionally or is this a mistake?</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Regards,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Alan</div>
<p> </p>
<div style="font-size:11pt;font-family:Century Gothic">
<p><b>Alan Manifold | Library Systems & Digital Preservation Manager | Collection Development & Description
</b><br>
State Library Victoria | 328 Swanston Street | Melbourne VIC 3000<br>
T +61 3 8664 7122 | amanifold@slv.vic.gov.au<br>
<a href="http://slv.vic.gov.au" tabindex="0">slv.vic.gov.au</a></p>
<p><br>
<img alt="slv" src="http://www.slv.vic.gov.au/sites/default/files/email_signature/AOC_esignature.png"></p>
<table>
<tbody>
<tr>
<td colspan="3"><a href="https://www.slv.vic.gov.au/email_campaign" tabindex="0"><img src="https://www.slv.vic.gov.au/sites/default/files/email_signature/signature.jpg?9"></a></td>
<td> </td>
</tr>
</tbody>
</table>
</div>
<p> </p>
This message and any attachment is intended only for the use of the Addressee and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not the intended recipient, you are hereby notified that any dissemination of this communication is strictly
prohibited. If you have received this communication in error, please delete all copies of the message and its attachments and notify the sender immediately. Thank you.
</body>
</html>