GET

/api/v2/search

Request Code

Last Update : 2019.07.16
// set request
$request = new \MastodonApi\Search\GetRequest();
$request->q = '{q}';
$request->resolve = '{resolve}';
$request->limit = {limit};
$request->offset = {offset};
$request->following = '{following}';
$mastodonApi->search->get($request);

Response Data

Last Update : 2019.07.16
MastodonApi\Entities\Results Object
(
	[accounts] => Array
	(
		[0] => MastodonApi\Entities\Account Object
		(
		)
	)
	[statuses] => Array
	(
		[0] => MastodonApi\Entities\Status Object
		(
		)
	)
	[hashtags] => Array
	(
		[0] => MastodonApi\Entities\Tags Object
		(
		)
	)
)

AdSense