JSON - Global Search

Introduction.

This JSON returns search results, but does a search in the entire sakai instance.

JSON link.

Use this link to retrieve the JSON service.

/sdata/mgs?search=you&siteId=all&page=1


queryStrings description
search the user defined search term
siteId In what site do we want to search? Use the term "all" to say to the JSON to search entire Sakai
page what page to return
JSON service closer look.
JSON - global search
{"searchString":"you","total":5,"items":[
{"title":"camtools page 2 - all you need to know.png",
"score":"0.1717172","siteId":"e7c74d55-ccec-49f1-b4d3-0220bb4e0525",
"site":"Tool DEV",
"tool":"content",
"url":"/access/content/group/e7c74d55-ccec-49f1-b4d3-0220bb4e0525/camtools%20page%202%20-%20all%20you%20need%20to%20know.png"}],
"status":"succes","totalResults":10}
JSON fields.
field description
searchString contains the user defined search string
total total results in 1 page(defined to 5)
items contains all search result items
item title the title of the search result
item score the search score result
item siteId the siteId
item site the human readable sitename
item tool the tool name
item url URL to the searchresult
status returns failed when their is something wrong(missing querystring etc)
totalResults the total search results, a cross all the pages
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.