GET

/api/v1/accounts/verify_credentials

Request Code

Last Update : 2019.07.06
$mastodonApi->accounts->verifyCredentials();

Response Data

Last Update : 2019.07.06
MastodonApi\Entities\Account Object
(
	[id] => {Account Id}
	[username] => {Account Username}
	[acct] => {Account acct}
	[display_name] => {Account Display Name}
	[locked] => {Account Locked}
	[bot] => {Account Bot}
	[created_at] => {Account Created At ISO 8601}
	[note] => {Account Note}
	[url] => {Account Url}
	[avatar] => {Account Avatar}
	[avatar_static] => {Account Avatar Static}
	[header] => {Account Header}
	[header_static] => {Account Header Static}
	[followers_count] => {Account Followers}
	[following_count] => {Account Following}
	[statuses_count] => {Account Statuses Count}
	[source] => MastodonApi\Entities\Source Object
	(
		[privacy] => {Account Source Privacy}
		[sensitive] => {Account Source Sensitive}
		[language] => {Account Source Language}
		[note] => {Account Source Note}
		[fields] => Array
		(
			[0] => MastodonApi\Entities\AccountField Object
			(
				[name] => {Account Field Name}
				[value] => {Account Field Value}
				[verified_at] => {Account Field Verified At}
			)
		)
	)
	[emojis] => Array
	(
	)
	[fields] => Array
	(
		[0] => MastodonApi\Entities\AccountField Object
		(
			[name] => {Account Field Name}
			[value] => {Account Field Value}
			[verified_at] => {Account Field Verified At}
		)
	)
)
id string
username string
acct string
display_name string
locked bool
bot bool
created_at string (ISO 8601)
note string
url string
avatar string
avatar_static string
header string
header_static string
followers_count int
following_count int
statuses_count int
source MastodonApi\Entities\AccountSource
emojis array
fields array

AdSense