EPrints Technical Mailing List Archive

Message: #01742


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: SWORD2 endpoint


David and Nikki are putting you on the right track. FYI sword-app/deposit/inbox is from EPrints 3.2 and earlier, which used SWORD v1. Version 3.3 onwards uses SWORD v2, which is completely different. Like David said in another thread, you need to get hold of the service document, which specifies the correct URL to use to for each "collection" (see the <collection> tag). If you look at the HTML source of the front page of your EPrints repository, you'll see a couple of link tags in the header for the service document as well as the endpoint. Reading the SWORD specification is kinda dry, but it actually does a good job of explaining how everything works:

http://swordapp.github.com/SWORDv2-Profile/SWORDProfile.html#protocoloperations_retreivingservicedocument

FWIW I just added another curl example on the CRUD wiki page, showing how to upload a PDF to an existing eprint.

tommy


From: Nikki Gill <kng1g10@ecs.soton.ac.uk<mailto:kng1g10@ecs.soton.ac.uk>>
Reply-To: "eprints-tech@ecs.soton.ac.uk<mailto:eprints-tech@ecs.soton.ac.uk>" <eprints-tech@ecs.soton.ac.uk<mailto:eprints-tech@ecs.soton.ac.uk>>
Date: Friday, March 15, 2013 8:37 AM
To: "<eprints-tech@ecs.soton.ac.uk<mailto:eprints-tech@ecs.soton.ac.uk>>" <eprints-tech@ecs.soton.ac.uk<mailto:eprints-tech@ecs.soton.ac.uk>>
Subject: [EP-tech] Re: SWORD2 endpoint

Have you tried id/contents?

Nikki

On 15 Mar 2013, at 10:59, David Kane <DKANE@wit.ie<mailto:DKANE@wit.ie>> wrote:

Not sure what that is.

You might get an idea from the EPrints Apache::CRUD.pm documentation.

http://wiki.eprints.org/w/API:EPrints/Apache/CRUD

David.
________________________________
From:eprints-tech-bounces@ecs.soton.ac.uk<mailto:eprints-tech-bounces@ecs.soton.ac.uk> [eprints-tech-bounces@ecs.soton.ac.uk<mailto:eprints-tech-bounces@ecs.soton.ac.uk>] on behalf of Harry Newton [hnewton@lincoln.ac.uk<mailto:hnewton@lincoln.ac.uk>]
Sent: 15 March 2013 10:44
To: eprints-tech@ecs.soton.ac.uk<mailto:eprints-tech@ecs.soton.ac.uk>
Subject: [EP-tech] SWORD2 endpoint

Does anyone know what the endpoint is for ePrints 3.3? I get a 404 for sword-app/deposit/inbox

Thanks

Harry Newton
Web Developer
Orbital Project • CERD

Telephone: 01522 837680
Email: hnewton@lincoln.ac.uk<mailto:nijackson@lincoln.ac.uk>
University of Lincoln<http://www.lincoln.ac.uk/>
Brayford Pool
Lincoln LN6 7TS


The University of Lincoln - a top performer in student satisfaction, enjoying an unrivalled ascent through the University league tables, set in a dynamic, research rich and vibrant campus in the heart of a great historic student-friendly city.

The information in this e-mail and any attachments may be confidential. If you have received this email in error please notify the sender immediately and remove it from your system. Do not disclose the contents to another person or take copies.

Email is not secure and may contain viruses. The University of Lincoln makes every effort to ensure email is sent without viruses, but cannot guarantee this and recommends recipients take appropriate precautions.

The University may monitor email traffic data and content in accordance with its policies and English law. Further information can be found at: http://www.lincoln.ac.uk/legal.
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/