Added endpoint

This commit is contained in:
Michael 2021-11-29 06:09:28 +00:00
parent 0440765849
commit 477b8a91db
3 changed files with 121 additions and 0 deletions

View file

@ -71,6 +71,7 @@ class Seen extends BaseApi
$ret = [DI::twitterStatus()->createFromUriId($item['uri-id'], $item['uid'], $include_entities)->toArray()];
$data = ['status' => $ret];
DI::apiResponse()->exit('statuses', $data, $this->parameters['extension'] ?? null);
return;
}
// the item can't be found, but we set the notification as seen, so we count this as a success
}