JSON - File-Finder
Introduction.
This JSON returns all files that contained the user defined search string.(note: that the search tool also search in the context of certain files).
JSON link.
Use this link to retrieve the JSON service.
/sdata/mff?search=searchstring
JSON service closer look.
MyFileFinder JSON
{"searchString":"m","total":1,"items":[{"title":"FCKeditor_2.5.1.tar.gz","score":"0.3654883","url":"/access/content/group/e7c74d55-ccec-49f1-b4d3-0220bb4e0525/Exegesis%20Tool%20Resources/FCKeditor_2.5.1.tar.gz","reference":"/content/group/e7c74d55-ccec-49f1-b4d3-0220bb4e0525/Exegesis Tool Resources/FCKeditor_2.5.1.tar.gz"}],"status":"succes"}
JSON fields.
field |
description |
---|---|
searchString |
contains the user defined searchString |
total |
total results found |
items |
contains the search result items |
item title |
contains the title of the file |
item score |
contains the search score |
item url |
URL to the file |
item reference |
contains the reference |
status |
was the search a success |
If the search didn't return any results you will get this JSON back
MyFileFinder JSON
{"total":0,"items":[]}