cb52a4da72b3
Search MATLAB Central areas for content matching specified query.
<br/><div>Returns MATLAB Central artifacts that match a specified query. Areas you can search include MATLAB Answers, File Exchange, Blogs, Cody, Discussions, Community Highlights, and Community Contests. All parameters are optional. When no parameters are specified, all results from MATLAB Central are returned.</div><br/><div>The <var>scope</var> parameter lets you restrict the request to specific MATLAB Central areas. The request accepts several other parameters to help narrow your search and create complex queries.</div><br/><div>/v1/search returns one or more of the following artifacts:<ul><li>Question</li><li>File</li><li>Problem</li><li>Blog</li><li>Topic</li></ul></div><p>The value for the scope parameter determines which artifacts are returned.</p>
Query parameters
Enter keywords to search. Separate multiple keywords with space or comma.
A comma-separated list of MATLAB Central areas to search within.
A comma-separated list of tags. MATLAB Central areas that do not support tags are excluded from the result set.
Content that was created before this date and time, specified in Internet date and time format.
Content that was created after this date and time, specified in Internet date and time format.
The page number indicating which page of items to be returned in the result set, specified as a valid positive number.
The number of items to return in the result set, specified as a value between 1 and 50. The default value is 10.
Response
Successful results
Example response
{
"items": [
{
"answer_count": 1,
"artifact_type": "question",
"author": {
"author_id": 123
},
"comment_count": 1,
"created_date": "2022-04-08T19:03:58Z",
"id": 123,
"is_answered": true,
"scope": "matlab-answers",
"updated_date": "2022-04-08T19:03:58Z",
"view_count": 10,
"vote_count": 5
}
],
"total_found": 1000,
"has_more": true
}