EPrints Technical Mailing List Archive
Message: #01469
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: EPrints REST API documentation
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: EPrints REST API documentation
- From: Masud Khokhar <masud.khokhar@gmail.com>
- Date: Tue, 22 Jan 2013 14:38:43 +0000
Hi Tim,
This is fantastic, many thanks for this. I will test this in the next few days.
Best wishes,
Masud
This is fantastic, many thanks for this. I will test this in the next few days.
Best wishes,
Masud
On 22 January 2013 10:01, Tim Brody <tdb2@ecs.soton.ac.uk> wrote:
On Fri, 2013-01-18 at 10:30 +0000, Masud Khokhar wrote:> * A "REST" style interface to objects,
> Hi all,
>
>
> I am trying to find some documentation on the REST API for EPrints and
> so far, the only thing I can find is this.
>
>
> REST
> via /rest/eprint/23/title.txt, for example. This can alsoHi,
> support "PUT" to alter fields!
>
>
> Is there any better documentation out there? I am specifically
> interested in whether I can get all publications from an author via
> the API, something like /rest/author/family_name+first_name ?
What version of EPrints are you running?
There is an experimental REST interface that lives at /rest/. You will
need to give your user the 'rest' role (e.g. in cfg.d/user_roles.pl):
$c->{user_roles}->{admin} = [qw{
rest
general
...
}];
(reload Apache to apply the change)
This is driven by EPrints/Apache/REST.pm. One mention of it here:
http://wiki.eprints.org/w/New_Features_in_EPrints_3.2#REST
Otherwise, I'm working on support CRUD/REST for EPrints URIs:
http://wiki.eprints.org/w/API:EPrints/Apache/CRUD
CRUD is missing the ability to update records - what is normally "POST"
to an existing URI.
--
All the best,
Tim
*** 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/
- References:
- [EP-tech] Re: EPrints REST API documentation
- From: Tim Brody <tdb2@ecs.soton.ac.uk>
- [EP-tech] EPrints REST API documentation
- From: Masud Khokhar <masud.khokhar@gmail.com>
- [EP-tech] Re: EPrints REST API documentation
- Prev by Date: [EP-tech] Re: migrating customised code when upgrading 3.1.0 -> 3.3.10
- Next by Date: [EP-tech] EPrints webserver authentication, skipping authentication?
- Previous by thread: [EP-tech] Re: EPrints REST API documentation
- Next by thread: [EP-tech] migrating customised code when upgrading 3.1.0 -> 3.3.10
- Index(es):