post

/api/v1/apps

Request Code

Last Update : 2019.07.05
// set apps request
$appsRequest = new \MastodonApi\Apps\AppsRequest();
$appsRequest->client_name = '{Your Client Name}';
$appsRequest->website = '{Your Website}';

// get apps response
$response = $mastodonApi->apps->apps($appsRequest);

Response Data

Last Update : 2019.07.05
MastodonApi\Apps\AppsResponse Object
(
	[id] => {id}
	[name] => {Your Client Name}
	[website] => {Your Website}
	[redirect_uri] => {Your Redirect Uris}
	[client_id] => {Your Apps Client Id}
	[client_secret] => {Your Apps Client Secret}
	[vapid_key] => {Your Apps Vapid Key}
)
id string
name string
website string
redirect_uri string
client_id string (43)
client_secret string (43)
vapid_key string (88)

AdSense