Update Collection Path - /rest/collection/updatePath

JSON Payload

JSON FieldsValue
apikeyAPI key accessible in the SearchBlox Admin Console. It is also present in the config.xml file
colnameName of the collection
rooturlsThe 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.
allowpathsallowpath 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)
disallowpathsdisallowpath is the path or list of paths that you do not want the spider to crawl or index
allowformatallowformat 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"
Language
Click Try It! to start a request and see the response here!