GET

/api/v1/favourites

Request Code

Last Update : 2019.07.10
// set request
$request = new \MastodonApi\Favourites\GetRequest();
$request->limit = {limit};

$mastodonApi->favourites->get($request);

Response Data

Last Update : 2019.07.10
Array
(
	[0] => MastodonApi\Entities\Status Object
	(
		[id] => {id}
		[uri] => {uri}
		[url] => {url}
		[account] => MastodonApi\Entities\Account Object
		(
			[id] => {id}
			[username] => {username}
			[acct] => {acct}
			[display_name] => {display_name}
			[locked] => {locked}
			[bot] => {bot}
			[created_at] => {created_at}
			[note] => {note}
			[url] => {url}
			[avatar] => {avatar}
			[avatar_static] => {avatar_static}
			[header] => {header}
			[header_static] => {header_static}
			[followers_count] => {followers_count}
			[following_count] => {following_count}
			[statuses_count] => {statuses_count}
			[source] => {source}
			[emojis] => Array
			(
			)
			[fields] => Array
			(
				[0] => MastodonApi\Entities\AccountField Object
				(
					[name] => {name}
					[value] => {value}
					[verified_at] => {verified_at}
				)
			)
		)
		[in_reply_to_id] => {in_reply_to_id}
		[in_reply_to_account_id] => {in_reply_to_account_id}
		[reblog] => MastodonApi\Entities\Status Object
		(
			[id] => {id}
			[uri] => {uri}
			[url] => {url}
			[account] => MastodonApi\Entities\Account Object
			(
				[id] => {id}
				[username] => {username}
				[acct] => {acct}
				[display_name] => {display_name}
				[locked] => {locked}
				[bot] => {bot}
				[created_at] => {created_at}
				[note] => {note}
				[url] => {url}
				[avatar] => {avatar}
				[avatar_static] => {avatar_static}
				[header] => {header}
				[header_static] => {header_static}
				[followers_count] => {followers_count}
				[following_count] => {following_count}
				[statuses_count] => {statuses_count}
				[source] => {source}
				[emojis] => Array
				(
				)
				[fields] => 
			)
			[in_reply_to_id] => {in_reply_to_id}
			[in_reply_to_account_id] => {in_reply_to_account_id}
			[reblog] => {reblog}
			[content] => {content}
			[created_at] => {created_at}
			[emojis] => {emojis}
			[replies_count] => {replies_count}
			[reblogs_count] => {reblogs_count}
			[favourites_count] => {favourites_count}
			[reblogged] => {reblogged}
			[favourited] => {favourited}
			[muted] => {muted}
			[sensitive] => {sensitive}
			[spoiler_text] => {spoiler_text}
			[visibility] => {visibility}
			[media_attachments] => {media_attachments}
			[mentions] => {mentions}
			[tags] => {tags}
			[card] => {card}
			[poll] => {poll}
			[application] => MastodonApi\Entities\Application Object
			(
				[name] => {name}
				[website] => {website}
			)
			[language] => {language}
			[pinned] => {pinned}
		)
		[content] => {content}
		[created_at] => {created_at}
		[emojis] => {emojis}
		[replies_count] => {replies_count}
		[reblogs_count] => {reblogs_count}
		[favourites_count] => {favourites_count}
		[reblogged] => {reblogged}
		[favourited] => {favourited}
		[muted] => {muted}
		[sensitive] => {sensitive}
		[spoiler_text] => {spoiler_text}
		[visibility] => {visibility}
		[media_attachments] => Array
		(
			[0] => MastodonApi\Entities\Attachment Object
			(
				[id] => {id}
				[type] => {type}
				[url] => {url}
				[remote_url] => {remote_url}
				[preview_url] => {preview_url}
				[text_url] => {text_url}
				[meta] => Array
				(
					[original] => MastodonApi\Entities\AttachmentHash Object
					(
						[width] => {width}
						[height] => {height}
						[size] => {size}
						[aspect] => {aspect}
					)
					[small] => MastodonApi\Entities\AttachmentHash Object
					(
						[width] => {width}
						[height] => {height}
						[size] => {size}
						[aspect] => {aspect}
					)
				)
				[description] => {description}
				[blurhash] => {blurhash}
			)
		)
		[mentions] => Array
		(
			[0] => MastodonApi\Entities\Mention Object
			(
				[url] => {url}
				[username] => {username}
				[acct] => {acct}
				[id] => {id}
			)
		)
		[tags] => Array
		(
			[0] => MastodonApi\Entities\Tags Object
			(
				[name] => {name}
				[url] => {url}
				[history] => {history}
			)
		)
		[card] => 
		[poll] => MastodonApi\Entities\Poll Object
		(
			[id] => {id}
			[expires_at] => {expires_at}
			[expired] => {expired}
			[multiple] => {multiple}
			[votes_count] => {votes_count}
			[options] => Array
			(
				[0] => MastodonApi\Entities\PollOption Object
				(
					[title] => {title}
					[votes_count] => {votes_count}
				)
				[1] => MastodonApi\Entities\PollOption Object
				(
					[title] => {title}
					[votes_count] => {votes_count}
				)
			)
		)
		[application] => MastodonApi\Entities\Application Object
		(
			[name] => {name}
			[website] => {website}
		)
		[language] => {language}
		[pinned] => {pinned}
	)
)

AdSense