POST

/api/v1/lists

Request Code

Last Update : 2019.07.15
// set request
$request = new \MastodonApi\Lists\PostRequest();
$request->title = '{title}';
$mastodonApi->lists->post($request);

Response Data

Last Update : 2019.07.15
MastodonApi\Entities\Lists Object
(
	[id] => {id}
	[title] => {title}
)

AdSense