Select to view content in your preferred language

Adding keywords to geoportal summary rest api

2966
1
02-17-2014 11:56 AM
DavidStajan
Occasional Contributor
Hi Forum,

I'd like to be able to retrieve the descriptive keywords associated with a geoportal record through its rest api. 

Basically when I perform this query http://<server>/geoportal/rest/find/document?searchText=forest, I would like the keywords to be returned along with the title, uid, summary, bbox, etc.

What configurations do I need to change in geoportal to achieve this?

Thanks,

David
0 Kudos
1 Reply
MartenHogeweg
Esri Contributor

try the xjson format: http://gptogc.esri.com/geoportal/rest/find/document?searchText=WMS&f=xjson

this format includes all fields in your index in the respons json structure and also includes a GeoJSON flavor of the footprint.

0 Kudos