post https://127.0.0.1:8443/rest/collection/updatePath
JSON Payload
JSON Fields | Value |
---|---|
apikey | API key accessible in the Dasboard > Collections > License. It is also present in the config.xml file |
colname | Name of the collection |
rooturls | The root URL is the starting URL for the spider. It requests this URL, indexes the content, and follows links from the URL. Make sure the root URL entered has regular HTML HREF links that the spider can follow. |
allowpaths | allowpath limits the spider to stay only within the given path or list of paths. Eg: https://www.searchblox.com/ (Informs the spider to stay only within the searchblox.com site) |
disallowpaths | disallowpath is the path or list of paths that you do not want the spider to crawl or index |
allowformat | allowformat are the file types that are to be indexed. File types other than those specified here will not be indexed File type values that can be specified in JSON request in allowformat field for supported formats "HTML", "text", "ppt", "word", "excel", "jpg", "png", "bmp", "tif", "gif", "wav", "mp3", "mp4", "wp", "midi", "aif", "mpeg", "mpg", "flv", "dwg", "vsd", "numbers", "key", "pages", "epub", "psd", "tiff", "xml", "aiff", "mid", "svg", "odf", "rtf", "pdf" |