{"_id":"5d43c32c3fc3ca0056161cde","project":"56439dfe9eebf70d00490d54","version":{"_id":"5864d2df79ce642d00f0fec7","project":"56439dfe9eebf70d00490d54","__v":16,"createdAt":"2016-12-29T09:09:51.074Z","releaseDate":"2016-12-29T09:09:51.074Z","categories":["5864d2df79ce642d00f0fec8","5864d2df79ce642d00f0fec9","5864d2df79ce642d00f0feca","5864d2df79ce642d00f0fecb","5864d2df79ce642d00f0fecc","5864d2df79ce642d00f0fecd","5864d2df79ce642d00f0fece","5864d2df79ce642d00f0fecf","5864d2df79ce642d00f0fed0","5864d2df79ce642d00f0fed1","5864d2df79ce642d00f0fed2","5864d2df79ce642d00f0fed3","5864d2df79ce642d00f0fed4","5864d2df79ce642d00f0fed5","5864d2df79ce642d00f0fed6","5864d2df79ce642d00f0fed7","5864d2df79ce642d00f0fed8","5864d2df79ce642d00f0fed9","5864d2df79ce642d00f0feda","5864d2df79ce642d00f0fedb","5864d2df79ce642d00f0fedc","5864d2df79ce642d00f0fedd","5864d2df79ce642d00f0fede","598aa64f4b6e990019b7a2d2","599bc76bc03fa2000f83db2a","599bcc3c3c5bf7000f3434fc","5d427dc9fa56fa0011135058","5d429c616863d5003af785a7","5d429e0889418f00c5e95d3f","5d42b5f098b05e003acb08b4","5d43c16985775c00ebeede3b","5d43d15446d584003da91e6d","5d43d61a5bdac50011b6f234","5d43d7c2db365100640dbc58","5d43d954bffa8400ff7efa78","5d43e414cf4f03005944344c","5d43eb42db365100640dbe4a","5d43ee6c78121b0057bc1dbf"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2"},"category":{"_id":"5864d2df79ce642d00f0feda","project":"56439dfe9eebf70d00490d54","__v":0,"version":"5864d2df79ce642d00f0fec7","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-06-22T10:24:58.776Z","from_sync":false,"order":18,"slug":"new-search-api","title":"Search API"},"user":"5d411a29005b9600113731fd","__v":2,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2019-08-02T04:59:24.752Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"method":"get","examples":{"codes":[{"code":"Resource\tSearch\t\ncurl\t-i\t-H\t\"Authorization:\tToken\t\nMjoxNDkxNDg2NjMwNjYyOmFub255bW91czo6YmE5NTZhOTctYWUxNS0xMWU1LWEzMDItZjh\nhOTYzMDY1OTc2\"\t-XGET \t\n'http://54.219.10.80:8080/gooru-search/rest/v2/search/resource?startAt=1&q=cells&length=5&\nflt.contentFormat=resource'\t\n\t\nWebpage\tResource\tSearch\t\ncurl\t-i\t-H\t\"Authorization:\tToken\t\nMjoxNDkxNDg2NjMwNjYyOmFub255bW91czo6YmE5NTZhOTctYWUxNS0xMWU1LWEzMDItZjh\nhOTYzMDY1OTc2\"\t-XGET \t\n'http://beta.gooru.org/gooru-search/rest/v2/search/resource?startAt=1&q=binary&length=5&flt.\ncontentFormat=resource&flt.resourceFormat=webpage'\t\n\t\nQuestion Search\t\ncurl\t-i\t-H\t\"Authorization:\tToken\t\nMjoxNDkxNDg2NjMwNjYyOmFub255bW91czo6YmE5NTZhOTctYWUxNS0xMWU1LWEzMDItZjh\nhOTYzMDY1OTc2\"\t-XGET\t \t\n'http://54.219.10.80:8080/gooru-search/rest/v2/search/resource?startAt=1&q=binary&length=5\n&flt.resourceFormat=question'\t\n\t\nMC\tQuestion\tSearch\t\ncurl\t-i\t-H\t\"Authorization:\tToken\t\nMjoxNDkxNDg2NjMwNjYyOmFub255bW91czo6YmE5NTZhOTctYWUxNS0xMWU1LWEzMDItZjh\nhOTYzMDY1OTc2\"\t-XGET\t \t\n‘\thttp://beta.gooru.org/gooru-search/rest/v2/search/resource?startAt=1&q=binary&length=5&flt.\nresourceFormat=question&flt.questionType=multiple_choice_question'\t\n\t\n\t\t\nCollection\tSearch\t\ncurl\t-i\t-H\t\"Authorization:\tToken\t\nMjoxNDkxNDg2NjMwNjYyOmFub255bW91czo6YmE5NTZhOTctYWUxNS0xMWU1LWEzMDItZjh\nhOTYzMDY1OTc2\"\t-XGET\t \t\n‘\thttp://54.219.10.80:8080/gooru-search/rest/v2/search/scollection?startAt=1&q=cells&length=5\n&flt.collectionType=collection'\t\n\t\nAssessment\tSearch\t\ncurl\t-i\t-H\t\"Authorization:\tToken\t\nMjoxNDkxNDg2NjMwNjYyOmFub255bW91czo6YmE5NTZhOTctYWUxNS0xMWU1LWEzMDItZjh\nhOTYzMDY1OTc2\"\t-XGET\t \t\n‘\thttp://54.219.10.80:8080/gooru-search/rest/v2/search/scollection?startAt=1&q=cells&length=5\n&flt.collectionType=assessment'\t\n\t\n\t","language":"json"}]},"results":{"codes":[]},"settings":"","auth":"required","params":[{"_id":"5d43c32c3fc3ca0056161ce3","ref":"","in":"path","required":true,"desc":"resource,\t scollection","default":"Nil","type":"string","name":"type"},{"_id":"5d43c32c3fc3ca0056161ce2","ref":"","in":"body","required":true,"desc":"","default":"Nil","type":"string","name":"sessionToken"},{"_id":"5d43c32c3fc3ca0056161ce1","ref":"","in":"body","required":true,"desc":"only integer values","default":"0","type":"int","name":"startAt"},{"_id":"5d43c32c3fc3ca0056161ce0","ref":"","in":"body","required":false,"desc":"only integer values","default":"8","type":"int","name":"length"},{"_id":"5d43c32c3fc3ca0056161cdf","ref":"","in":"body","required":true,"desc":"","default":"Nil","type":"string","name":"q"},{"_id":"5d47c511e557e700306b0527","ref":"","in":"query","required":false,"desc":"Filter using taxonomy subjectName      Allowed Values:Gooru subject names math,Science,English language arts, social science  Example:flt.subjectName=science~~math","default":"","type":"string","name":"flt.subjectName"},{"_id":"5d47c511e557e700306b0526","ref":"","in":"query","required":false,"desc":"Filter using taxonomy courseName Allowed values: Gooru taxonomy course names Examples:flt.courseName=Astronomy","default":"","type":"string","name":"flt.courseName"},{"_id":"5d47c511e557e700306b0525","ref":"","in":"query","required":false,"desc":"Filter using creator  firstname or lastName  or  userName or userFullname  Examples:flt.creator=John","default":"","type":"string","name":"flt.creator"},{"_id":"5d47c511e557e700306b0524","ref":"","in":"query","required":false,"desc":"Filter by standards Examples:flt.standard=CCSS. M.6.SP.A","default":"","type":"string","name":"flt.standard"},{"_id":"5d47c511e557e700306b0523","ref":"","in":"query","required":false,"desc":"Filter by standard’s display code Example:flt.standardDisplay=  CA.SCI.5.PS.1g","default":"","type":"string","name":"flt.standardDisplay"},{"_id":"5d47c511e557e700306b0522","ref":"","in":"query","required":false,"desc":"Filter by grade Examples: flt.grade=K-4,12,11","default":"","type":"string","name":"flt.grade"},{"_id":"5d47c511e557e700306b0521","ref":"","in":"query","required":false,"desc":"Filter content  by content\tformat\tAllowed values:resource,question\tExample:flt.contentFormat=resource","default":"","type":"string","name":"flt.contentFormat"},{"_id":"5d47c511e557e700306b0520","ref":"","in":"query","required":false,"desc":"Filter resource by Format Allowed values:video_resource,webpage_resource,interactive_resource,image_resource,text_resource,\taudio_resource,multiple_choice_question,\t\t\t\tmultiple_answer_question,\t \t\t\t\ttrue_false_question,\t \t\t\t\tfill_in_the_blank_question,\t \t\t\t\topen_ended_question,\t \t\t\t\thot_text_reorder_question,hot_text_highlight_question,hot_spot_image_question,hot_spot_text_question,","default":"","type":"string","name":"flt.resourceFormat"},{"_id":"5d47c511e557e700306b051f","ref":"","in":"query","required":false,"desc":"Filter by info.language\tAllowed values:eng,spa,nor,nld Examples:flt.language=eng","default":"","type":"string","name":"flt.language"},{"_id":"5d47c511e557e700306b051e","ref":"","in":"query","required":false,"desc":"Filter by publisher\t Examples:flt.publisher=The  Metropolitan Museum of Art","default":"","type":"string","name":"flt.publisher"},{"_id":"5d47c511e557e700306b051d","ref":"","in":"query","required":false,"desc":"Filter by owner  firstname  or lastName  or  userName  or userFullname Example:flt.owner=Rocky","default":"","type":"string","name":"flt.owner"},{"_id":"5d47c511e557e700306b051c","ref":"","in":"query","required":false,"desc":"Filter by  info.countryCode\t Example:flt.countryCode=US","default":"","type":"string","name":"flt.countryCode"},{"_id":"5d47c511e557e700306b051b","ref":"","in":"query","required":false,"desc":"Filter using taxonomy domainName Examples:flt.domainName=Physical\tSciences","default":"","type":"string","name":"flt.domainName"},{"_id":"5d47c511e557e700306b051a","ref":"","in":"query","required":false,"desc":"Filter using taxonomy  subject classification\t Example:flt.subjectClassification-k_12","default":"","type":"string","name":"flt.subjectClassification"},{"_id":"5d47c511e557e700306b0519","ref":"","in":"query","required":false,"desc":"Filter  by twentyone CenturySkills Example:flt.21CenturySkills= critical\t thinking~~creativity","default":"","type":"string","name":"flt.21CenturySkills"},{"_id":"5d47c511e557e700306b0518","ref":"","in":"query","required":false,"desc":"Filter using  taxonomy subject code \t Example:flt.subject=K12.SC  Allowed values:Gooru \t subject \t codes \t -  K12.MA,  K12.SC,  K12.ELA,\tK12.SS","default":"","type":"string","name":"flt.subject"},{"_id":"5d47c511e557e700306b0517","ref":"","in":"query","required":false,"desc":"Filter  using taxonomy  course code\tExample: flt.course=K12.SC- CH  Allowed vallues:Gooru course codes-K12.SC-CH","default":"","type":"string","name":"flt.course"}],"url":"/:type"},"isReference":false,"order":999,"body":"[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Header Name\",\n    \"h-1\": \"Value\",\n    \"h-2\": \"Description\",\n    \"0-0\": \"Authorization\",\n    \"0-1\": \"Token {KEY}\",\n    \"0-2\": \"Replace\\tthe\\t{KEY}\\twith\\tactual value of\\taccess key\\tobtained from\\tauthentication.\"\n  },\n  \"cols\": 3,\n  \"rows\": 1\n}\n[/block]","excerpt":"","slug":"resourcecollection-search","type":"endpoint","title":"Search Resource/ Question/ Collection/ Assessment"}

getSearch Resource/ Question/ Collection/ Assessment


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

type:
required
stringNil
resource, scollection

Query Params

flt.subjectName:
string
Filter using taxonomy subjectName Allowed Values:Gooru subject names math,Science,English language arts, social science Example:flt.subjectName=science~~math
flt.courseName:
string
Filter using taxonomy courseName Allowed values: Gooru taxonomy course names Examples:flt.courseName=Astronomy
flt.creator:
string
Filter using creator firstname or lastName or userName or userFullname Examples:flt.creator=John
flt.standard:
string
Filter by standards Examples:flt.standard=CCSS. M.6.SP.A
flt.standardDisplay:
string
Filter by standard’s display code Example:flt.standardDisplay= CA.SCI.5.PS.1g
flt.grade:
string
Filter by grade Examples: flt.grade=K-4,12,11
flt.contentFormat:
string
Filter content by content format Allowed values:resource,question Example:flt.contentFormat=resource
flt.resourceFormat:
string
Filter resource by Format Allowed values:video_resource,webpage_resource,interactive_resource,image_resource,text_resource, audio_resource,multiple_choice_question, multiple_answer_question, true_false_question, fill_in_the_blank_question, open_ended_question, hot_text_reorder_question,hot_text_highlight_question,hot_spot_image_question,hot_spot_text_question,
flt.language:
string
Filter by info.language Allowed values:eng,spa,nor,nld Examples:flt.language=eng
flt.publisher:
string
Filter by publisher Examples:flt.publisher=The Metropolitan Museum of Art
flt.owner:
string
Filter by owner firstname or lastName or userName or userFullname Example:flt.owner=Rocky
flt.countryCode:
string
Filter by info.countryCode Example:flt.countryCode=US
flt.domainName:
string
Filter using taxonomy domainName Examples:flt.domainName=Physical Sciences
flt.subjectClassification:
string
Filter using taxonomy subject classification Example:flt.subjectClassification-k_12
flt.21CenturySkills:
string
Filter by twentyone CenturySkills Example:flt.21CenturySkills= critical thinking~~creativity
flt.subject:
string
Filter using taxonomy subject code Example:flt.subject=K12.SC Allowed values:Gooru subject codes - K12.MA, K12.SC, K12.ELA, K12.SS
flt.course:
string
Filter using taxonomy course code Example: flt.course=K12.SC- CH Allowed vallues:Gooru course codes-K12.SC-CH

Body Params

sessionToken:
required
stringNil
startAt:
required
integer0
only integer values
length:
integer8
only integer values
q:
required
stringNil

Examples


Documentation

[block:parameters] { "data": { "h-0": "Header Name", "h-1": "Value", "h-2": "Description", "0-0": "Authorization", "0-1": "Token {KEY}", "0-2": "Replace\tthe\t{KEY}\twith\tactual value of\taccess key\tobtained from\tauthentication." }, "cols": 3, "rows": 1 } [/block]

User Information

Try It Out

get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}