Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tika Wiki" for change 
notification.

The "TikaJAXRS" page has been changed by TimothyAllison:
https://wiki.apache.org/tika/TikaJAXRS?action=diff&rev1=27&rev2=28

  "Content-Encoding","ISO-8859-2"
  "Content-Type","text/plain"
  }}}
+ 
+ Get metadata as JSON:
+ {{{
+ $ curl -T test_recursive_embedded.docx http://localhost:9998/meta --header 
"Accept: application/json"
+ }}}
+ 
+ Or XMP:
+ 
+ {{{
+ $ curl -T test_recursive_embedded.docx http://localhost:9998/meta --header 
"Accept: application/rdf+xml"
+ }}}
+ 
+ 
+ Get specific metadata key's value as simple text string:
+ {{{
+ $ curl -T test_recursive_embedded.docx 
http://localhost:9998/meta/Content-Type --header "Accept: text/plain"
+ }}}
+ 
+ Returns:
+ {{{
+ application/vnd.openxmlformats-officedocument.wordprocessingml.document
+ }}}
+ 
+ 
+ Get specific metadata key's value(s) as CSV:
+ {{{
+ $ curl -T test_recursive_embedded.docx 
http://localhost:9998/meta/Content-Type --header "Accept: text/csv"
+ }}}
+ 
+ Or JSON:
+ {{{
+ $ curl -T test_recursive_embedded.docx 
http://localhost:9998/meta/Content-Type --header "Accept: application/json"
+ }}}
+ 
+ Or XMP:
+ {{{
+ $ curl -T test_recursive_embedded.docx 
http://localhost:9998/meta/Content-Type --header "Accept: application/rdf+xml"
+ }}}
+ 
+ '''Note: when requesting specific metadata keys value(s) in XMP, make sure to 
request the XMP name, e.g. "dc:creator" vs. "Author" '''
+ 
  == Tika Resource ==
  {{{
  /tika

Reply via email to