Currently, this module consists of XmlObject wrappers for the XML returned by the REST API, to simplify dealing with results.
XmlObject for datastream profile information returned by REST_API.getDatastream().
checksum for current datastream contents
type of checksum
datastream control group (inline XML, Managed, etc)
date the datastream was created
format URI for the datastream, if any
datastream label
datastream mimetype
integer; size of the datastream content
datastream state (A/I/D - Active, Inactive, Deleted)
current datastream version id
boolean; indicates whether or not the datastream is currently being versioned
XmlObject for a ContentModel‘s DS-COMPOSITE-MODEL datastream
Map an XPath expression to a single Python datetime.datetime. Assumes date-time format in use by Fedora, e.g. 2010-05-20T18:42:52.766Z
Map an XPath expression to a list of Python datetime.datetime. Assumes date-time format in use by Fedora, e.g. 2010-05-20T18:42:52.766Z. If the XPath expression evaluates to an empty NodeList, evaluates to an empty list.
XmlObject for a list of pids as returned by REST_API.getNextPID().
XmlObject for a single datastream as returned by REST_API.listDatastreams()
datastream id - @dsid
datastream label - @label
datastream mime type - @mimeType
XmlObject for the list of a single object’s datastreams, as returned by REST_API.listDatastreams()
list of ObjectDatastream
object pid - @pid
XmlObject for object history information returned by REST_API.getObjectHistory().
XmlObject for object method services; included in ObjectMethods for data returned by REST_API.listMethods().
XmlObject for object method information returned by REST_API.listMethods().
XmlObject for object profile information returned by REST_API.getObjectProfile().
date the object was created
object label
date the object was last modified
object owner
object state (A/I/D - Active, Inactive, Deleted)
XmlObject for a repository description as returned by API_A_LITE.describeRepository()
sample access url
administrator emails
base url
repository name
RepositoryDescriptionOAI - configuration info for OAI
sample OAI url
RepositoryDescriptionPid - configuration info for pids
sample search url
version of Fedora being run
XmlObject for OAI section of RepositoryDescription
OAI delimiter
OAI namespace
sample OAI id
XmlObject for PID section of RepositoryDescription
PID delimiter
PID namespace
list of pid namespaces configured to be retained
sample PID