Infowarning |
---|
This is non-official and currently INNACURATE. It 's my own attempt at documenting is an attempt to document Fedora's REST API in a resource-oriented (vs method-oriented) way. |
Table of Contents |
---|
Resource: objects
The collection of objects stored in the repository.
GET
Without parameters
Presents a simple HTML search form for finding objects in the repository.
With "terms" or "query" parameter
Starts a search.
With "sessionToken" parameter
Gets the next page of search results.
Resource: objects/{pid}
An object in the repository.
GET
Without parameters
Provides an HTML representation of the object.
With parameters
|
Objects
/fedora/objects
GET - Lists objects in the repository
Panel | ||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
URL Parameters
ResponseHTTP Status Code: 200 ExamplesShow search form. Start a search. Get next page of results. |
POST - Adds an object
/fedora/objects/{pid}
GET - Gets information about an object
PUT - Creates or updates an object
DELETE - Removes an object
Datastreams
/fedora/objects/{pid}/datastreams
GET - Lists datastreams in an object
/fedora/objects/{pid}/datastreams/{dsId}
GET - Gets information about a datastream
PUT - Creates or updates a datastream
DELETE - Removes a datastream
/fedora/objects/{pid}/datastreams/{dsId}/content
GET - Gets the content of a datastream
Methods
/fedora/objects/{pid}/methods
GET - Lists all invokable methods on an object
/fedora/objects/{pid}/methods/{sDef}
GET - Lists all invokable methods on an object, filtered by Service Definition
/fedora/objects/{pid}/methods/{sDef}/{method}
GET - Invokes a GET method on an object
...