This page last changed on Aug 23, 2007 by amitku.

Get Document MetaData

Development URL: http://monk.lis.uiuc.edu:7070/monk/services/CollectionManger.getDocumentMetaData?chunkIds=chunk1,chunk2,chunk3&type=all

Status: Speculative, Subjected to change

Parameters

name value required
chunkIds comma tokenized chunkId yes
type all,author,title,subject,raw yes

XML Message

type="raw" will return the teiHeader of the document

<metadata type="raw">
<chunk id="chunk1">
<teiHeader>
....
</teiHeader>
</chunk>
...
</metadata>

type="author,title" will return only those elements from the chunk

<metadata type="author,title">
<chunk id="chunk1">
<author>...</author>
<author>...</author>
<title></title>

</chunk>
...
</metadata>

type="all" will return the standardized cross collection values

<metadata type="all">
<chunk id="chunk1">
<author>...</author>
<title></title>
<keywords></keywords>
<subject></subject>
</chunk>
...
</metadata>

Error Message

<error> Parameter: type is invalid </error>
or

<error> Parameter: chunkIds are null </error>
Document generated by Confluence on Apr 19, 2009 15:04