Hi,

When I use the REST API listDatastreams() method I am only getting back the ID, 
MIMETYPE, and LABEL attributes.  Is there anyway to form the request or change 
a configuration to get back the other attributes?  I would like to get back 
CREATED and SIZE as well as the optional ALT_IDS and FORMAT_URI attributes in 
datastreamVersion element.

I am using the standard syntax:

http://127.0.0.1:8080/fedora/listDatastreams/namespace:1234/datastreams?format=xml

Sample response:

<objectDatastreams xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://www.fedora.info/definitions/1/0/access/ 
http://127.0.0.1:8080/listDatastreams.xsd"; pid="namespace:1234" 
baseURL="http://127.0.0.1:8080/fedora/";>
   <datastream dsid="DC" label="Default Dublin Core Record" 
mimeType="text/xml"/>
   <datastream dsid="PDF-1" label="PDF file" mimeType="application/pdf"/>
   <datastream dsid="RELS-INT" label="Datastream to preserve METS DMDID/ADMID 
relationships" mimeType="text/xml"/>
</objectDatastreams>

Currently running Fedora 3.2.

Thanks!
--
Chad Mills
Digital Library Architect
Ph: 848.932.5924
Fax: 848.932.1386
Cell: 732.309.8538

Rutgers University Libraries
Scholarly Communication Center
Room 409D, Alexander Library
169 College Avenue, New Brunswick, NJ 08901

http://rucore.libraries.rutgers.edu/

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to