Re: [Archivesspace_Users_Group] Question Regarding the REST API batch_imports Operation

2020-05-07 Thread Mayo, Dave
I did a lot of this back in the day, but it’s been a while – IIRC You post an array of objects matching the JSONModel schema in ArchivesSpace. If you’re referencing existing objects in the system, you use the existing URI in refs, if you’re creating an object, you give it an arbitrary URI

[Archivesspace_Users_Group] Take a break with ArchivesSpace on Fridays

2020-05-07 Thread Jessica Crouch
Dear ArchivesSpace Users, We’ll be hosting another casual open call via zoom at 12pm ET tomorrow. With no set agenda or presentation for these calls, this forum is an opportunity to connect, chat and recharge. Use this as a time to get help or talk about ArchivesSpace (or anything else) in

Re: [Archivesspace_Users_Group] Question Regarding the REST API batch_imports Operation

2020-05-07 Thread Andrew Morrison
If you want to load EAD via the backend API you can use the /jobs_with_files/ endpoint. You send that both JSON (to specify what job to run and give it the necessary parameters) and the EAD for the job to process. Here is an example a cURL command to start a job to import an EAD file in the

Re: [Archivesspace_Users_Group] ArchivesSpace Background Job Failing

2020-05-07 Thread Majewski, Steven Dennis (sdm7g)
You might try downloading EAD directly from the backend API and verify that it is working: /repositories/${REPO}/resource_descriptions/${ID}.xml — Steve. > On May 7, 2020, at 8:29 AM, Boggio, Jerry wrote: > > Hello ArchivesSpace Users! > > Based on a suggestion from Steven Majewski

Re: [Archivesspace_Users_Group] Question Regarding the REST API batch_imports Operation

2020-05-07 Thread Majewski, Steven Dennis (sdm7g)
(In the backend:) EADConverter takes an EAD file (.xml) and produces a JSON file on resources: archival_objects, a parent resource record and possibly global subjects and agents. I’m not sure if there is a backend API call to do just this initial step, but you can run it from pry/irb with

Re: [Archivesspace_Users_Group] Question Regarding the REST API batch_imports Operation

2020-05-07 Thread James R Griffin III
I am terribly sorry, I have now found that the payload is a JSON serialization of an array of resource objects: https://github.com/archivesspace/archivesspace/blob/master/backend/spec/controller_batch_import_spec.rb#L41 Would one then model the payload as one of these arrays of JSON objects,

Re: [Archivesspace_Users_Group] Creating new agent type for university offices?

2020-05-07 Thread Kottman, Miloche
Jordan, Instead of changing the agent type, you could add a new value to your Controlled Value List: Name Source (name_source) list. For example you can have a value of "university_corporate_body" or just university. --Miloche ** Miloche Kottman Head of

[Archivesspace_Users_Group] Question Regarding the REST API batch_imports Operation

2020-05-07 Thread James R Griffin III
Hello Everyone, I have recently been reviewing the documentation for the REST API, and was looking to explore the possible usage of https://archivesspace.github.io/archivesspace/api/#import-a-batch-of-records Please forgive for my ignorance, but does the body of the POST request contain a

Re: [Archivesspace_Users_Group] Request for Assistance with Troubleshooting EAC-CPF Exports for Agent Persons

2020-05-07 Thread James R Griffin III
Dear Christine and Mark, Apologies for the delay in my response, and thank you both very much for clarifying this! I did not mean to impose with any of this as a bug report, and create any additional labor given that much of this work is already being considered for future sprints. I will

Re: [Archivesspace_Users_Group] ArchivesSpace Background Job Failing

2020-05-07 Thread Blake Carver
Sounds like it could be your proxy timing out? Is the timeout on F5/Apache/nginx or whatever you're using set to 2 minutes? From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Boggio, Jerry Sent: Thursday, May 7, 2020 8:29 AM To:

Re: [Archivesspace_Users_Group] ArchivesSpace Background Job Failing

2020-05-07 Thread Boggio, Jerry
Hello ArchivesSpace Users! Based on a suggestion from Steven Majewski of the University of Virginia, we made the following change in archivesspace.sh startup script to allocate more memory - ASPACE_JAVA_XMX="-Xmx2048m". That solved the issue of generating a PDF file (Export > Generate PDF),